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 : 2199060 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 (2618781) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2618781) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857573 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2618781'] with mtr_portfolio_ids : ['20857573'] and first list_photo_ids : [] new path : /proc/2199060/ Name: python3 Umask: 0002 State: R (running) Tgid: 2199060 Ngid: 0 Pid: 2199060 PPid: 2199059 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2199060 NSpid: 2199060 NSpgid: 2197749 NSsid: 2197749 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98044 kB VmRSS: 98044 kB RssAnon: 59756 kB RssFile: 38288 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 528 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: 42 nonvoluntary_ctxt_switches: 129 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2199060', 'Ngid': '0', 'Pid': '2199060', 'PPid': '2199059', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2199060', 'NSpid': '2199060', 'NSpgid': '2197749', 'NSsid': '2197749', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98044 kB', 'VmRSS': '98044 kB', 'RssAnon': '59756 kB', 'RssFile': '38288 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '528 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': '42', 'nonvoluntary_ctxt_switches': '129'} ('datou_batch_current', '2199060', '1106848', '0', '1106848', '865596', '98044', b'', 'marlene', '2618781') 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 (20857573) 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 (2618781 ) ) 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 (20857573) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339805846, 'portfolio_id': 20857573}, {'photo_id': 1339805607, 'portfolio_id': 20857573}, {'photo_id': 1339805603, 'portfolio_id': 20857573}, {'photo_id': 1339805599, 'portfolio_id': 20857573}, {'photo_id': 1339805568, 'portfolio_id': 20857573}, {'photo_id': 1339805562, 'portfolio_id': 20857573}, {'photo_id': 1339805247, 'portfolio_id': 20857573}, {'photo_id': 1339805239, 'portfolio_id': 20857573}, {'photo_id': 1339805227, 'portfolio_id': 20857573}, {'photo_id': 1339805100, 'portfolio_id': 20857573}, {'photo_id': 1339805087, 'portfolio_id': 20857573}, {'photo_id': 1339804840, 'portfolio_id': 20857573}, {'photo_id': 1339804718, 'portfolio_id': 20857573}, {'photo_id': 1339804687, 'portfolio_id': 20857573}, {'photo_id': 1339804682, 'portfolio_id': 20857573}, {'photo_id': 1339804677, 'portfolio_id': 20857573}, {'photo_id': 1339804561, 'portfolio_id': 20857573}, {'photo_id': 1339803745, 'portfolio_id': 20857573}, {'photo_id': 1339803741, 'portfolio_id': 20857573}, {'photo_id': 1339803699, 'portfolio_id': 20857573}, {'photo_id': 1339803695, 'portfolio_id': 20857573}, {'photo_id': 1339803656, 'portfolio_id': 20857573}, {'photo_id': 1339803654, 'portfolio_id': 20857573}, {'photo_id': 1339803651, 'portfolio_id': 20857573}, {'photo_id': 1339803648, 'portfolio_id': 20857573}, {'photo_id': 1339803645, 'portfolio_id': 20857573}, {'photo_id': 1339803529, 'portfolio_id': 20857573}, {'photo_id': 1339803490, 'portfolio_id': 20857573}, {'photo_id': 1339803402, 'portfolio_id': 20857573}, {'photo_id': 1339803395, 'portfolio_id': 20857573}, {'photo_id': 1339803391, 'portfolio_id': 20857573}, {'photo_id': 1339803353, 'portfolio_id': 20857573}, {'photo_id': 1339803348, 'portfolio_id': 20857573}, {'photo_id': 1339803322, 'portfolio_id': 20857573}, {'photo_id': 1339803317, 'portfolio_id': 20857573}, {'photo_id': 1339803311, 'portfolio_id': 20857573}, {'photo_id': 1339803285, 'portfolio_id': 20857573}, {'photo_id': 1339803279, 'portfolio_id': 20857573}] map_portfolio_id_photo_id: {20857573: [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279]} ##### 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.8546545505523682 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Feb 27 06:08:32 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 (20857573) 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 : 20857573 get user id for portfolio 20857573 get sub ptf for main ptf 20857573, type 3726 and hashtags ['metal', 'Carton_brun', 'Teint_Dans_La_Masse', 'plastique', 'mal_croppe', 'flou', 'kraft', 'papier', 'cartonnette', 'Carton_gris', 'environnement', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20857573 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','Teint_Dans_La_Masse','plastique','mal_croppe','flou','kraft','papier','cartonnette','Carton_gris','environnement','autre_refus')) 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`=20857573 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','Teint_Dans_La_Masse','plastique','mal_croppe','flou','kraft','papier','cartonnette','Carton_gris','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20857573, 'sub_port_id': 20857577, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489874, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'metal': {'main_port_id': 20857573, 'sub_port_id': 20857578, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489875, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'plastique': {'main_port_id': 20857573, 'sub_port_id': 20857579, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489876, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'autre_refus': {'main_port_id': 20857573, 'sub_port_id': 20857580, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489877, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 20857573, 'sub_port_id': 20857581, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489878, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'mal_croppe': {'main_port_id': 20857573, 'sub_port_id': 20857582, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489879, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'papier': {'main_port_id': 20857573, 'sub_port_id': 20857583, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489880, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'flou': {'main_port_id': 20857573, 'sub_port_id': 20857584, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489881, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'Carton_brun': {'main_port_id': 20857573, 'sub_port_id': 20857585, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489882, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'Carton_gris': {'main_port_id': 20857573, 'sub_port_id': 20857586, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489883, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'kraft': {'main_port_id': 20857573, 'sub_port_id': 20857587, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489884, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}, 'cartonnette': {'main_port_id': 20857573, 'sub_port_id': 20857588, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489885, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857577 , 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=20857573 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 (20857577) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857578 , 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=20857573 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 (20857578) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857579 , 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=20857573 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 (20857579) result : ((1339803549,), (1339803550,), (1339803551,), (1339803673,), (1339803712,), (1339803732,), (1339803733,), (1339805088,), (1339805089,), (1339805090,), (1339805091,), (1339805092,), (1339805093,), (1339805264,), (1339805275,), (1339805644,), (1339805645,), (1339805646,), (1339805672,), (1339805673,), (1339805674,), (1339805675,), (1339805676,), (1339805677,), (1339805911,), (1339806013,), (1339806014,), (1339806042,), (1339806043,), (1339806072,), (1339806073,), (1339806074,), (1339806075,), (1339806076,), (1339806077,), (1339812102,), (1339812103,), (1339812104,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857580 , 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=20857573 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 (20857580) result : ((1339803544,), (1339803545,), (1339803670,), (1339803703,), (1339804721,), (1339804722,), (1339804723,), (1339804725,), (1339805257,), (1339805258,), (1339805633,), (1339805634,), (1339805655,), (1339805656,), (1339805657,), (1339805872,), (1339806009,), (1339806039,), (1339806047,), (1339806048,), (1339806049,), (1339812095,), (1339812096,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857581 , 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=20857573 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 (20857581) result : ((1339803541,), (1339803542,), (1339804716,), (1339805273,), (1339805631,), (1339805654,), (1339805862,), (1339806006,), (1339806007,), (1339806044,), (1339812092,), (1339812093,), (1339812094,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857582 , 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=20857573 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 (20857582) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857583 , 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=20857573 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 (20857583) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857584 , 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=20857573 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 (20857584) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857585 , 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=20857573 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 (20857585) result : ((1339803520,), (1339803521,), (1339803706,), (1339804945,), (1339804947,), (1339804949,), (1339804951,), (1339804953,), (1339804956,), (1339804958,), (1339804960,), (1339804962,), (1339805262,), (1339805263,), (1339805640,), (1339805641,), (1339805642,), (1339805670,), (1339805671,), (1339806040,), (1339806041,), (1339806068,), (1339806069,), (1339812021,), (1339812100,), (1339812101,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857586 , 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=20857573 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 (20857586) result : ((1339803515,), (1339803516,), (1339803517,), (1339803518,), (1339803548,), (1339803671,), (1339803730,), (1339803731,), (1339804755,), (1339804757,), (1339805259,), (1339805260,), (1339805612,), (1339805613,), (1339805658,), (1339805659,), (1339805660,), (1339805661,), (1339805662,), (1339805663,), (1339805664,), (1339805665,), (1339806010,), (1339806053,), (1339806054,), (1339806055,), (1339806056,), (1339806057,), (1339806058,), (1339806059,), (1339806060,), (1339812015,), (1339812016,), (1339812098,), (1339812099,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857587 , 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=20857573 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 (20857587) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20857588 , 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=20857573 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 (20857588) result : ((1339805261,), (1339805274,), (1339805637,), (1339805666,), (1339805667,), (1339805668,), (1339805669,), (1339806063,), (1339806064,), (1339806065,), (1339806066,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20857573) result : ((1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,)) 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 (1339805100) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20857573 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','Teint_Dans_La_Masse','plastique','mal_croppe','flou','kraft','papier','cartonnette','Carton_gris','environnement','autre_refus')) 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`=20857573 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_brun','Teint_Dans_La_Masse','plastique','mal_croppe','flou','kraft','papier','cartonnette','Carton_gris','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 20857573, 'sub_port_id': 20857589, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489886, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'metal': {'main_port_id': 20857573, 'sub_port_id': 20857590, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489887, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'plastique': {'main_port_id': 20857573, 'sub_port_id': 20857591, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489888, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'autre_refus': {'main_port_id': 20857573, 'sub_port_id': 20857592, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489889, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20857573, 'sub_port_id': 20857593, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489890, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'mal_croppe': {'main_port_id': 20857573, 'sub_port_id': 20857594, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489891, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'papier': {'main_port_id': 20857573, 'sub_port_id': 20857595, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489892, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'flou': {'main_port_id': 20857573, 'sub_port_id': 20857596, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489893, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'Carton_brun': {'main_port_id': 20857573, 'sub_port_id': 20857597, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489894, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'Carton_gris': {'main_port_id': 20857573, 'sub_port_id': 20857598, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489895, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'kraft': {'main_port_id': 20857573, 'sub_port_id': 20857599, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489896, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 36, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}, 'cartonnette': {'main_port_id': 20857573, 'sub_port_id': 20857600, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13489897, 'last_updated_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 22, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 22, 36, 57)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857589,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857577 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857590,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857578 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857591,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857579 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857592,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857580 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857593,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857581 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857594,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857582 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857595,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857583 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857596,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857584 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857597,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857585 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857598,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857586 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857599,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857587 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20857600,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20857588 lien utilise dans velours : https://www.fotonower.com/velours/20857589,20857590,20857591,20857592,20857593,20857594,20857595,20857596,20857597,20857598,20857599,20857600?tags=environnement,metal,plastique,autre_refus,Teint_Dans_La_Masse,mal_croppe,papier,flou,Carton_brun,Carton_gris,kraft,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20857573]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] map_info['map_portfolio_photo'] : {20857573: [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279]} final : False mtd_id 4302 list_pids : [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] Looping around the photos to save general results len do output : 1 /20857573. 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, '2618781') ('4302', '20857573', '1339805846', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805607', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805603', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805599', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805568', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805562', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805247', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805239', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805227', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805100', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805087', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804840', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804718', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804687', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804682', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804677', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804561', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803745', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803741', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803699', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803695', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803656', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803654', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803651', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803648', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803645', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803529', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803490', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803402', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803395', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803391', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803353', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803348', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803322', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803317', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803311', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803285', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803279', None, None, None, None, None, '2618781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '20857573', "{'environnement': 20857577, 'metal': 20857578, 'plastique': 20857579, 'autre_refus': 20857580, 'Teint_Dans_La_Masse': 20857581, 'mal_croppe': 20857582, 'papier': 20857583, 'flou': 20857584, 'Carton_brun': 20857585, 'Carton_gris': 20857586, 'kraft': 20857587, 'cartonnette': 20857588}", None, None, None, None, '2618781'), ('4302', '20857573', '1339805846', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805607', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805603', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805599', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805568', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805562', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805247', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805239', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805227', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805100', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805087', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804840', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804718', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804687', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804682', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804677', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804561', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803745', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803741', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803699', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803695', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803656', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803654', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803651', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803648', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803645', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803529', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803490', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803402', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803395', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803391', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803353', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803348', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803322', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803317', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803311', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803285', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803279', None, None, None, None, None, '2618781')] time used for this insertion : 0.018605947494506836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7720825672149658 time spend to save output : 0.01906585693359375 total time spend for step 1 : 1.7911484241485596 step2:final Thu Feb 27 06:08:34 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 (20857573) 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 20857573 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339803285,1339803279,1339803322,1339803317,1339803311,1339803353,1339803348,1339803402,1339803395,1339803391,1339803490,1339803529,1339803656,1339803654,1339803651,1339803648,1339803645,1339803699,1339803695,1339803745,1339803741,1339804687,1339804682,1339804677,1339804561,1339805100,1339805087,1339804840,1339804718,1339805247,1339805239,1339805227,1339805568,1339805562,1339805607,1339805603,1339805599,1339805846); 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([20857573]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} new output for save of step final : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] map_info['map_portfolio_photo'] : {20857573: [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279]} final : False mtd_id 4302 list_pids : [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] Looping around the photos to save general results len do output : 38 /1339805846.Didn't retrieve data . /1339805607.Didn't retrieve data . /1339805603.Didn't retrieve data . /1339805599.Didn't retrieve data . /1339805568.Didn't retrieve data . /1339805562.Didn't retrieve data . /1339805247.Didn't retrieve data . /1339805239.Didn't retrieve data . /1339805227.Didn't retrieve data . /1339805100.Didn't retrieve data . /1339805087.Didn't retrieve data . /1339804840.Didn't retrieve data . /1339804718.Didn't retrieve data . /1339804687.Didn't retrieve data . /1339804682.Didn't retrieve data . /1339804677.Didn't retrieve data . /1339804561.Didn't retrieve data . /1339803745.Didn't retrieve data . /1339803741.Didn't retrieve data . /1339803699.Didn't retrieve data . /1339803695.Didn't retrieve data . /1339803656.Didn't retrieve data . /1339803654.Didn't retrieve data . /1339803651.Didn't retrieve data . /1339803648.Didn't retrieve data . /1339803645.Didn't retrieve data . /1339803529.Didn't retrieve data . /1339803490.Didn't retrieve data . /1339803402.Didn't retrieve data . /1339803395.Didn't retrieve data . /1339803391.Didn't retrieve data . /1339803353.Didn't retrieve data . /1339803348.Didn't retrieve data . /1339803322.Didn't retrieve data . /1339803317.Didn't retrieve data . /1339803311.Didn't retrieve data . /1339803285.Didn't retrieve data . /1339803279.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, '2618781') ('4302', '20857573', '1339805846', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805607', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805603', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805599', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805568', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805562', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805247', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805239', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805227', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805100', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805087', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804840', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804718', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804687', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804682', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804677', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804561', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803745', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803741', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803699', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803695', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803656', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803654', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803651', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803648', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803645', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803529', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803490', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803402', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803395', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803391', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803353', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803348', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803322', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803317', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803311', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803285', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803279', None, None, None, None, None, '2618781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '20857573', '1339805846', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805607', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805603', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805599', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805568', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805562', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805247', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805239', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805227', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805100', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339805087', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339804840', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339804718', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339804687', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339804682', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339804677', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339804561', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803745', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803741', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803699', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803695', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803656', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803654', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803651', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803648', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803645', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803529', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803490', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803402', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803395', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803391', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803353', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803348', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803322', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803317', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803311', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803285', '0.12380455678315229', None, None, None, None, '2618781'), ('4302', '20857573', '1339803279', '0.12380455678315229', None, None, None, None, '2618781')] time used for this insertion : 0.020532608032226562 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.303842782974243 time spend to save output : 0.022159814834594727 total time spend for step 2 : 2.326002597808838 step3:velours_tree Thu Feb 27 06:08:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20857573: [{'environnement': 20857577, 'metal': 20857578, 'plastique': 20857579, 'autre_refus': 20857580, 'Teint_Dans_La_Masse': 20857581, 'mal_croppe': 20857582, 'papier': 20857583, 'flou': 20857584, 'Carton_brun': 20857585, 'Carton_gris': 20857586, 'kraft': 20857587, 'cartonnette': 20857588}]} input_args_next_step : {20857573: ()} output_args : {20857573: [{'environnement': 20857577, 'metal': 20857578, 'plastique': 20857579, 'autre_refus': 20857580, 'Teint_Dans_La_Masse': 20857581, 'mal_croppe': 20857582, 'papier': 20857583, 'flou': 20857584, 'Carton_brun': 20857585, 'Carton_gris': 20857586, 'kraft': 20857587, 'cartonnette': 20857588}]} args : 20857573 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 20857577, 'metal': 20857578, 'plastique': 20857579, 'autre_refus': 20857580, 'Teint_Dans_La_Masse': 20857581, 'mal_croppe': 20857582, 'papier': 20857583, 'flou': 20857584, 'Carton_brun': 20857585, 'Carton_gris': 20857586, 'kraft': 20857587, 'cartonnette': 20857588},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20857573) 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([20857573]) 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.31448936462402344 time spend to save output : 5.793571472167969e-05 total time spend for step 3 : 0.3145473003387451 step4:send_mail_cod Thu Feb 27 06:08:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} input_args_next_step : {1339805846: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805846 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805607 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805603 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805599 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805568 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805562 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805247 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805239 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805227 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805100 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339805087 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339804840 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339804718 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339804687 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339804682 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339804677 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339804561 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803745 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803741 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803699 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803695 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803656 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803654 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803651 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803648 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803645 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803529 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803490 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803402 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803395 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803391 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803353 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803348 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803322 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803317 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803311 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803285 depend.output_id : 0 input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ()} output_args : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',)} args : 1339803279 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 : {20857573: [{'environnement': 20857577, 'metal': 20857578, 'plastique': 20857579, 'autre_refus': 20857580, 'Teint_Dans_La_Masse': 20857581, 'mal_croppe': 20857582, 'papier': 20857583, 'flou': 20857584, 'Carton_brun': 20857585, 'Carton_gris': 20857586, 'kraft': 20857587, 'cartonnette': 20857588}]} input_args_next_step : {1339805846: ('0.12380455678315229',), 1339805607: ('0.12380455678315229',), 1339805603: ('0.12380455678315229',), 1339805599: ('0.12380455678315229',), 1339805568: ('0.12380455678315229',), 1339805562: ('0.12380455678315229',), 1339805247: ('0.12380455678315229',), 1339805239: ('0.12380455678315229',), 1339805227: ('0.12380455678315229',), 1339805100: ('0.12380455678315229',), 1339805087: ('0.12380455678315229',), 1339804840: ('0.12380455678315229',), 1339804718: ('0.12380455678315229',), 1339804687: ('0.12380455678315229',), 1339804682: ('0.12380455678315229',), 1339804677: ('0.12380455678315229',), 1339804561: ('0.12380455678315229',), 1339803745: ('0.12380455678315229',), 1339803741: ('0.12380455678315229',), 1339803699: ('0.12380455678315229',), 1339803695: ('0.12380455678315229',), 1339803656: ('0.12380455678315229',), 1339803654: ('0.12380455678315229',), 1339803651: ('0.12380455678315229',), 1339803648: ('0.12380455678315229',), 1339803645: ('0.12380455678315229',), 1339803529: ('0.12380455678315229',), 1339803490: ('0.12380455678315229',), 1339803402: ('0.12380455678315229',), 1339803395: ('0.12380455678315229',), 1339803391: ('0.12380455678315229',), 1339803353: ('0.12380455678315229',), 1339803348: ('0.12380455678315229',), 1339803322: ('0.12380455678315229',), 1339803317: ('0.12380455678315229',), 1339803311: ('0.12380455678315229',), 1339803285: ('0.12380455678315229',), 1339803279: ('0.12380455678315229',), 20857573: ()} output_args : {20857573: [{'environnement': 20857577, 'metal': 20857578, 'plastique': 20857579, 'autre_refus': 20857580, 'Teint_Dans_La_Masse': 20857581, 'mal_croppe': 20857582, 'papier': 20857583, 'flou': 20857584, 'Carton_brun': 20857585, 'Carton_gris': 20857586, 'kraft': 20857587, 'cartonnette': 20857588}]} args : 20857573 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 :39, first value : ('0.12380455678315229',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20857573) 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 (1339805846,1339805607,1339805603,1339805599,1339805568,1339805562,1339805247,1339805239,1339805227,1339805100,1339805087,1339804840,1339804718,1339804687,1339804682,1339804677,1339804561,1339803745,1339803741,1339803699,1339803695,1339803656,1339803654,1339803651,1339803648,1339803645,1339803529,1339803490,1339803402,1339803395,1339803391,1339803353,1339803348,1339803322,1339803317,1339803311,1339803285,1339803279) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339803279 begin to download photo : 1339803395 begin to download photo : 1339803656 begin to download photo : 1339804687 begin to download photo : 1339805562 download finish for photo 1339803279 begin to download photo : 1339803285 download finish for photo 1339804687 begin to download photo : 1339804718 download finish for photo 1339803395 begin to download photo : 1339803402 download finish for photo 1339805562 begin to download photo : 1339805568 download finish for photo 1339803656 begin to download photo : 1339803695 download finish for photo 1339805568 begin to download photo : 1339805599 download finish for photo 1339803402 begin to download photo : 1339803490 download finish for photo 1339803285 begin to download photo : 1339803311 download finish for photo 1339804718 begin to download photo : 1339804840 download finish for photo 1339803695 begin to download photo : 1339803699 download finish for photo 1339803490 begin to download photo : 1339803529 download finish for photo 1339805599 begin to download photo : 1339805603 download finish for photo 1339804840 begin to download photo : 1339805087 download finish for photo 1339805603 begin to download photo : 1339805607 download finish for photo 1339803699 begin to download photo : 1339803741 download finish for photo 1339805087 begin to download photo : 1339805100 download finish for photo 1339803311 begin to download photo : 1339803317 download finish for photo 1339803529 begin to download photo : 1339803645 download finish for photo 1339803741 begin to download photo : 1339803745 download finish for photo 1339805100 begin to download photo : 1339805227 download finish for photo 1339803645 begin to download photo : 1339803648 download finish for photo 1339805607 begin to download photo : 1339805846 download finish for photo 1339803317 begin to download photo : 1339803322 download finish for photo 1339803745 begin to download photo : 1339804561 download finish for photo 1339805227 begin to download photo : 1339805239 download finish for photo 1339803648 begin to download photo : 1339803651 download finish for photo 1339805846 download finish for photo 1339803322 begin to download photo : 1339803348 download finish for photo 1339804561 begin to download photo : 1339804677 download finish for photo 1339805239 begin to download photo : 1339805247 download finish for photo 1339803348 begin to download photo : 1339803353 download finish for photo 1339803651 begin to download photo : 1339803654 download finish for photo 1339805247 download finish for photo 1339804677 begin to download photo : 1339804682 download finish for photo 1339803353 begin to download photo : 1339803391 download finish for photo 1339803654 download finish for photo 1339803391 download finish for photo 1339804682 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette208575781740632918/ length of list_filenames : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P20857573_27-02-2025_06_08_38.pdf 20857578 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=20857578 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208575781740632918 20857579 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=20857579 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339806072: '1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990976_0.png', 1339805674: '1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990985_0.png', 1339805675: '1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991615_0.png', 1339805676: '1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991630_0.png', 1339805677: '1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991627_0.png', 1339805911: '1740606374_133927_1339805562_e9d4d178830797243e20c8b1b7ce1d39_rle_crop_3687992713_0.png', 1339806013: '1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992890_0.png', 1339806014: '1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992898_0.png', 1339806042: '1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990863_0.png', 1339806043: '1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990867_0.png', 1339805673: '1740606293_132732_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990978_0.png', 1339806073: '1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990978_0.png', 1339806074: '1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990985_0.png', 1339806075: '1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991615_0.png', 1339806076: '1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991630_0.png', 1339806077: '1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991627_0.png', 1339812102: '1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044799_0.png', 1339812103: '1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992890_0.png', 1339812104: '1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992898_0.png', 1339805091: '1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988555_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fa78926df7349ea98c179bd2a24443e3_90087472.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/32fbbff3e437d30ed17cc70313d4b8c8_14918222.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/bc738d37b1dac679bae461be10911003_97509864.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7dcfb4264117fd25f7fd368f61a621e1_1078348.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ce2561a2e57ed1e8ab519191902aba72_70139735.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c9d7a5a8553848e3843fac545aa8e88a_72933206.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/910f39aada049b40135c91bdb93aeda6_53359890.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/29868a2d2606f6000d5ec3e8e3c06938_48559405.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/085cd5aca6c5b33cecf6e8109c91706b_51531380.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ec93f8bf6125c9b8ca215213796521ac_6580967.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f743b0fc94ae6f4ac9e20982145b0b28_17546393.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f743b0fc94ae6f4ac9e20982145b0b28_45525158.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/32fbbff3e437d30ed17cc70313d4b8c8_22616257.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/bc738d37b1dac679bae461be10911003_84700124.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7dcfb4264117fd25f7fd368f61a621e1_85276068.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ce2561a2e57ed1e8ab519191902aba72_36299711.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4ad08d3c098558cfae3dd4f97aba3a12_56119294.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/910f39aada049b40135c91bdb93aeda6_73567355.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/29868a2d2606f6000d5ec3e8e3c06938_5838653.png change filename to text .imagette208575791740632918/ imagette208575791740632918/1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990863_0.png.png imagette208575791740632918/1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991627_0.png.png imagette208575791740632918/1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991630_0.png.png imagette208575791740632918/1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991630_0.png.png imagette208575791740632918/1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990867_0.png.png imagette208575791740632918/1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991627_0.png.png imagette208575791740632918/1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991615_0.png.png imagette208575791740632918/1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990985_0.png.png imagette208575791740632918/1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044799_0.png.png imagette208575791740632918/1740606293_132732_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990978_0.png.png imagette208575791740632918/1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991615_0.png.png imagette208575791740632918/1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992890_0.png.png imagette208575791740632918/1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990978_0.png.png imagette208575791740632918/1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990976_0.png.png imagette208575791740632918/1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992890_0.png.png imagette208575791740632918/1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992898_0.png.png imagette208575791740632918/1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992898_0.png.png imagette208575791740632918/1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988555_0.png.png imagette208575791740632918/1740606374_133927_1339805562_e9d4d178830797243e20c8b1b7ce1d39_rle_crop_3687992713_0.png.png imagette208575791740632918/1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990985_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8b8ba8f2b2c0b2ff4aba68cb4af2f682_25326402.png imagette208575791740632918 20857580 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=20857580 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339805634: '1740606274_132487_1339804677_c897f6404345c88b5c19bdb736bf1773_rle_crop_3687989772_0.png', 1339812096: '1740609172_185323_1339805603_b5d764036fe8ab5bd0cd414de2b68547_rle_crop_3687992877_0.png', 1339812095: '1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044802_0.png', 1339806049: '1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991620_0.png', 1339806048: '1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991604_0.png', 1339806047: '1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990988_0.png', 1339806039: '1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990865_0.png', 1339806009: '1740606392_134209_1339805603_b5d764036fe8ab5bd0cd414de2b68547_rle_crop_3687992877_0.png', 1339805872: '1740606374_133927_1339805607_a7fb660bff84e54c426004962a1e5335_rle_crop_3687992698_0.png', 1339805657: '1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991620_0.png', 1339805656: '1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991604_0.png', 1339805655: '1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990988_0.png', 1339803544: '1740605732_119418_1339803279_c7cdd5ae6a4d30189c0f8a342e1b7c80_rle_crop_3687986262_0.png', 1339805633: '1740606274_132487_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990865_0.png', 1339805258: '1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989574_0.png', 1339805257: '1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989577_0.png', 1339804725: '1740606012_127404_1339803645_fe5da27dbdbe966439fc868a18e0a1f4_rle_crop_3687988563_0.png', 1339804723: '1740606012_127404_1339803651_c65706148ebf3fe359309276d4d08044_rle_crop_3687988526_0.png', 1339804722: '1740606012_127404_1339803651_c65706148ebf3fe359309276d4d08044_rle_crop_3687988532_0.png', 1339804721: '1740606012_127404_1339803699_650b9a1554285cdb2d302c5a68d61f9c_rle_crop_3687988458_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/35151daa61dd6798730c1253fbb61a98_14250850.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/df490eedaebce699154395c23b924606_11618503.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ad54f543fecafdd660b2c4656d50d52d_99059956.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3d908cac0f8cbc2bfc7f98c8ea4d45a0_45526789.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/89eb1c97d39466d37e5abda7b4256aea_2799286.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ac74a6bac872160a2181fbd576856802_28847337.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/39457d9f491dd80cfe78ace81bdd7c1e_40704664.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/df490eedaebce699154395c23b924606_64411110.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1ba2af95793e8cd045d2d77b017be7e1_56542181.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3d908cac0f8cbc2bfc7f98c8ea4d45a0_82757997.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/89eb1c97d39466d37e5abda7b4256aea_7109811.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ac74a6bac872160a2181fbd576856802_16077066.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cde55fd9a2c6e72bc883e55f77940418_17243278.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/39457d9f491dd80cfe78ace81bdd7c1e_80549963.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/863e103bd026c6af319a5bd18a43ce6b_13541680.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e9a7dd938ea56873d80fa7edbf6c7c36_53371066.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2a996a84776600e788dcac8fe35472e0_582022.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5311e40aa1d397504bcb12fcf0e277ef_40518234.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7817d85e9cac509ab94c5d946c2b5189_18803821.png change filename to text .imagette208575801740632920/ imagette208575801740632920/1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990988_0.png.png imagette208575801740632920/1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990988_0.png.png imagette208575801740632920/1740606374_133927_1339805607_a7fb660bff84e54c426004962a1e5335_rle_crop_3687992698_0.png.png imagette208575801740632920/1740606274_132487_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990865_0.png.png imagette208575801740632920/1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991604_0.png.png imagette208575801740632920/1740606392_134209_1339805603_b5d764036fe8ab5bd0cd414de2b68547_rle_crop_3687992877_0.png.png imagette208575801740632920/1740606012_127404_1339803651_c65706148ebf3fe359309276d4d08044_rle_crop_3687988532_0.png.png imagette208575801740632920/1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991604_0.png.png imagette208575801740632920/1740605732_119418_1339803279_c7cdd5ae6a4d30189c0f8a342e1b7c80_rle_crop_3687986262_0.png.png imagette208575801740632920/1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989574_0.png.png imagette208575801740632920/1740606274_132487_1339804677_c897f6404345c88b5c19bdb736bf1773_rle_crop_3687989772_0.png.png imagette208575801740632920/1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991620_0.png.png imagette208575801740632920/1740606012_127404_1339803645_fe5da27dbdbe966439fc868a18e0a1f4_rle_crop_3687988563_0.png.png imagette208575801740632920/1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989577_0.png.png imagette208575801740632920/1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990865_0.png.png imagette208575801740632920/1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044802_0.png.png imagette208575801740632920/1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991620_0.png.png imagette208575801740632920/1740606012_127404_1339803651_c65706148ebf3fe359309276d4d08044_rle_crop_3687988526_0.png.png imagette208575801740632920/1740606012_127404_1339803699_650b9a1554285cdb2d302c5a68d61f9c_rle_crop_3687988458_0.png.png imagette208575801740632920/1740609172_185323_1339805603_b5d764036fe8ab5bd0cd414de2b68547_rle_crop_3687992877_0.png.png imagette208575821740632922/ imagette208575841740632922/ imagette208575871740632922/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2e245d0d13f0342758afeeeebc4bb056_22522401.png imagette208575801740632920 20857582 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=20857582 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208575821740632922 20857584 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=20857584 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208575841740632922 20857587 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=20857587 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208575871740632922 20857588 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=20857588 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339805261: '1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989572_0.png', 1339805274: '1740606154_131078_1339804687_6b5cd07bb78b978b2e4528e8cfa29be9_rle_crop_3687989653_0.png', 1339805637: '1740606274_132487_1339804677_c897f6404345c88b5c19bdb736bf1773_rle_crop_3687989777_0.png', 1339805666: '1740606293_132732_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990975_0.png', 1339805667: '1740606293_132732_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990967_0.png', 1339805668: '1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991601_0.png', 1339805669: '1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991623_0.png', 1339806063: '1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990975_0.png', 1339806064: '1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990967_0.png', 1339806065: '1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991601_0.png', 1339806066: '1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991623_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fb50fafda559158a0ec651cfcf2f990a_59815967.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/61d8f9432b2e55fad087df6c90fd7bb7_21963660.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/74dea2c62ef8e1a877749dba1dc9ba2e_88736173.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f3d6579f06e0ff1ce380f734e54d7102_9826305.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8d618550d7ed802514c4a431a706fedb_13960376.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9a43e640776a395151d90e110479c727_68660081.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3dcf732412106af64793af39cb4c27f9_70648282.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f3d6579f06e0ff1ce380f734e54d7102_27184340.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8d618550d7ed802514c4a431a706fedb_65052488.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9a43e640776a395151d90e110479c727_47240038.png change filename to text .imagette208575881740632922/ imagette208575881740632922/1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991601_0.png.png imagette208575881740632922/1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991623_0.png.png imagette208575881740632922/1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989572_0.png.png imagette208575881740632922/1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991623_0.png.png imagette208575881740632922/1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991601_0.png.png imagette208575881740632922/1740606154_131078_1339804687_6b5cd07bb78b978b2e4528e8cfa29be9_rle_crop_3687989653_0.png.png imagette208575881740632922/1740606293_132732_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990975_0.png.png imagette208575881740632922/1740606274_132487_1339804677_c897f6404345c88b5c19bdb736bf1773_rle_crop_3687989777_0.png.png imagette208575881740632922/1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990975_0.png.png imagette208575881740632922/1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990967_0.png.png imagette208575881740632922/1740606293_132732_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990967_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3dcf732412106af64793af39cb4c27f9_23216470.png imagette208575881740632922 20857581 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=20857581 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339803541: '1740605732_119418_1339803322_fc8c1d92d3e53acc77fffc31d885e1af_rle_crop_3687985712_0.png', 1339803542: '1740605732_119418_1339803285_71ceaeadd32e3fea6f41a4a6bad0d2d5_rle_crop_3687985925_0.png', 1339804716: '1740606012_127404_1339803699_650b9a1554285cdb2d302c5a68d61f9c_rle_crop_3687988462_0.png', 1339805273: '1740606154_131078_1339804687_6b5cd07bb78b978b2e4528e8cfa29be9_rle_crop_3687989658_0.png', 1339805631: '1740606274_132487_1339804561_11417a66ec017ff5429a5756a02e2f09_rle_crop_3687989789_0.png', 1339805654: '1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991614_0.png', 1339805862: '1740606374_133927_1339805607_a7fb660bff84e54c426004962a1e5335_rle_crop_3687992701_0.png', 1339806006: '1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992895_0.png', 1339806007: '1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992893_0.png', 1339806044: '1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991614_0.png', 1339812092: '1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044808_0.png', 1339812093: '1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992895_0.png', 1339812094: '1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992893_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7ec144df5e5cca3595d8dde15c10e591_97413508.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b987bd225f3bb7ce3500b1ab00c034dc_38315686.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cb4277427e5d6f227ab36a59033a535a_50120995.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a3c6a0cf234d05367b64ce2c543f3928_87925975.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ba06764746171de73aba5db3451936b3_63166325.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a5e5fbc58044d4031e03a7d738cd6cda_53133592.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ebbf1405c2df035e9a790fcc4210693c_23124421.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/199c901eaff876f58ac75f900b765afd_21947993.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f3dea3a1e5dedd07d23f6f96dfc0d68f_57052438.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a5e5fbc58044d4031e03a7d738cd6cda_78985509.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e3b37dbc7564e4e197c1af7398c471b0_35474580.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/199c901eaff876f58ac75f900b765afd_48556615.png change filename to text .imagette208575811740632923/ imagette208575811740632923/1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992895_0.png.png imagette208575811740632923/1740606274_132487_1339804561_11417a66ec017ff5429a5756a02e2f09_rle_crop_3687989789_0.png.png imagette208575811740632923/1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991614_0.png.png imagette208575811740632923/1740605732_119418_1339803285_71ceaeadd32e3fea6f41a4a6bad0d2d5_rle_crop_3687985925_0.png.png imagette208575811740632923/1740606154_131078_1339804687_6b5cd07bb78b978b2e4528e8cfa29be9_rle_crop_3687989658_0.png.png imagette208575811740632923/1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992895_0.png.png imagette208575811740632923/1740606374_133927_1339805607_a7fb660bff84e54c426004962a1e5335_rle_crop_3687992701_0.png.png imagette208575811740632923/1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992893_0.png.png imagette208575811740632923/1740605732_119418_1339803322_fc8c1d92d3e53acc77fffc31d885e1af_rle_crop_3687985712_0.png.png imagette208575811740632923/1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044808_0.png.png imagette208575811740632923/1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991614_0.png.png imagette208575811740632923/1740606012_127404_1339803699_650b9a1554285cdb2d302c5a68d61f9c_rle_crop_3687988462_0.png.png imagette208575811740632923/1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992893_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f3dea3a1e5dedd07d23f6f96dfc0d68f_65897233.png imagette208575811740632923 20857585 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=20857585 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339805263: '1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989578_0.png', 1339812101: '1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044806_0.png', 1339812100: '1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044810_0.png', 1339812021: '1740609113_183570_1339805227_975aeaa49d1a3316ef398c3fd037f5c2_rle_crop_3688041880_0.png', 1339806069: '1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991612_0.png', 1339806068: '1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990991_0.png', 1339806041: '1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687993617_0.png', 1339806040: '1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_bib_crop_3687990868_0.jpg', 1339805671: '1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991612_0.png', 1339805670: '1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990991_0.png', 1339805642: '1740606274_132487_1339804561_11417a66ec017ff5429a5756a02e2f09_rle_crop_3687989786_0.png', 1339805641: '1740606274_132487_1339804682_39a269360a9f64491ff3a0e5ba2a2078_rle_crop_3687989764_0.png', 1339805640: '1740606274_132487_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990868_0.png', 1339803520: '1740605712_119214_1339803317_e9808543e56e26254962331dc7813ba2_rle_crop_3687983571_0.png', 1339805262: '1740606135_129802_1339803745_914bb543f8156ef47a4c422bcf1e968a_rle_crop_3687989526_0.png', 1339804962: '1740606012_127404_1339803645_fe5da27dbdbe966439fc868a18e0a1f4_rle_crop_3687988566_0.png', 1339804960: '1740606012_127404_1339803645_fe5da27dbdbe966439fc868a18e0a1f4_rle_crop_3687988568_0.png', 1339804958: '1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988553_0.png', 1339804956: '1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988554_0.png', 1339804953: '1740606012_127404_1339803651_c65706148ebf3fe359309276d4d08044_rle_crop_3687988531_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c1ad3e700c302d9291815a678499703d_52562634.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cea194a90af43e8c462b8b048eddb37b_40304038.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8ab484f1e6dfe70f86008e78f17a1c11_63656090.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9e6f6766309d6389712871c5fd960a06_25098437.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/11190bc1dfc60329e6cefbb3bfe42295_37752358.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/059d5137c68ffc6583af20e082e29562_17315954.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4e4a74bc10272e1328a3eb8fc3cd1cf5_44112140.png change filename to text .wget -O 8.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/46cb906d005a04259b1b84c5af33d468_68517637.jpg change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/11190bc1dfc60329e6cefbb3bfe42295_64047461.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/059d5137c68ffc6583af20e082e29562_79650510.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a60d29b5832d70f6c36d7654efd7b97b_3321468.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c90d196fb9b99b23594f77eb71e907f8_17095336.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3a8c6ea24ea92b70b2746873e76c4881_91733950.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2e6e891e50ad39624425e2adc34db86a_75179955.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cbab8f530d61c8f3ce0d2269f5f04c0c_84800998.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/570f0b50bd439acc7fdbc92abf5eeec9_61833940.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6765794ee146840b1576b205f5c7815c_44449587.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7ed5ade9c4d7c893e6b025376d9552ce_74592668.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7c8b6dcac0ab847735b831fc4148a3c1_28180075.png change filename to text .imagette208575851740632924/ imagette208575851740632924/1740606274_132487_1339804682_39a269360a9f64491ff3a0e5ba2a2078_rle_crop_3687989764_0.png.png imagette208575851740632924/1740606012_127404_1339803645_fe5da27dbdbe966439fc868a18e0a1f4_rle_crop_3687988566_0.png.png imagette208575851740632924/1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991612_0.png.png imagette208575851740632924/1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991612_0.png.png imagette208575851740632924/1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988553_0.png.png imagette208575851740632924/1740606135_129802_1339803745_914bb543f8156ef47a4c422bcf1e968a_rle_crop_3687989526_0.png.png imagette208575851740632924/1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_bib_crop_3687990868_0.jpg.jpg imagette208575851740632924/1740606274_132487_1339804561_11417a66ec017ff5429a5756a02e2f09_rle_crop_3687989786_0.png.png imagette208575851740632924/1740606012_127404_1339803651_c65706148ebf3fe359309276d4d08044_rle_crop_3687988531_0.png.png imagette208575851740632924/1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044810_0.png.png imagette208575851740632924/1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990991_0.png.png imagette208575851740632924/1740606274_132487_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687990868_0.png.png imagette208575851740632924/1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990991_0.png.png imagette208575851740632924/1740605712_119214_1339803317_e9808543e56e26254962331dc7813ba2_rle_crop_3687983571_0.png.png imagette208575851740632924/1740606135_129802_1339803695_d5e93ad00f1e102ae248497a88b14a9f_rle_crop_3687989578_0.png.png imagette208575851740632924/1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988554_0.png.png imagette208575851740632924/1740606432_134767_1339805100_caf0ed8e97463468a940abdfdab3b621_rle_crop_3687993617_0.png.png imagette208575851740632924/1740606012_127404_1339803645_fe5da27dbdbe966439fc868a18e0a1f4_rle_crop_3687988568_0.png.png imagette208575851740632924/1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044806_0.png.png imagette208575851740632924/1740609113_183570_1339805227_975aeaa49d1a3316ef398c3fd037f5c2_rle_crop_3688041880_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5a622050b79cf9470ca3c3cf34defc3e_447424.png imagette208575851740632924 20857586 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=20857586 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339806056: '1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990990_0.png', 1339805662: '1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991603_0.png', 1339805663: '1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991610_0.png', 1339805664: '1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991621_0.png', 1339805665: '1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991626_0.png', 1339806010: '1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992892_0.png', 1339806053: '1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990970_0.png', 1339806054: '1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990965_0.png', 1339806055: '1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990983_0.png', 1339805661: '1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990990_0.png', 1339806057: '1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991603_0.png', 1339806058: '1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991610_0.png', 1339806059: '1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991621_0.png', 1339806060: '1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991626_0.png', 1339812015: '1740609113_183570_1339805239_3535065683cbef87894bc2548ce5a91b_rle_crop_3687990581_0.png', 1339812016: '1740609113_183570_1339805227_975aeaa49d1a3316ef398c3fd037f5c2_rle_crop_3687990594_0.png', 1339812098: '1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044809_0.png', 1339812099: '1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992892_0.png', 1339804757: '1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988545_0.png', 1339803516: '1740605712_119214_1339803317_e9808543e56e26254962331dc7813ba2_rle_crop_3687983565_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/86a0d6474bbf26dde89404bf10e01466_7146676.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/dc2ab47719cb8b874501d21bee4bb0fe_44931303.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6808f131ed4a15752432e0c1e5e5e88a_52064790.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/887d0b09362d9a9a73ffb3145ffd185e_79783096.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ddd8940bd4c9f6de03d279462d679519_8014486.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7d68321dcc580c9be79b303ac7fa8437_68372559.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cbe8071a7911f3d52c4c195953732d7c_81753218.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1ed8a7ade229489efe325a671c3534bf_46582222.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/eaa836ca49b90d845257386c8f7f3b99_74533732.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/86a0d6474bbf26dde89404bf10e01466_69375938.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/dc2ab47719cb8b874501d21bee4bb0fe_10837578.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6808f131ed4a15752432e0c1e5e5e88a_9080137.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/887d0b09362d9a9a73ffb3145ffd185e_40086260.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ddd8940bd4c9f6de03d279462d679519_64742635.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/74fd8b2d1dc4b813116e3040086c2e09_68441836.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/60daea0b136b420089eaf420a4d243bf_33792253.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f939fa6193402133176490e6beb2e93e_80998210.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7d68321dcc580c9be79b303ac7fa8437_36962831.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e565586bc1ca9e1f1861476a7a3086e3_92953588.png change filename to text .imagette208575861740632927/ imagette208575861740632927/1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991610_0.png.png imagette208575861740632927/1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991621_0.png.png imagette208575861740632927/1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991603_0.png.png imagette208575861740632927/1740609113_183570_1339805227_975aeaa49d1a3316ef398c3fd037f5c2_rle_crop_3687990594_0.png.png imagette208575861740632927/1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990983_0.png.png imagette208575861740632927/1740606413_134453_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991610_0.png.png imagette208575861740632927/1740606293_132732_1339804840_04a0e253919826230db85c46ef7b7d2a_rle_crop_3687991603_0.png.png imagette208575861740632927/1740609172_185323_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992892_0.png.png imagette208575861740632927/1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990970_0.png.png imagette208575861740632927/1740606413_134453_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990990_0.png.png imagette208575861740632927/1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991621_0.png.png imagette208575861740632927/1740609172_185323_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009_rle_crop_3688044809_0.png.png imagette208575861740632927/1740606392_134209_1339805599_1e83124da53d338d900775f8d04d844a_rle_crop_3687992892_0.png.png imagette208575861740632927/1740609113_183570_1339805239_3535065683cbef87894bc2548ce5a91b_rle_crop_3687990581_0.png.png imagette208575861740632927/1740606413_134453_1339805247_28d77d79a77b5a67d52876df8afa8fa8_rle_crop_3687990965_0.png.png imagette208575861740632927/1740606413_134453_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991626_0.png.png imagette208575861740632927/1740606293_132732_1339805087_0489e2ecd7e35beaf37fd5fe359b000b_rle_crop_3687990990_0.png.png imagette208575861740632927/1740606293_132732_1339804718_0702294c0c73849aaa052b0e78d25f77_rle_crop_3687991626_0.png.png imagette208575861740632927/1740606012_127404_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9_rle_crop_3687988545_0.png.png imagette208575861740632927/1740605712_119214_1339803317_e9808543e56e26254962331dc7813ba2_rle_crop_3687983565_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3a3ab31bb316f23a8fde15d10013b95f_38564410.png imagette208575861740632927 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20857573 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20857589,20857590,20857591,20857592,20857593,20857594,20857595,20857596,20857597,20857598,20857599,20857600?tags=environnement,metal,plastique,autre_refus,Teint_Dans_La_Masse,mal_croppe,papier,flou,Carton_brun,Carton_gris,kraft,cartonnette your option no_mail is active, we will not send the real mail to your client args[1339805846] : ('0.12380455678315229',) no score found for photo 1339805846 We are sending mail with results at report@fotonower.com args[1339805607] : ('0.12380455678315229',) no score found for photo 1339805607 We are sending mail with results at report@fotonower.com args[1339805603] : ('0.12380455678315229',) no score found for photo 1339805603 We are sending mail with results at report@fotonower.com args[1339805599] : ('0.12380455678315229',) no score found for photo 1339805599 We are sending mail with results at report@fotonower.com args[1339805568] : ('0.12380455678315229',) no score found for photo 1339805568 We are sending mail with results at report@fotonower.com args[1339805562] : ('0.12380455678315229',) no score found for photo 1339805562 We are sending mail with results at report@fotonower.com args[1339805247] : ('0.12380455678315229',) no score found for photo 1339805247 We are sending mail with results at report@fotonower.com args[1339805239] : ('0.12380455678315229',) no score found for photo 1339805239 We are sending mail with results at report@fotonower.com args[1339805227] : ('0.12380455678315229',) no score found for photo 1339805227 We are sending mail with results at report@fotonower.com args[1339805100] : ('0.12380455678315229',) no score found for photo 1339805100 We are sending mail with results at report@fotonower.com args[1339805087] : ('0.12380455678315229',) no score found for photo 1339805087 We are sending mail with results at report@fotonower.com args[1339804840] : ('0.12380455678315229',) no score found for photo 1339804840 We are sending mail with results at report@fotonower.com args[1339804718] : ('0.12380455678315229',) no score found for photo 1339804718 We are sending mail with results at report@fotonower.com args[1339804687] : ('0.12380455678315229',) no score found for photo 1339804687 We are sending mail with results at report@fotonower.com args[1339804682] : ('0.12380455678315229',) no score found for photo 1339804682 We are sending mail with results at report@fotonower.com args[1339804677] : ('0.12380455678315229',) no score found for photo 1339804677 We are sending mail with results at report@fotonower.com args[1339804561] : ('0.12380455678315229',) no score found for photo 1339804561 We are sending mail with results at report@fotonower.com args[1339803745] : ('0.12380455678315229',) no score found for photo 1339803745 We are sending mail with results at report@fotonower.com args[1339803741] : ('0.12380455678315229',) no score found for photo 1339803741 We are sending mail with results at report@fotonower.com args[1339803699] : ('0.12380455678315229',) no score found for photo 1339803699 We are sending mail with results at report@fotonower.com args[1339803695] : ('0.12380455678315229',) no score found for photo 1339803695 We are sending mail with results at report@fotonower.com args[1339803656] : ('0.12380455678315229',) no score found for photo 1339803656 We are sending mail with results at report@fotonower.com args[1339803654] : ('0.12380455678315229',) no score found for photo 1339803654 We are sending mail with results at report@fotonower.com args[1339803651] : ('0.12380455678315229',) no score found for photo 1339803651 We are sending mail with results at report@fotonower.com args[1339803648] : ('0.12380455678315229',) no score found for photo 1339803648 We are sending mail with results at report@fotonower.com args[1339803645] : ('0.12380455678315229',) no score found for photo 1339803645 We are sending mail with results at report@fotonower.com args[1339803529] : ('0.12380455678315229',) no score found for photo 1339803529 We are sending mail with results at report@fotonower.com args[1339803490] : ('0.12380455678315229',) no score found for photo 1339803490 We are sending mail with results at report@fotonower.com args[1339803402] : ('0.12380455678315229',) no score found for photo 1339803402 We are sending mail with results at report@fotonower.com args[1339803395] : ('0.12380455678315229',) no score found for photo 1339803395 We are sending mail with results at report@fotonower.com args[1339803391] : ('0.12380455678315229',) no score found for photo 1339803391 We are sending mail with results at report@fotonower.com args[1339803353] : ('0.12380455678315229',) no score found for photo 1339803353 We are sending mail with results at report@fotonower.com args[1339803348] : ('0.12380455678315229',) no score found for photo 1339803348 We are sending mail with results at report@fotonower.com args[1339803322] : ('0.12380455678315229',) no score found for photo 1339803322 We are sending mail with results at report@fotonower.com args[1339803317] : ('0.12380455678315229',) no score found for photo 1339803317 We are sending mail with results at report@fotonower.com args[1339803311] : ('0.12380455678315229',) no score found for photo 1339803311 We are sending mail with results at report@fotonower.com args[1339803285] : ('0.12380455678315229',) no score found for photo 1339803285 We are sending mail with results at report@fotonower.com args[1339803279] : ('0.12380455678315229',) no score found for photo 1339803279 We are sending mail with results at report@fotonower.com refus_total : 0.12380455678315229 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=20857573 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_P20857573_27-02-2025_06_08_38.pdf results_Auto_P20857573_27-02-2025_06_08_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_27-02-2025_06_08_38.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','20857573','results_Auto_P20857573_27-02-2025_06_08_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_27-02-2025_06_08_38.pdf','pdf','','0.56','0.12380455678315229') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20857573]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] map_info['map_portfolio_photo'] : {20857573: [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279]} final : False mtd_id 4302 list_pids : [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] 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, '2618781') ('4302', '20857573', '1339805846', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805607', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805603', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805599', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805568', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805562', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805247', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805239', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805227', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805100', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805087', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804840', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804718', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804687', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804682', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804677', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804561', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803745', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803741', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803699', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803695', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803656', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803654', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803651', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803648', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803645', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803529', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803490', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803402', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803395', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803391', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803353', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803348', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803322', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803317', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803311', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803285', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803279', None, None, None, None, None, '2618781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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', '20857573', '1339805846', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805607', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805603', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805599', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805568', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805562', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805247', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805239', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805227', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805100', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805087', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804840', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804718', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804687', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804682', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804677', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804561', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803745', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803741', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803699', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803695', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803656', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803654', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803651', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803648', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803645', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803529', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803490', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803402', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803395', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803391', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803353', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803348', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803322', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803317', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803311', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803285', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803279', None, None, None, None, None, '2618781')] time used for this insertion : 0.707517147064209 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.441808462142944 time spend to save output : 0.7080180644989014 total time spend for step 4 : 16.149826526641846 step5:split_time_score Thu Feb 27 06:08:52 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 : ['20857573'] 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 : [('20857573',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20857573) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339805562: {'path': 'temp/1740632916_2199060_1339805562_e9d4d178830797243e20c8b1b7ce1d39.jpg', 'extension': 'jpg'}, 1339805568: {'path': 'temp/1740632916_2199060_1339805568_796f8f7ea0e332fd16c7eb0299bf92b1.jpg', 'extension': 'jpg'}, 1339805599: {'path': 'temp/1740632916_2199060_1339805599_1e83124da53d338d900775f8d04d844a.jpg', 'extension': 'jpg'}, 1339805603: {'path': 'temp/1740632916_2199060_1339805603_b5d764036fe8ab5bd0cd414de2b68547.jpg', 'extension': 'jpg'}, 1339805607: {'path': 'temp/1740632916_2199060_1339805607_a7fb660bff84e54c426004962a1e5335.jpg', 'extension': 'jpg'}, 1339805846: {'path': 'temp/1740632916_2199060_1339805846_a2a6dfdd63bf424e2d6a1f3ae011d009.jpg', 'extension': 'jpg'}, 1339804687: {'path': 'temp/1740632916_2199060_1339804687_6b5cd07bb78b978b2e4528e8cfa29be9.jpg', 'extension': 'jpg'}, 1339804718: {'path': 'temp/1740632916_2199060_1339804718_0702294c0c73849aaa052b0e78d25f77.jpg', 'extension': 'jpg'}, 1339804840: {'path': 'temp/1740632916_2199060_1339804840_04a0e253919826230db85c46ef7b7d2a.jpg', 'extension': 'jpg'}, 1339805087: {'path': 'temp/1740632916_2199060_1339805087_0489e2ecd7e35beaf37fd5fe359b000b.jpg', 'extension': 'jpg'}, 1339805100: {'path': 'temp/1740632916_2199060_1339805100_caf0ed8e97463468a940abdfdab3b621.jpg', 'extension': 'jpg'}, 1339805227: {'path': 'temp/1740632916_2199060_1339805227_975aeaa49d1a3316ef398c3fd037f5c2.jpg', 'extension': 'jpg'}, 1339805239: {'path': 'temp/1740632916_2199060_1339805239_3535065683cbef87894bc2548ce5a91b.jpg', 'extension': 'jpg'}, 1339805247: {'path': 'temp/1740632916_2199060_1339805247_28d77d79a77b5a67d52876df8afa8fa8.jpg', 'extension': 'jpg'}, 1339803395: {'path': 'temp/1740632916_2199060_1339803395_64ba784c4b946f2b18ed5e07c93376de.jpg', 'extension': 'jpg'}, 1339803402: {'path': 'temp/1740632916_2199060_1339803402_fe5a14c96dfef034c3dc1662a6e06fe8.jpg', 'extension': 'jpg'}, 1339803490: {'path': 'temp/1740632916_2199060_1339803490_61edaaa4b3767b769eba3f241b4585e8.jpg', 'extension': 'jpg'}, 1339803529: {'path': 'temp/1740632916_2199060_1339803529_0424c2a61beded15b57439311aeea605.jpg', 'extension': 'jpg'}, 1339803645: {'path': 'temp/1740632916_2199060_1339803645_fe5da27dbdbe966439fc868a18e0a1f4.jpg', 'extension': 'jpg'}, 1339803648: {'path': 'temp/1740632916_2199060_1339803648_dbe9929c5fc3b9394877ea6fdc992ee9.jpg', 'extension': 'jpg'}, 1339803651: {'path': 'temp/1740632916_2199060_1339803651_c65706148ebf3fe359309276d4d08044.jpg', 'extension': 'jpg'}, 1339803654: {'path': 'temp/1740632916_2199060_1339803654_53d978a7cd42f703f488608de4816474.jpg', 'extension': 'jpg'}, 1339803279: {'path': 'temp/1740632916_2199060_1339803279_c7cdd5ae6a4d30189c0f8a342e1b7c80.jpg', 'extension': 'jpg'}, 1339803285: {'path': 'temp/1740632916_2199060_1339803285_71ceaeadd32e3fea6f41a4a6bad0d2d5.jpg', 'extension': 'jpg'}, 1339803311: {'path': 'temp/1740632916_2199060_1339803311_37a0297d3c0e168e361ff284ddf6cbcf.jpg', 'extension': 'jpg'}, 1339803317: {'path': 'temp/1740632916_2199060_1339803317_e9808543e56e26254962331dc7813ba2.jpg', 'extension': 'jpg'}, 1339803322: {'path': 'temp/1740632916_2199060_1339803322_fc8c1d92d3e53acc77fffc31d885e1af.jpg', 'extension': 'jpg'}, 1339803348: {'path': 'temp/1740632916_2199060_1339803348_725b27b158bbc3711cf6b5a3d877ea6d.jpg', 'extension': 'jpg'}, 1339803353: {'path': 'temp/1740632916_2199060_1339803353_7aa0150b5de7fda650d5425bd425aa53.jpg', 'extension': 'jpg'}, 1339803391: {'path': 'temp/1740632916_2199060_1339803391_4eda9731dcf9f63386bff3e027737998.jpg', 'extension': 'jpg'}, 1339803656: {'path': 'temp/1740632916_2199060_1339803656_a77f91b4b97c3c3168bdb3353b2d0642.jpg', 'extension': 'jpg'}, 1339803695: {'path': 'temp/1740632916_2199060_1339803695_d5e93ad00f1e102ae248497a88b14a9f.jpg', 'extension': 'jpg'}, 1339803699: {'path': 'temp/1740632916_2199060_1339803699_650b9a1554285cdb2d302c5a68d61f9c.jpg', 'extension': 'jpg'}, 1339803741: {'path': 'temp/1740632916_2199060_1339803741_943a5c5f77f37119498aeab700fbce24.jpg', 'extension': 'jpg'}, 1339803745: {'path': 'temp/1740632916_2199060_1339803745_914bb543f8156ef47a4c422bcf1e968a.jpg', 'extension': 'jpg'}, 1339804561: {'path': 'temp/1740632916_2199060_1339804561_11417a66ec017ff5429a5756a02e2f09.jpg', 'extension': 'jpg'}, 1339804677: {'path': 'temp/1740632916_2199060_1339804677_c897f6404345c88b5c19bdb736bf1773.jpg', 'extension': 'jpg'}, 1339804682: {'path': 'temp/1740632916_2199060_1339804682_39a269360a9f64491ff3a0e5ba2a2078.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 = 20857573; (('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 = 20857573 group by h (('22', 38),) 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=20857573 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 (20857573) 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 (20857573) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20857573 Nombre de photos uploadées : 38 / 23040 (0%) 26022025 20857573 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 26022025 20857573 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1339803285, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/71ceaeadd32e3fea6f41a4a6bad0d2d5.jpg', 'username': None, 'uploaded_at': 1740605497, 'text': 'image_26022025_22_30_04_009143m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339803279, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c7cdd5ae6a4d30189c0f8a342e1b7c80.jpg', 'username': None, 'uploaded_at': 1740605497, 'text': 'image_26022025_22_30_24_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339803322, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fc8c1d92d3e53acc77fffc31d885e1af.jpg', 'username': None, 'uploaded_at': 1740605557, 'text': 'image_26022025_22_30_35_010141m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339803317, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e9808543e56e26254962331dc7813ba2.jpg', 'username': None, 'uploaded_at': 1740605557, 'text': 'image_26022025_22_31_25_010137m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001806020736694336 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20857573, '2025-02-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1624425,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.026208162307739258 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= 1624425 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20822915, 'dashboard_result_id': 9095776, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823244, 'dashboard_result_id': 9095777, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823623, 'dashboard_result_id': 9095778, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823915, 'dashboard_result_id': 9095779, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20824472, 'dashboard_result_id': 9095780, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20825065, 'dashboard_result_id': 9095781, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20825658, 'dashboard_result_id': 9095782, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826103, 'dashboard_result_id': 9095783, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826652, 'dashboard_result_id': 9095784, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826951, 'dashboard_result_id': 9095785, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20827919, 'dashboard_result_id': 9095786, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20828584, 'dashboard_result_id': 9095787, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20829246, 'dashboard_result_id': 9095788, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20829828, 'dashboard_result_id': 9095789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20830367, 'dashboard_result_id': 9095790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20831063, 'dashboard_result_id': 9095791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20832581, 'dashboard_result_id': 9095792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20832732, 'dashboard_result_id': 9095793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20833362, 'dashboard_result_id': 9095794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20833879, 'dashboard_result_id': 9095795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20834422, 'dashboard_result_id': 9095796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20835080, 'dashboard_result_id': 9095797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20835982, 'dashboard_result_id': 9095798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20836575, 'dashboard_result_id': 9095799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20837208, 'dashboard_result_id': 9095800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20838192, 'dashboard_result_id': 9095801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20838686, 'dashboard_result_id': 9095802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20840618, 'dashboard_result_id': 9095803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20840746, 'dashboard_result_id': 9095804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20841272, 'dashboard_result_id': 9095805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20841741, 'dashboard_result_id': 9095806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20842109, 'dashboard_result_id': 9095807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20842535, 'dashboard_result_id': 9095808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20843062, 'dashboard_result_id': 9095809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20843891, 'dashboard_result_id': 9095810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20844521, 'dashboard_result_id': 9095811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20844984, 'dashboard_result_id': 9095812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20845790, 'dashboard_result_id': 9095813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20846033, 'dashboard_result_id': 9095814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20846799, 'dashboard_result_id': 9095815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848465, 'dashboard_result_id': 9095816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_27-02-2025_05_58_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848689, 'dashboard_result_id': 9095817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_27-02-2025_05_59_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848890, 'dashboard_result_id': 9095818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_27-02-2025_05_59_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20849515, 'dashboard_result_id': 9095819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_27-02-2025_06_00_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20850107, 'dashboard_result_id': 9095820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_27-02-2025_06_00_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20850765, 'dashboard_result_id': 9095821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_27-02-2025_06_01_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20851198, 'dashboard_result_id': 9095822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_27-02-2025_06_02_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20851819, 'dashboard_result_id': 9095823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_27-02-2025_06_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20852478, 'dashboard_result_id': 9095824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_27-02-2025_06_03_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20852902, 'dashboard_result_id': 9095825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_27-02-2025_06_04_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20854055, 'dashboard_result_id': 9095826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_27-02-2025_06_04_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20854419, 'dashboard_result_id': 9095827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_27-02-2025_06_05_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20855468, 'dashboard_result_id': 9095828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_27-02-2025_06_06_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856043, 'dashboard_result_id': 9095829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_27-02-2025_06_06_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856419, 'dashboard_result_id': 9095830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856900, 'dashboard_result_id': 9095831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_27-02-2025_06_07_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20857448, 'dashboard_result_id': 9095832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_27-02-2025_06_07_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20857573, 'dashboard_result_id': 9095833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_26-02-2025_22_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20858422, 'dashboard_result_id': 9095834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20858789, 'dashboard_result_id': 9095835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20859314, 'dashboard_result_id': 9095836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20859884, 'dashboard_result_id': 9095837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20860315, 'dashboard_result_id': 9095838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, '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 = 20822915 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618724, 'mtr_portfolio_id': 20822915, 'created_at': datetime.datetime(2025, 2, 27, 5, 34, 32), 'result': '0.07920684912952393', 'result_long': None, 'result_double': None}] Qualite : 0.07920684912952393 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20822915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20822915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}" where mtr_portfolio_id = 20822915 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20822915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095776, 0.07920684912952393, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20823244 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618725, 'mtr_portfolio_id': 20823244, 'created_at': datetime.datetime(2025, 2, 27, 5, 34, 59), 'result': '0.10199715563081628', 'result_long': None, 'result_double': None}] Qualite : 0.10199715563081628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823244 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}" where mtr_portfolio_id = 20823244 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095777, 0.10199715563081628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20823623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618726, 'mtr_portfolio_id': 20823623, 'created_at': datetime.datetime(2025, 2, 27, 5, 35, 36), 'result': '0.09381009515109745', 'result_long': None, 'result_double': None}] Qualite : 0.09381009515109745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}" where mtr_portfolio_id = 20823623 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095778, 0.09381009515109745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20823915 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618727, 'mtr_portfolio_id': 20823915, 'created_at': datetime.datetime(2025, 2, 27, 5, 36), 'result': '0.08639860730990376', 'result_long': None, 'result_double': None}] Qualite : 0.08639860730990376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}" where mtr_portfolio_id = 20823915 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095779, 0.08639860730990376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20824472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618728, 'mtr_portfolio_id': 20824472, 'created_at': datetime.datetime(2025, 2, 27, 5, 36, 31), 'result': '0.0916600253677883', 'result_long': None, 'result_double': None}] Qualite : 0.0916600253677883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20824472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20824472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}" where mtr_portfolio_id = 20824472 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20824472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095780, 0.0916600253677883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20825065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618729, 'mtr_portfolio_id': 20825065, 'created_at': datetime.datetime(2025, 2, 27, 5, 37, 33), 'result': '0.09641862009500766', 'result_long': None, 'result_double': None}] Qualite : 0.09641862009500766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20825065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20825065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}" where mtr_portfolio_id = 20825065 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20825065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095781, 0.09641862009500766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20825658 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618730, 'mtr_portfolio_id': 20825658, 'created_at': datetime.datetime(2025, 2, 27, 5, 37, 59), 'result': '0.08808147270938506', 'result_long': None, 'result_double': None}] Qualite : 0.08808147270938506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20825658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20825658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}" where mtr_portfolio_id = 20825658 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20825658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095782, 0.08808147270938506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826103 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618731, 'mtr_portfolio_id': 20826103, 'created_at': datetime.datetime(2025, 2, 27, 5, 38, 30), 'result': '0.10015054228227757', 'result_long': None, 'result_double': None}] Qualite : 0.10015054228227757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}" where mtr_portfolio_id = 20826103 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20826103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095783, 0.10015054228227757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826652 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618732, 'mtr_portfolio_id': 20826652, 'created_at': datetime.datetime(2025, 2, 27, 5, 38, 57), 'result': '0.09543412063558471', 'result_long': None, 'result_double': None}] Qualite : 0.09543412063558471 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826652 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}" where mtr_portfolio_id = 20826652 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20826652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095784, 0.09543412063558471, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826951 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618733, 'mtr_portfolio_id': 20826951, 'created_at': datetime.datetime(2025, 2, 27, 5, 39, 33), 'result': '0.08794633338345394', 'result_long': None, 'result_double': None}] Qualite : 0.08794633338345394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}" where mtr_portfolio_id = 20826951 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20826951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095785, 0.08794633338345394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20827919 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618734, 'mtr_portfolio_id': 20827919, 'created_at': datetime.datetime(2025, 2, 27, 5, 40, 1), 'result': '0.09394958102191207', 'result_long': None, 'result_double': None}] Qualite : 0.09394958102191207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20827919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20827919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}" where mtr_portfolio_id = 20827919 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20827919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095786, 0.09394958102191207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20828584 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618735, 'mtr_portfolio_id': 20828584, 'created_at': datetime.datetime(2025, 2, 27, 5, 40, 31), 'result': '0.09545349483408289', 'result_long': None, 'result_double': None}] Qualite : 0.09545349483408289 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20828584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20828584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}" where mtr_portfolio_id = 20828584 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20828584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095787, 0.09545349483408289, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20829246 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618736, 'mtr_portfolio_id': 20829246, 'created_at': datetime.datetime(2025, 2, 27, 5, 41, 29), 'result': '0.10372325000079764', 'result_long': None, 'result_double': None}] Qualite : 0.10372325000079764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20829246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829246 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}" where mtr_portfolio_id = 20829246 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20829246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095788, 0.10372325000079764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20829828 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618737, 'mtr_portfolio_id': 20829828, 'created_at': datetime.datetime(2025, 2, 27, 5, 42, 5), 'result': '0.09427763944322612', 'result_long': None, 'result_double': None}] Qualite : 0.09427763944322612 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20829828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}" where mtr_portfolio_id = 20829828 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20829828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095789, 0.09427763944322612, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20830367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618738, 'mtr_portfolio_id': 20830367, 'created_at': datetime.datetime(2025, 2, 27, 5, 42, 39), 'result': '0.0829198788669888', 'result_long': None, 'result_double': None}] Qualite : 0.0829198788669888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20830367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20830367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}" where mtr_portfolio_id = 20830367 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20830367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095790, 0.0829198788669888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20831063 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618739, 'mtr_portfolio_id': 20831063, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 6), 'result': '0.08620166067412319', 'result_long': None, 'result_double': None}] Qualite : 0.08620166067412319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20831063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}" where mtr_portfolio_id = 20831063 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20831063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095791, 0.08620166067412319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20832581 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618740, 'mtr_portfolio_id': 20832581, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 29), 'result': '0.06573409346289968', 'result_long': None, 'result_double': None}] Qualite : 0.06573409346289968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20832581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20832581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}" where mtr_portfolio_id = 20832581 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20832581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095792, 0.06573409346289968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20832732 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618741, 'mtr_portfolio_id': 20832732, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 59), 'result': '0.07605219584771207', 'result_long': None, 'result_double': None}] Qualite : 0.07605219584771207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20832732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20832732 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}" where mtr_portfolio_id = 20832732 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20832732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095793, 0.07605219584771207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20833362 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618742, 'mtr_portfolio_id': 20833362, 'created_at': datetime.datetime(2025, 2, 27, 5, 44, 32), 'result': '0.08211823070862564', 'result_long': None, 'result_double': None}] Qualite : 0.08211823070862564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20833362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20833362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}" where mtr_portfolio_id = 20833362 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20833362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095794, 0.08211823070862564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20833879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618743, 'mtr_portfolio_id': 20833879, 'created_at': datetime.datetime(2025, 2, 27, 5, 45, 29), 'result': '0.0791586882502438', 'result_long': None, 'result_double': None}] Qualite : 0.0791586882502438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20833879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20833879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}" where mtr_portfolio_id = 20833879 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20833879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095795, 0.0791586882502438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20834422 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618744, 'mtr_portfolio_id': 20834422, 'created_at': datetime.datetime(2025, 2, 27, 5, 45, 58), 'result': '0.08996508570817628', 'result_long': None, 'result_double': None}] Qualite : 0.08996508570817628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20834422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20834422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}" where mtr_portfolio_id = 20834422 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20834422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095796, 0.08996508570817628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20835080 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618745, 'mtr_portfolio_id': 20835080, 'created_at': datetime.datetime(2025, 2, 27, 5, 46, 28), 'result': '0.09250196067297423', 'result_long': None, 'result_double': None}] Qualite : 0.09250196067297423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20835080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}" where mtr_portfolio_id = 20835080 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20835080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095797, 0.09250196067297423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20835982 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618746, 'mtr_portfolio_id': 20835982, 'created_at': datetime.datetime(2025, 2, 27, 5, 47, 28), 'result': '0.09638858381358184', 'result_long': None, 'result_double': None}] Qualite : 0.09638858381358184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20835982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}" where mtr_portfolio_id = 20835982 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20835982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095798, 0.09638858381358184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20836575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618747, 'mtr_portfolio_id': 20836575, 'created_at': datetime.datetime(2025, 2, 27, 5, 48), 'result': '0.09433109158117405', 'result_long': None, 'result_double': None}] Qualite : 0.09433109158117405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20836575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20836575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}" where mtr_portfolio_id = 20836575 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20836575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095799, 0.09433109158117405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20837208 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618748, 'mtr_portfolio_id': 20837208, 'created_at': datetime.datetime(2025, 2, 27, 5, 48, 31), 'result': '0.10658614900289054', 'result_long': None, 'result_double': None}] Qualite : 0.10658614900289054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20837208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20837208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}" where mtr_portfolio_id = 20837208 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20837208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095800, 0.10658614900289054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20838192 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618749, 'mtr_portfolio_id': 20838192, 'created_at': datetime.datetime(2025, 2, 27, 5, 49, 40), 'result': '0.1055547180913604', 'result_long': None, 'result_double': None}] Qualite : 0.1055547180913604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20838192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20838192 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}" where mtr_portfolio_id = 20838192 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20838192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095801, 0.1055547180913604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20838686 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618750, 'mtr_portfolio_id': 20838686, 'created_at': datetime.datetime(2025, 2, 27, 5, 49, 58), 'result': '0.10544209451507229', 'result_long': None, 'result_double': None}] Qualite : 0.10544209451507229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20838686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20838686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}" where mtr_portfolio_id = 20838686 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20838686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095802, 0.10544209451507229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20840618 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618751, 'mtr_portfolio_id': 20840618, 'created_at': datetime.datetime(2025, 2, 27, 5, 50, 30), 'result': '0.09598470260582645', 'result_long': None, 'result_double': None}] Qualite : 0.09598470260582645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20840618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20840618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}" where mtr_portfolio_id = 20840618 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20840618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095803, 0.09598470260582645, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20840746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618752, 'mtr_portfolio_id': 20840746, 'created_at': datetime.datetime(2025, 2, 27, 5, 51), 'result': '0.11292488304262686', 'result_long': None, 'result_double': None}] Qualite : 0.11292488304262686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20840746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20840746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}" where mtr_portfolio_id = 20840746 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20840746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095804, 0.11292488304262686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20841272 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618753, 'mtr_portfolio_id': 20841272, 'created_at': datetime.datetime(2025, 2, 27, 5, 51, 28), 'result': '0.09384106315189063', 'result_long': None, 'result_double': None}] Qualite : 0.09384106315189063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20841272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20841272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}" where mtr_portfolio_id = 20841272 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20841272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095805, 0.09384106315189063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20841741 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618754, 'mtr_portfolio_id': 20841741, 'created_at': datetime.datetime(2025, 2, 27, 5, 51, 57), 'result': '0.10388308456801364', 'result_long': None, 'result_double': None}] Qualite : 0.10388308456801364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20841741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20841741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}" where mtr_portfolio_id = 20841741 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20841741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095806, 0.10388308456801364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20842109 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618755, 'mtr_portfolio_id': 20842109, 'created_at': datetime.datetime(2025, 2, 27, 5, 52, 28), 'result': '0.10851428389042465', 'result_long': None, 'result_double': None}] Qualite : 0.10851428389042465 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20842109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20842109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}" where mtr_portfolio_id = 20842109 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20842109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095807, 0.10851428389042465, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20842535 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618756, 'mtr_portfolio_id': 20842535, 'created_at': datetime.datetime(2025, 2, 27, 5, 53, 32), 'result': '0.10537480349502876', 'result_long': None, 'result_double': None}] Qualite : 0.10537480349502876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20842535 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20842535 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}" where mtr_portfolio_id = 20842535 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20842535 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095808, 0.10537480349502876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20843062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618757, 'mtr_portfolio_id': 20843062, 'created_at': datetime.datetime(2025, 2, 27, 5, 54), 'result': '0.09461091511724623', 'result_long': None, 'result_double': None}] Qualite : 0.09461091511724623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}" where mtr_portfolio_id = 20843062 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20843062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095809, 0.09461091511724623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20843891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618758, 'mtr_portfolio_id': 20843891, 'created_at': datetime.datetime(2025, 2, 27, 5, 54, 31), 'result': '0.0952210209130692', 'result_long': None, 'result_double': None}] Qualite : 0.0952210209130692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}" where mtr_portfolio_id = 20843891 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20843891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095810, 0.0952210209130692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20844521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618759, 'mtr_portfolio_id': 20844521, 'created_at': datetime.datetime(2025, 2, 27, 5, 55, 30), 'result': '0.08961337252877308', 'result_long': None, 'result_double': None}] Qualite : 0.08961337252877308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20844521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20844521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}" where mtr_portfolio_id = 20844521 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20844521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095811, 0.08961337252877308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20844984 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618760, 'mtr_portfolio_id': 20844984, 'created_at': datetime.datetime(2025, 2, 27, 5, 55, 58), 'result': '0.10127133196056405', 'result_long': None, 'result_double': None}] Qualite : 0.10127133196056405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20844984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20844984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}" where mtr_portfolio_id = 20844984 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20844984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095812, 0.10127133196056405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20845790 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618761, 'mtr_portfolio_id': 20845790, 'created_at': datetime.datetime(2025, 2, 27, 5, 56, 28), 'result': '0.10937179414744042', 'result_long': None, 'result_double': None}] Qualite : 0.10937179414744042 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20845790 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20845790 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}" where mtr_portfolio_id = 20845790 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20845790 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095813, 0.10937179414744042, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20846033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618762, 'mtr_portfolio_id': 20846033, 'created_at': datetime.datetime(2025, 2, 27, 5, 57), 'result': '0.10551787687757494', 'result_long': None, 'result_double': None}] Qualite : 0.10551787687757494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20846033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20846033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}" where mtr_portfolio_id = 20846033 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095814, 0.10551787687757494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20846799 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618763, 'mtr_portfolio_id': 20846799, 'created_at': datetime.datetime(2025, 2, 27, 5, 58, 1), 'result': '0.11496452386107839', 'result_long': None, 'result_double': None}] Qualite : 0.11496452386107839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20846799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20846799 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}" where mtr_portfolio_id = 20846799 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095815, 0.11496452386107839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20848465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618764, 'mtr_portfolio_id': 20848465, 'created_at': datetime.datetime(2025, 2, 27, 5, 58, 29), 'result': '0.113764538614385', 'result_long': None, 'result_double': None}] Qualite : 0.113764538614385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_27-02-2025_05_58_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_27-02-2025_05_58_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}" where mtr_portfolio_id = 20848465 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20848465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095816, 0.113764538614385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_27-02-2025_05_58_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20848689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618765, 'mtr_portfolio_id': 20848689, 'created_at': datetime.datetime(2025, 2, 27, 5, 59, 4), 'result': '0.10085177014709137', 'result_long': None, 'result_double': None}] Qualite : 0.10085177014709137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_27-02-2025_05_59_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_27-02-2025_05_59_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}" where mtr_portfolio_id = 20848689 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20848689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095817, 0.10085177014709137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_27-02-2025_05_59_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20848890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618766, 'mtr_portfolio_id': 20848890, 'created_at': datetime.datetime(2025, 2, 27, 5, 59, 32), 'result': '0.10218707403506423', 'result_long': None, 'result_double': None}] Qualite : 0.10218707403506423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_27-02-2025_05_59_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_27-02-2025_05_59_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}" where mtr_portfolio_id = 20848890 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20848890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095818, 0.10218707403506423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_27-02-2025_05_59_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20849515 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618767, 'mtr_portfolio_id': 20849515, 'created_at': datetime.datetime(2025, 2, 27, 6, 0), 'result': '0.10540387920795503', 'result_long': None, 'result_double': None}] Qualite : 0.10540387920795503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20849515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_27-02-2025_06_00_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20849515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_27-02-2025_06_00_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}" where mtr_portfolio_id = 20849515 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20849515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095819, 0.10540387920795503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_27-02-2025_06_00_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20850107 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618768, 'mtr_portfolio_id': 20850107, 'created_at': datetime.datetime(2025, 2, 27, 6, 0, 34), 'result': '0.10865918238698424', 'result_long': None, 'result_double': None}] Qualite : 0.10865918238698424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20850107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_27-02-2025_06_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20850107 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_27-02-2025_06_00_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}" where mtr_portfolio_id = 20850107 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20850107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095820, 0.10865918238698424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_27-02-2025_06_00_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20850765 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618769, 'mtr_portfolio_id': 20850765, 'created_at': datetime.datetime(2025, 2, 27, 6, 1, 34), 'result': '0.10551587276493077', 'result_long': None, 'result_double': None}] Qualite : 0.10551587276493077 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20850765 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_27-02-2025_06_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20850765 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_27-02-2025_06_01_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}" where mtr_portfolio_id = 20850765 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20850765 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095821, 0.10551587276493077, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_27-02-2025_06_01_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20851198 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618770, 'mtr_portfolio_id': 20851198, 'created_at': datetime.datetime(2025, 2, 27, 6, 1, 58), 'result': '0.09943624749155479', 'result_long': None, 'result_double': None}] Qualite : 0.09943624749155479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20851198 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_27-02-2025_06_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20851198 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_27-02-2025_06_02_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}" where mtr_portfolio_id = 20851198 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20851198 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095822, 0.09943624749155479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_27-02-2025_06_02_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20851819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618771, 'mtr_portfolio_id': 20851819, 'created_at': datetime.datetime(2025, 2, 27, 6, 2, 58), 'result': '0.1046235149958549', 'result_long': None, 'result_double': None}] Qualite : 0.1046235149958549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20851819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_27-02-2025_06_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20851819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_27-02-2025_06_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}" where mtr_portfolio_id = 20851819 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20851819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095823, 0.1046235149958549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_27-02-2025_06_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20852478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618772, 'mtr_portfolio_id': 20852478, 'created_at': datetime.datetime(2025, 2, 27, 6, 3, 32), 'result': '0.1117658958276012', 'result_long': None, 'result_double': None}] Qualite : 0.1117658958276012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20852478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_27-02-2025_06_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20852478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_27-02-2025_06_03_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}" where mtr_portfolio_id = 20852478 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20852478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095824, 0.1117658958276012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_27-02-2025_06_03_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20852902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618773, 'mtr_portfolio_id': 20852902, 'created_at': datetime.datetime(2025, 2, 27, 6, 4), 'result': '0.10476260694784911', 'result_long': None, 'result_double': None}] Qualite : 0.10476260694784911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20852902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_27-02-2025_06_04_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20852902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_27-02-2025_06_04_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}" where mtr_portfolio_id = 20852902 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20852902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095825, 0.10476260694784911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_27-02-2025_06_04_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20854055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618774, 'mtr_portfolio_id': 20854055, 'created_at': datetime.datetime(2025, 2, 27, 6, 4, 30), 'result': '0.11609178189363796', 'result_long': None, 'result_double': None}] Qualite : 0.11609178189363796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20854055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_27-02-2025_06_04_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20854055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_27-02-2025_06_04_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}" where mtr_portfolio_id = 20854055 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20854055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095826, 0.11609178189363796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_27-02-2025_06_04_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20854419 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618775, 'mtr_portfolio_id': 20854419, 'created_at': datetime.datetime(2025, 2, 27, 6, 5, 31), 'result': '0.10361750841493632', 'result_long': None, 'result_double': None}] Qualite : 0.10361750841493632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20854419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_27-02-2025_06_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20854419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_27-02-2025_06_05_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}" where mtr_portfolio_id = 20854419 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20854419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095827, 0.10361750841493632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_27-02-2025_06_05_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20855468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618776, 'mtr_portfolio_id': 20855468, 'created_at': datetime.datetime(2025, 2, 27, 6, 6), 'result': '0.10281763738732434', 'result_long': None, 'result_double': None}] Qualite : 0.10281763738732434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20855468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_27-02-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20855468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_27-02-2025_06_06_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}" where mtr_portfolio_id = 20855468 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20855468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095828, 0.10281763738732434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_27-02-2025_06_06_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20856043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618777, 'mtr_portfolio_id': 20856043, 'created_at': datetime.datetime(2025, 2, 27, 6, 6, 31), 'result': '0.09720227679443563', 'result_long': None, 'result_double': None}] Qualite : 0.09720227679443563 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_27-02-2025_06_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_27-02-2025_06_06_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}" where mtr_portfolio_id = 20856043 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20856043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095829, 0.09720227679443563, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_27-02-2025_06_06_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20856419 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618778, 'mtr_portfolio_id': 20856419, 'created_at': datetime.datetime(2025, 2, 27, 6, 6, 59), 'result': '0.10666733861343768', 'result_long': None, 'result_double': None}] Qualite : 0.10666733861343768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}" where mtr_portfolio_id = 20856419 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20856419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095830, 0.10666733861343768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_27-02-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20856900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618779, 'mtr_portfolio_id': 20856900, 'created_at': datetime.datetime(2025, 2, 27, 6, 7, 30), 'result': '0.11599642624213988', 'result_long': None, 'result_double': None}] Qualite : 0.11599642624213988 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_27-02-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_27-02-2025_06_07_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}" where mtr_portfolio_id = 20856900 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20856900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095831, 0.11599642624213988, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_27-02-2025_06_07_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20857448 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618780, 'mtr_portfolio_id': 20857448, 'created_at': datetime.datetime(2025, 2, 27, 6, 7, 57), 'result': '0.12041411136073833', 'result_long': None, 'result_double': None}] Qualite : 0.12041411136073833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20857448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_27-02-2025_06_07_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20857448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_27-02-2025_06_07_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}" where mtr_portfolio_id = 20857448 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20857448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095832, 0.12041411136073833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_27-02-2025_06_07_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20857573 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618781, 'mtr_portfolio_id': 20857573, 'created_at': datetime.datetime(2025, 2, 27, 6, 8, 36), 'result': '0.12380455678315229', 'result_long': None, 'result_double': None}] Qualite : 0.12380455678315229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20857573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_27-02-2025_06_08_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20857573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_27-02-2025_06_08_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}" where mtr_portfolio_id = 20857573 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20857573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095833, 0.12380455678315229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_27-02-2025_06_08_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20858422 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617931, 'mtr_portfolio_id': 20858422, 'created_at': datetime.datetime(2025, 2, 26, 23, 3), 'result': '0.12031977115887663', 'result_long': None, 'result_double': None}] Qualite : 0.12031977115887663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20858422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20858422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}" where mtr_portfolio_id = 20858422 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20858422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095834, 0.12031977115887663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20858789 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617957, 'mtr_portfolio_id': 20858789, 'created_at': datetime.datetime(2025, 2, 26, 23, 17, 27), 'result': '0.1297871421903699', 'result_long': None, 'result_double': None}] Qualite : 0.1297871421903699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20858789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20858789 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}" where mtr_portfolio_id = 20858789 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20858789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095835, 0.1297871421903699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20859314 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617982, 'mtr_portfolio_id': 20859314, 'created_at': datetime.datetime(2025, 2, 26, 23, 36, 31), 'result': '0.1158730903107423', 'result_long': None, 'result_double': None}] Qualite : 0.1158730903107423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20859314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20859314 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}" where mtr_portfolio_id = 20859314 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20859314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095836, 0.1158730903107423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20859884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618015, 'mtr_portfolio_id': 20859884, 'created_at': datetime.datetime(2025, 2, 26, 23, 49, 29), 'result': '0.10968201934970113', 'result_long': None, 'result_double': None}] Qualite : 0.10968201934970113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20859884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20859884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}" where mtr_portfolio_id = 20859884 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20859884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095837, 0.10968201934970113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20860315 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618038, 'mtr_portfolio_id': 20860315, 'created_at': datetime.datetime(2025, 2, 27, 1, 1, 31), 'result': '0.12118769587984397', 'result_long': None, 'result_double': None}] Qualite : 0.12118769587984397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20860315 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20860315 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, 'pht': 3726}}" where mtr_portfolio_id = 20860315 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20860315 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095838, 0.12118769587984397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, '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 (20822915,20823244,20823623,20823915,20824472,20825065,20825658,20826103,20826652,20826951,20827919,20828584,20829246,20829828,20830367,20831063,20832581,20832732,20833362,20833879,20834422,20835080,20835982,20836575,20837208,20838192,20838686,20840618,20840746,20841272,20841741,20842109,20842535,20843062,20843891,20844521,20844984,20845790,20846033,20846799,20848465,20848689,20848890,20849515,20850107,20850765,20851198,20851819,20852478,20852902,20854055,20854419,20855468,20856043,20856419,20856900,20857448,20857573,20858422,20858789,20859314,20859884,20860315) result : ((1339668466,), (1339668468,), (1339668482,), (1339668497,), (1339668499,), (1339668500,), (1339668510,), (1339668516,), (1339668519,), (1339668522,), (1339668531,), (1339668533,), (1339668536,), (1339668546,), (1339668549,), (1339668569,), (1339668697,), (1339668700,), (1339668947,), (1339668950,), (1339669239,), (1339669304,), (1339669649,), (1339669651,), (1339669676,), (1339669682,), (1339669685,), (1339670001,), (1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,), (1339670444,), (1339670447,), (1339670459,), (1339670467,), (1339670469,), (1339670481,), (1339670486,), (1339670490,), (1339670493,), (1339670523,), (1339670549,), (1339670552,), (1339670554,), (1339670557,), (1339670567,), (1339670570,), (1339670573,), (1339670575,), (1339670577,), (1339670579,), (1339670588,), (1339670592,), (1339670594,), (1339670597,), (1339670599,), (1339670612,), (1339670615,), (1339670618,), (1339670620,), (1339670623,), (1339670633,), (1339670639,), (1339670645,), (1339670649,), (1339670651,), (1339670683,), (1339670672,), (1339670674,), (1339670677,), (1339670679,), (1339670699,), (1339670706,), (1339670709,), (1339670712,), (1339670729,), (1339670732,), (1339670735,), (1339670738,), (1339670777,), (1339670800,), (1339671343,), (1339671346,), (1339671349,), (1339671353,), (1339671361,), (1339671625,), (1339671628,), (1339671631,), (1339671633,), (1339671643,), (1339671651,), (1339671662,), (1339671665,), (1339671668,), (1339671671,), (1339671673,), (1339671690,), (1339671693,), (1339671695,), (1339671698,), (1339671701,), (1339671703,), (1339672083,), (1339672087,), (1339672091,), (1339672094,), (1339672101,), (1339672104,), (1339672107,), (1339672109,), (1339672112,), (1339672114,), (1339672121,), (1339672124,), (1339672127,), (1339672157,), (1339672136,), (1339672139,), (1339672141,), (1339672144,), (1339672148,), (1339672167,), (1339672169,), (1339672172,), (1339672174,), (1339672188,), (1339672191,), (1339672194,), (1339672197,), (1339672199,), (1339672203,), (1339672219,), (1339672223,), (1339672230,), (1339672237,), (1339672240,), (1339672284,), (1339672287,), (1339672290,), (1339672293,), (1339672301,), (1339672306,), (1339672354,), (1339672357,), (1339672360,), (1339672362,), (1339672371,), (1339672374,), (1339672376,), (1339672379,), (1339672411,), (1339672414,), (1339672417,), (1339672420,), (1339672423,), (1339672425,), (1339672451,), (1339672455,), (1339672457,), (1339672460,), (1339672576,), (1339672579,), (1339672583,), (1339672595,), (1339672665,), (1339672745,), (1339673187,), (1339673190,), (1339673222,), (1339673247,), (1339673250,), (1339673253,), (1339673282,), (1339673285,), (1339673308,), (1339673311,), (1339673313,), (1339673316,), (1339673318,), (1339673320,), (1339673325,), (1339673327,), (1339673329,), (1339673331,), (1339673363,), (1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,), (1339674858,), (1339674687,), (1339674779,), (1339674782,), (1339674800,), (1339674846,), (1339674873,), (1339674878,), (1339674881,), (1339674884,), (1339674886,), (1339674903,), (1339674905,), (1339674908,), (1339674924,), (1339674931,), (1339674948,), (1339674950,), (1339674953,), (1339674956,), (1339674959,), (1339674961,), (1339674985,), (1339674992,), (1339674995,), (1339674997,), (1339675004,), (1339675092,), (1339675121,), (1339675124,), (1339675136,), (1339675208,), (1339675393,), (1339675396,), (1339675399,), (1339675402,), (1339675403,), (1339675423,), (1339675426,), (1339675429,), (1339675431,), (1339675437,), (1339675441,), (1339675445,), (1339675447,), (1339675451,), (1339675457,), (1339675479,), (1339675483,), (1339675486,), (1339675490,), (1339675492,), (1339675506,), (1339675508,), (1339675511,), (1339675514,), (1339675517,), (1339675519,), (1339675526,), (1339675528,), (1339675531,), (1339675537,), (1339675561,), (1339675564,), (1339675567,), (1339675570,), (1339675572,), (1339675574,), (1339675578,), (1339675586,), (1339675589,), (1339675591,), (1339675592,), (1339675608,), (1339675611,), (1339675614,), (1339675616,), (1339675657,), (1339675625,), (1339675636,), (1339675643,), (1339675647,), (1339675650,), (1339675671,), (1339675676,), (1339675680,), (1339675685,), (1339675709,), (1339675800,), (1339675954,), (1339676114,), (1339676246,), (1339676268,), (1339676406,), (1339676409,), (1339676450,), (1339676454,), (1339676476,), (1339676478,), (1339676483,), (1339676492,), (1339676498,), (1339676500,), (1339676507,), (1339676510,), (1339676514,), (1339676518,), (1339676522,), (1339676549,), (1339676553,), (1339676557,), (1339676561,), (1339676565,), (1339676568,), (1339676571,), (1339676581,), (1339676585,), (1339676588,), (1339676610,), (1339676615,), (1339676619,), (1339676623,), (1339676627,), (1339676629,), (1339676656,), (1339676658,), (1339676661,), (1339676664,), (1339676802,), (1339676805,), (1339676808,), (1339676811,), (1339676813,), (1339676815,), (1339676841,), (1339676844,), (1339676847,), (1339676853,), (1339676854,), (1339676880,), (1339676883,), (1339676886,), (1339676889,), (1339676891,), (1339676905,), (1339676907,), (1339676910,), (1339676913,), (1339676917,), (1339676924,), (1339676938,), (1339676952,), (1339676959,), (1339676971,), (1339677059,), (1339677040,), (1339677044,), (1339677050,), (1339677053,), (1339677057,), (1339677098,), (1339677115,), (1339677121,), (1339677125,), (1339677128,), (1339677137,), (1339677140,), (1339677145,), (1339677162,), (1339677172,), (1339677176,), (1339677189,), (1339677193,), (1339677196,), (1339677200,), (1339677205,), (1339677206,), (1339677222,), (1339677224,), (1339677236,), (1339677242,), (1339677269,), (1339677271,), (1339677273,), (1339677275,), (1339677276,), (1339677277,), (1339677292,), (1339677294,), (1339677296,), (1339677298,), (1339677392,), (1339677394,), (1339677397,), (1339677400,), (1339677402,), (1339677404,), (1339677418,), (1339677421,), (1339677423,), (1339677426,), (1339677456,), (1339677458,), (1339677461,), (1339677464,), (1339677467,), (1339677469,), (1339677481,), (1339677484,), (1339677486,), (1339677489,), (1339677492,), (1339677494,), (1339677518,), (1339677520,), (1339677522,), (1339677526,), (1339677567,), (1339677570,), (1339677582,), (1339677591,), (1339677594,), (1339677596,), (1339677619,), (1339677621,), (1339677623,), (1339677625,), (1339677634,), (1339677638,), (1339677642,), (1339677646,), (1339677649,), (1339677682,), (1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,), (1339679262,), (1339679263,), (1339679384,), (1339679396,), (1339679402,), (1339679408,), (1339678930,), (1339678931,), (1339678932,), (1339678934,), (1339678939,), (1339678963,), (1339678976,), (1339678982,), (1339678987,), (1339679028,), (1339679031,), (1339679039,), (1339679043,), (1339679046,), (1339679049,), (1339679060,), (1339679065,), (1339679070,), (1339679078,), (1339679144,), (1339679153,), (1339679160,), (1339679161,), (1339679209,), (1339679211,), (1339679214,), (1339679219,), (1339679225,), (1339679231,), (1339679245,), (1339679250,), (1339679256,), (1339679261,), (1339679428,), (1339679432,), (1339679437,), (1339679442,), (1339679446,), (1339679449,), (1339679478,), (1339679563,), (1339679662,), (1339679762,), (1339679861,), (1339679944,), (1339680170,), (1339680172,), (1339680178,), (1339680180,), (1339680184,), (1339680484,), (1339680488,), (1339680552,), (1339680568,), (1339680573,), (1339680576,), (1339680612,), (1339680614,), (1339680618,), (1339680623,), (1339680671,), (1339680674,), (1339680677,), (1339680680,), (1339680682,), (1339680684,), (1339680729,), (1339680737,), (1339680740,), (1339680743,), (1339680747,), (1339680804,), (1339680809,), (1339680815,), (1339680836,), (1339680932,), (1339682038,), (1339681964,), (1339682025,), (1339682028,), (1339682031,), (1339682036,), (1339682067,), (1339682072,), (1339682077,), (1339682084,), (1339682089,), (1339682111,), (1339682125,), (1339682129,), (1339682133,), (1339682135,), (1339682136,), (1339682162,), (1339682168,), (1339682174,), (1339682182,), (1339682196,), (1339682228,), (1339682233,), (1339682237,), (1339682243,), (1339683087,), (1339683154,), (1339683244,), (1339683292,), (1339683295,), (1339683346,), (1339683373,), (1339683379,), (1339683384,), (1339683388,), (1339683421,), (1339683425,), (1339683429,), (1339683433,), (1339683435,), (1339683441,), (1339683493,), (1339683497,), (1339683501,), (1339683506,), (1339683547,), (1339683551,), (1339683556,), (1339683561,), (1339683565,), (1339683568,), (1339683629,), (1339683634,), (1339683639,), (1339683645,), (1339683648,), (1339683665,), (1339683677,), (1339683683,), (1339683688,), (1339683736,), (1339683742,), (1339683746,), (1339683750,), (1339683826,), (1339683844,), (1339683848,), (1339683852,), (1339683857,), (1339683864,), (1339683887,), (1339683891,), (1339683894,), (1339683897,), (1339684022,), (1339683913,), (1339683917,), (1339683931,), (1339683937,), (1339683940,), (1339684195,), (1339684199,), (1339684203,), (1339684207,), (1339684239,), (1339684243,), (1339684249,), (1339684252,), (1339684255,), (1339684259,), (1339684297,), (1339684302,), (1339684305,), (1339684310,), (1339684314,), (1339684347,), (1339684351,), (1339684354,), (1339684358,), (1339684399,), (1339684405,), (1339684410,), (1339684415,), (1339684419,), (1339684421,), (1339684444,), (1339684448,), (1339684453,), (1339684457,), (1339684501,), (1339684509,), (1339684514,), (1339684518,), (1339684521,), (1339684627,), (1339684630,), (1339684635,), (1339684639,), (1339684643,), (1339684646,), (1339684680,), (1339684684,), (1339684688,), (1339684691,), (1339684708,), (1339684711,), (1339684715,), (1339684717,), (1339684725,), (1339684729,), (1339684739,), (1339684742,), (1339684745,), (1339684747,), (1339684771,), (1339684776,), (1339684780,), (1339684785,), (1339684821,), (1339684919,), (1339685103,), (1339685110,), (1339685113,), (1339685119,), (1339685168,), (1339685153,), (1339685157,), (1339685160,), (1339685164,), (1339685196,), (1339685201,), (1339685205,), (1339685214,), (1339685230,), (1339685701,), (1339685705,), (1339685733,), (1339685737,), (1339685758,), (1339685779,), (1339685828,), (1339685832,), (1339685837,), (1339685842,), (1339685886,), (1339685896,), (1339685903,), (1339685914,), (1339685918,), (1339685943,), (1339685946,), (1339685948,), (1339685951,), (1339685955,), (1339685988,), (1339686075,), (1339686084,), (1339686091,), (1339686101,), (1339686216,), (1339686311,), (1339686332,), (1339686335,), (1339686338,), (1339686379,), (1339686383,), (1339686386,), (1339686389,), (1339686391,), (1339686421,), (1339686426,), (1339686440,), (1339686447,), (1339686450,), (1339686453,), (1339686491,), (1339686495,), (1339686508,), (1339686524,), (1339686550,), (1339686551,), (1339686556,), (1339686560,), (1339686564,), (1339686568,), (1339686595,), (1339686599,), (1339686603,), (1339686606,), (1339686631,), (1339686635,), (1339686640,), (1339686643,), (1339686646,), (1339686648,), (1339686695,), (1339686697,), (1339686700,), (1339687126,), (1339686733,), (1339686946,), (1339686971,), (1339686975,), (1339687107,), (1339687193,), (1339687198,), (1339687203,), (1339687205,), (1339687262,), (1339687267,), (1339687270,), (1339687275,), (1339687278,), (1339687280,), (1339687329,), (1339687339,), (1339687343,), (1339687348,), (1339687351,), (1339687377,), (1339687381,), (1339687385,), (1339687388,), (1339687392,), (1339687394,), (1339687424,), (1339687428,), (1339687432,), (1339687435,), (1339687546,), (1339687551,), (1339687556,), (1339687568,), (1339687576,), (1339687579,), (1339687591,), (1339687596,), (1339687601,), (1339688076,), (1339688132,), (1339688166,), (1339688179,), (1339688195,), (1339688198,), (1339688286,), (1339688291,), (1339688297,), (1339688304,), (1339688329,), (1339688333,), (1339688336,), (1339688340,), (1339688348,), (1339688372,), (1339688376,), (1339688381,), (1339688385,), (1339688408,), (1339688412,), (1339688417,), (1339688464,), (1339688467,), (1339688472,), (1339688476,), (1339688480,), (1339688482,), (1339688505,), (1339688509,), (1339688512,), (1339688570,), (1339688561,), (1339688565,), (1339688568,), (1339688631,), (1339688634,), (1339688636,), (1339688639,), (1339688642,), (1339688684,), (1339688689,), (1339688701,), (1339688709,), (1339688712,), (1339688715,), (1339688763,), (1339688766,), (1339688769,), (1339688771,), (1339688823,), (1339688832,), (1339688838,), (1339688842,), (1339688844,), (1339688881,), (1339688884,), (1339688886,), (1339688890,), (1339688897,), (1339688926,), (1339688929,), (1339688933,), (1339688936,), (1339688940,), (1339688974,), (1339688977,), (1339688981,), (1339688985,), (1339688988,), (1339689009,), (1339689019,), (1339689024,), (1339689032,), (1339689076,), (1339689084,), (1339689089,), (1339689092,), (1339689097,), (1339689147,), (1339689154,), (1339689282,), (1339689290,), (1339689299,), (1339689303,), (1339689306,), (1339689381,), (1339689385,), (1339689389,), (1339689417,), (1339689421,), (1339689424,), (1339689428,), (1339689431,), (1339689434,), (1339689471,), (1339689474,), (1339689478,), (1339689482,), (1339689486,), (1339689560,), (1339689525,), (1339689540,), (1339689544,), (1339689552,), (1339689556,), (1339689582,), (1339689585,), (1339689589,), (1339689593,), (1339689597,), (1339689621,), (1339689625,), (1339689630,), (1339689650,), (1339689655,), (1339689659,), (1339689677,), (1339689681,), (1339689686,), (1339689691,), (1339689733,), (1339689743,), (1339689748,), (1339689752,), (1339689754,), (1339689756,), (1339689781,), (1339689786,), (1339689789,), (1339689793,), (1339689815,), (1339689818,), (1339689821,), (1339689825,), (1339689828,), (1339689834,), (1339690002,), (1339690043,), (1339690045,), (1339690049,), (1339690126,), (1339690130,), (1339690133,), (1339690136,), (1339690140,), (1339690188,), (1339690195,), (1339690207,), (1339690222,), (1339690227,), (1339690260,), (1339690269,), (1339690273,), (1339690304,), (1339690352,), (1339690357,), (1339690362,), (1339690367,), (1339690370,), (1339690372,), (1339690473,), (1339690483,), (1339690496,), (1339690544,), (1339690664,), (1339690669,), (1339690672,), (1339690676,), (1339690679,), (1339690681,), (1339690742,), (1339695637,), (1339696919,), (1339696956,), (1339696961,), (1339696965,), (1339696997,), (1339697004,), (1339697012,), (1339697101,), (1339697197,), (1339697202,), (1339697206,), (1339697210,), (1339697213,), (1339697266,), (1339697241,), (1339697246,), (1339697253,), (1339697260,), (1339697262,), (1339697288,), (1339697292,), (1339697298,), (1339697351,), (1339697356,), (1339697361,), (1339697366,), (1339697369,), (1339697372,), (1339698030,), (1339698138,), (1339698152,), (1339698171,), (1339698176,), (1339698201,), (1339698425,), (1339698436,), (1339698660,), (1339698664,), (1339698668,), (1339698672,), (1339698712,), (1339698717,), (1339698754,), (1339698758,), (1339698762,), (1339698766,), (1339698880,), (1339698890,), (1339698894,), (1339698897,), (1339698900,), (1339698919,), (1339698923,), (1339698927,), (1339698931,), (1339698934,), (1339698950,), (1339699112,), (1339699121,), (1339699128,), (1339699178,), (1339699181,), (1339699184,), (1339699185,), (1339699188,), (1339699253,), (1339699292,), (1339699295,), (1339699298,), (1339699301,), (1339699332,), (1339699335,), (1339699339,), (1339699349,), (1339699494,), (1339699498,), (1339699501,), (1339699504,), (1339699507,), (1339699510,), (1339699575,), (1339699549,), (1339699555,), (1339699565,), (1339699571,), (1339699600,), (1339699604,), (1339699607,), (1339699610,), (1339699652,), (1339699656,), (1339699660,), (1339699664,), (1339699667,), (1339700206,), (1339700214,), (1339700244,), (1339700247,), (1339700255,), (1339700301,), (1339700326,), (1339700333,), (1339700340,), (1339700386,), (1339700392,), (1339700396,), (1339700400,), (1339700404,), (1339700432,), (1339700442,), (1339700467,), (1339700530,), (1339700562,), (1339700567,), (1339700571,), (1339700574,), (1339700625,), (1339700628,), (1339700632,), (1339700636,), (1339700768,), (1339700778,), (1339700782,), (1339700832,), (1339700835,), (1339700859,), (1339701009,), (1339701055,), (1339701478,), (1339701667,), (1339701717,), (1339701784,), (1339701792,), (1339701796,), (1339701801,), (1339701804,), (1339701810,), (1339701818,), (1339701824,), (1339701865,), (1339701869,), (1339701957,), (1339701962,), (1339701966,), (1339701971,), (1339701976,), (1339701981,), (1339702074,), (1339702078,), (1339702087,), (1339702090,), (1339702101,), (1339702125,), (1339702129,), (1339702133,), (1339702149,), (1339702203,), (1339702356,), (1339702370,), (1339702381,), (1339702385,), (1339702391,), (1339702434,), (1339702437,), (1339702443,), (1339702448,), (1339702453,), (1339702467,), (1339702482,), (1339702488,), (1339702493,), (1339702496,), (1339702497,), (1339702520,), (1339702524,), (1339702530,), (1339702543,), (1339702556,), (1339702591,), (1339702598,), (1339702605,), (1339702612,), (1339702618,), (1339702675,), (1339702640,), (1339702644,), (1339702649,), (1339702670,), (1339702738,), (1339702741,), (1339702787,), (1339702793,), (1339702798,), (1339702802,), (1339702854,), (1339702866,), (1339702881,), (1339703019,), (1339703190,), (1339703194,), (1339703450,), (1339703536,), (1339703816,), (1339703907,), (1339703914,), (1339703920,), (1339703924,), (1339703935,), (1339703957,), (1339703961,), (1339703983,), (1339703994,), (1339704005,), (1339704067,), (1339704071,), (1339704092,), (1339704097,), (1339704101,), (1339704188,), (1339704193,), (1339704197,), (1339704201,), (1339704233,), (1339704243,), (1339704297,), (1339704300,), (1339704305,), (1339704307,), (1339704311,), (1339704339,), (1339704343,), (1339704347,), (1339704351,), (1339704386,), (1339704388,), (1339704391,), (1339704394,), (1339704398,), (1339704401,), (1339704427,), (1339704429,), (1339704432,), (1339704469,), (1339704473,), (1339704482,), (1339704489,), (1339704492,), (1339704496,), (1339704534,), (1339704536,), (1339704539,), (1339704543,), (1339704617,), (1339704622,), (1339704787,), (1339704783,), (1339704785,), (1339704824,), (1339704830,), (1339704837,), (1339704841,), (1339704844,), (1339704891,), (1339704899,), (1339704904,), (1339704914,), (1339704922,), (1339705009,), (1339705011,), (1339705023,), (1339705040,), (1339705051,), (1339705119,), (1339705123,), (1339705128,), (1339705132,), (1339705223,), (1339705227,), (1339705232,), (1339705236,), (1339705288,), (1339705301,), (1339705313,), (1339705325,), (1339705328,), (1339705334,), (1339705360,), (1339705364,), (1339705373,), (1339705382,), (1339705385,), (1339705415,), (1339705424,), (1339705428,), (1339705438,), (1339705449,), (1339705453,), (1339705475,), (1339705499,), (1339705509,), (1339705515,), (1339705516,), (1339705521,), (1339705549,), (1339705554,), (1339705558,), (1339705603,), (1339705614,), (1339705620,), (1339705623,), (1339705624,), (1339705626,), (1339705685,), (1339705687,), (1339705692,), (1339705695,), (1339705699,), (1339705959,), (1339705971,), (1339705973,), (1339705980,), (1339706000,), (1339706020,), (1339706046,), (1339706070,), (1339706076,), (1339706095,), (1339706085,), (1339706088,), (1339706091,), (1339706145,), (1339706149,), (1339706152,), (1339706155,), (1339706161,), (1339706218,), (1339706221,), (1339706226,), (1339706229,), (1339706260,), (1339706262,), (1339706620,), (1339706743,), (1339706868,), (1339706871,), (1339707135,), (1339707139,), (1339707143,), (1339707195,), (1339707204,), (1339707229,), (1339707232,), (1339707236,), (1339707238,), (1339707241,), (1339707340,), (1339707343,), (1339707349,), (1339707353,), (1339707467,), (1339707475,), (1339707486,), (1339707489,), (1339707518,), (1339707527,), (1339707546,), (1339707651,), (1339707677,), (1339707710,), (1339707720,), (1339707731,), (1339707736,), (1339707743,), (1339707747,), (1339707773,), (1339707776,), (1339707780,), (1339707787,), (1339707858,), (1339707861,), (1339707865,), (1339707869,), (1339707873,), (1339707876,), (1339707892,), (1339707897,), (1339707902,), (1339707909,), (1339707915,), (1339707925,), (1339707948,), (1339707951,), (1339707957,), (1339707963,), (1339708046,), (1339708050,), (1339708054,), (1339708058,), (1339708061,), (1339708064,), (1339708096,), (1339708079,), (1339708083,), (1339708087,), (1339708090,), (1339708094,), (1339708119,), (1339708128,), (1339708132,), (1339708136,), (1339708158,), (1339708162,), (1339708166,), (1339708172,), (1339708175,), (1339708177,), (1339708604,), (1339708607,), (1339708614,), (1339708852,), (1339708856,), (1339708863,), (1339708874,), (1339708889,), (1339708897,), (1339708921,), (1339708925,), (1339708930,), (1339708943,), (1339709026,), (1339709034,), (1339709038,), (1339709042,), (1339709087,), (1339709093,), (1339709104,), (1339709108,), (1339709112,), (1339709118,), (1339709155,), (1339709180,), (1339709185,), (1339709189,), (1339709217,), (1339709223,), (1339709230,), (1339709237,), (1339709243,), (1339709247,), (1339709287,), (1339709293,), (1339709301,), (1339709309,), (1339709571,), (1339709575,), (1339709580,), (1339709585,), (1339709590,), (1339709593,), (1339709625,), (1339709637,), (1339709642,), (1339709648,), (1339709727,), (1339709735,), (1339709742,), (1339709755,), (1339709761,), (1339709822,), (1339709831,), (1339709837,), (1339709843,), (1339710104,), (1339710081,), (1339710086,), (1339710091,), (1339710093,), (1339710098,), (1339710127,), (1339710145,), (1339710170,), (1339710189,), (1339710206,), (1339710211,), (1339710310,), (1339710314,), (1339710318,), (1339710322,), (1339710693,), (1339710820,), (1339710824,), (1339710830,), (1339710835,), (1339710845,), (1339711014,), (1339711024,), (1339711035,), (1339711039,), (1339711052,), (1339711313,), (1339711320,), (1339711325,), (1339711335,), (1339711345,), (1339711356,), (1339711381,), (1339711390,), (1339711403,), (1339711418,), (1339711443,), (1339711446,), (1339711451,), (1339711455,), (1339711462,), (1339711512,), (1339711515,), (1339711518,), (1339711525,), (1339711533,), (1339711538,), (1339711578,), (1339711582,), (1339711584,), (1339711587,), (1339711591,), (1339711641,), (1339711644,), (1339711649,), (1339711653,), (1339711695,), (1339711699,), (1339711702,), (1339711706,), (1339711715,), (1339711723,), (1339711774,), (1339711777,), (1339711781,), (1339711792,), (1339712023,), (1339712027,), (1339712032,), (1339712037,), (1339712041,), (1339712045,), (1339712084,), (1339712090,), (1339712096,), (1339712102,), (1339712105,), (1339712265,), (1339712249,), (1339712254,), (1339712425,), (1339712429,), (1339712434,), (1339712438,), (1339712559,), (1339712568,), (1339712573,), (1339712578,), (1339712584,), (1339712781,), (1339712786,), (1339712792,), (1339712799,), (1339712815,), (1339712946,), (1339713003,), (1339713009,), (1339713013,), (1339713017,), (1339713020,), (1339713057,), (1339713062,), (1339713067,), (1339713073,), (1339713092,), (1339713097,), (1339713102,), (1339713107,), (1339713110,), (1339713114,), (1339713210,), (1339713314,), (1339713429,), (1339713528,), (1339714004,), (1339714024,), (1339714031,), (1339714038,), (1339714067,), (1339714070,), (1339714111,), (1339714116,), (1339714120,), (1339714145,), (1339714198,), (1339714351,), (1339714391,), (1339714454,), (1339714459,), (1339714466,), (1339714469,), (1339714541,), (1339714555,), (1339714603,), (1339714609,), (1339714614,), (1339714631,), (1339714636,), (1339714652,), (1339714659,), (1339714674,), (1339714679,), (1339714759,), (1339714766,), (1339714813,), (1339714860,), (1339714848,), (1339714854,), (1339714858,), (1339714859,), (1339715427,), (1339715509,), (1339715603,), (1339715636,), (1339715638,), (1339715676,), (1339715679,), (1339715680,), (1339715685,), (1339715727,), (1339715761,), (1339715880,), (1339715884,), (1339715888,), (1339715891,), (1339716007,), (1339716051,), (1339716085,), (1339716142,), (1339716169,), (1339716239,), (1339716512,), (1339716518,), (1339716521,), (1339716524,), (1339716705,), (1339716708,), (1339716748,), (1339716751,), (1339716800,), (1339716804,), (1339716871,), (1339716874,), (1339716876,), (1339716889,), (1339716899,), (1339716903,), (1339716906,), (1339716909,), (1339716910,), (1339716922,), (1339716926,), (1339716929,), (1339716933,), (1339716947,), (1339716950,), (1339718405,), (1339726407,), (1339726784,), (1339727598,), (1339727735,), (1339728196,), (1339728609,), (1339728788,), (1339728793,), (1339728796,), (1339728799,), (1339728802,), (1339728807,), (1339728864,), (1339728868,), (1339728871,), (1339728875,), (1339728986,), (1339728993,), (1339729028,), (1339729041,), (1339729067,), (1339729254,), (1339729187,), (1339729193,), (1339729197,), (1339729318,), (1339729322,), (1339729699,), (1339729713,), (1339729823,), (1339729845,), (1339729849,), (1339729854,), (1339729866,), (1339729917,), (1339729935,), (1339729939,), (1339729991,), (1339730000,), (1339730005,), (1339730050,), (1339730056,), (1339730061,), (1339730066,), (1339730070,), (1339730074,), (1339730178,), (1339730196,), (1339730298,), (1339730365,), (1339730371,), (1339730377,), (1339730430,), (1339730461,), (1339730465,), (1339730523,), (1339730528,), (1339730533,), (1339730543,), (1339730644,), (1339730648,), (1339730656,), (1339730663,), (1339730696,), (1339730700,), (1339730703,), (1339730909,), (1339731000,), (1339731129,), (1339731157,), (1339731495,), (1339731506,), (1339731511,), (1339731515,), (1339731518,), (1339731521,), (1339731560,), (1339731546,), (1339731549,), (1339731553,), (1339731557,), (1339731579,), (1339731582,), (1339731585,), (1339731588,), (1339731591,), (1339731594,), (1339731610,), (1339731613,), (1339731616,), (1339731619,), (1339731622,), (1339731641,), (1339731644,), (1339731647,), (1339731650,), (1339731653,), (1339731674,), (1339731681,), (1339731687,), (1339731693,), (1339731699,), (1339731721,), (1339731727,), (1339731733,), (1339731738,), (1339731744,), (1339731747,), (1339732139,), (1339732213,), (1339732351,), (1339732498,), (1339732533,), (1339732539,), (1339732549,), (1339732558,), (1339732660,), (1339732830,), (1339732928,), (1339732946,), (1339732952,), (1339732959,), (1339732963,), (1339732969,), (1339733199,), (1339733204,), (1339733639,), (1339733596,), (1339733825,), (1339733891,), (1339733895,), (1339733899,), (1339733902,), (1339733923,), (1339733929,), (1339733933,), (1339733937,), (1339733961,), (1339733966,), (1339733972,), (1339733991,), (1339733994,), (1339733999,), (1339734003,), (1339734009,), (1339734012,), (1339734034,), (1339734039,), (1339734044,), (1339734500,), (1339734514,), (1339734519,), (1339734704,), (1339734708,), (1339734738,), (1339734743,), (1339734784,), (1339734787,), (1339734792,), (1339734854,), (1339734827,), (1339734830,), (1339734838,), (1339734844,), (1339734886,), (1339734897,), (1339734933,), (1339735295,), (1339735338,), (1339735374,), (1339735378,), (1339736089,), (1339736851,), (1339736933,), (1339737190,), (1339737213,), (1339737216,), (1339737219,), (1339737344,), (1339737385,), (1339737389,), (1339737590,), (1339737596,), (1339737601,), (1339737605,), (1339737607,), (1339737677,), (1339737680,), (1339737684,), (1339737797,), (1339737801,), (1339737806,), (1339737812,), (1339737919,), (1339737923,), (1339737926,), (1339738108,), (1339738130,), (1339738135,), (1339738141,), (1339738146,), (1339738149,), (1339738234,), (1339738237,), (1339738240,), (1339738297,), (1339738306,), (1339738310,), (1339738314,), (1339738410,), (1339738422,), (1339738424,), (1339738440,), (1339738446,), (1339738453,), (1339738504,), (1339738506,), (1339738509,), (1339738512,), (1339738572,), (1339738575,), (1339738633,), (1339738677,), (1339738681,), (1339738685,), (1339738736,), (1339738743,), (1339738746,), (1339738751,), (1339738757,), (1339738770,), (1339738784,), (1339738787,), (1339738796,), (1339738802,), (1339738829,), (1339738815,), (1339738818,), (1339738821,), (1339738890,), (1339738897,), (1339738924,), (1339738937,), (1339738951,), (1339738960,), (1339739104,), (1339739109,), (1339739113,), (1339739159,), (1339739162,), (1339739175,), (1339739179,), (1339739182,), (1339739252,), (1339739283,), (1339739288,), (1339739294,), (1339739300,), (1339739343,), (1339739348,), (1339739352,), (1339739928,), (1339739934,), (1339739940,), (1339739943,), (1339739947,), (1339740185,), (1339740190,), (1339740195,), (1339740204,), (1339740213,), (1339740243,), (1339740253,), (1339740258,), (1339740263,), (1339740282,), (1339740287,), (1339740292,), (1339740323,), (1339740332,), (1339740339,), (1339740344,), (1339740349,), (1339740353,), (1339740386,), (1339740389,), (1339740395,), (1339740400,), (1339740461,), (1339740478,), (1339740484,), (1339740489,), (1339740495,), (1339740552,), (1339740557,), (1339740561,), (1339740564,), (1339740597,), (1339740618,), (1339740622,), (1339740627,), (1339740996,), (1339740938,), (1339740954,), (1339740968,), (1339741028,), (1339741050,), (1339741060,), (1339741066,), (1339741069,), (1339741072,), (1339741162,), (1339741167,), (1339741171,), (1339741176,), (1339741206,), (1339741214,), (1339741221,), (1339741226,), (1339741237,), (1339741356,), (1339741360,), (1339741366,), (1339741371,), (1339741375,), (1339741377,), (1339741544,), (1339741549,), (1339741554,), (1339741557,), (1339741751,), (1339741758,), (1339741766,), (1339741808,), (1339741817,), (1339741822,), (1339741870,), (1339741879,), (1339741891,), (1339741895,), (1339741898,), (1339742011,), (1339742015,), (1339742020,), (1339742025,), (1339742028,), (1339742030,), (1339742065,), (1339742069,), (1339742079,), (1339742082,), (1339742086,), (1339742140,), (1339742144,), (1339742198,), (1339742201,), (1339742204,), (1339742207,), (1339742237,), (1339742255,), (1339742259,), (1339742262,), (1339742278,), (1339742294,), (1339742353,), (1339742357,), (1339742363,), (1339742365,), (1339742480,), (1339742491,), (1339742497,), (1339742502,), (1339742506,), (1339742509,), (1339742638,), (1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,), (1339743107,), (1339743111,), (1339743115,), (1339743120,), (1339743140,), (1339743169,), (1339743173,), (1339743177,), (1339743180,), (1339743181,), (1339743211,), (1339743217,), (1339743221,), (1339743225,), (1339743229,), (1339743232,), (1339743308,), (1339743315,), (1339743320,), (1339743326,), (1339743396,), (1339743400,), (1339743405,), (1339743410,), (1339743414,), (1339743416,), (1339743437,), (1339743441,), (1339743445,), (1339743449,), (1339743468,), (1339743472,), (1339743477,), (1339743483,), (1339743493,), (1339743538,), (1339743543,), (1339743548,), (1339743553,), (1339743724,), (1339743587,), (1339743601,), (1339743650,), (1339743681,), (1339743704,), (1339743830,), (1339743834,), (1339743837,), (1339743840,), (1339743845,), (1339743908,), (1339743912,), (1339743914,), (1339743921,), (1339743974,), (1339744003,), (1339744059,), (1339744068,), (1339744077,), (1339744085,), (1339744089,), (1339744228,), (1339744232,), (1339744239,), (1339744242,), (1339744446,), (1339744450,), (1339744455,), (1339744460,), (1339744464,), (1339744467,), (1339744478,), (1339744482,), (1339744487,), (1339744492,), (1339744493,), (1339744497,), (1339744523,), (1339744528,), (1339744532,), (1339744687,), (1339744692,), (1339744704,), (1339744716,), (1339744722,), (1339744724,), (1339744737,), (1339744742,), (1339744747,), (1339744752,), (1339744756,), (1339744958,), (1339745051,), (1339745147,), (1339745151,), (1339745274,), (1339745300,), (1339745312,), (1339745322,), (1339745339,), (1339745348,), (1339745412,), (1339745417,), (1339745465,), (1339745469,), (1339745768,), (1339745773,), (1339745776,), (1339745777,), (1339745778,), (1339745779,), (1339745818,), (1339745810,), (1339745812,), (1339745815,), (1339745851,), (1339745855,), (1339745858,), (1339745861,), (1339745882,), (1339745886,), (1339745952,), (1339745957,), (1339745970,), (1339746079,), (1339746082,), (1339746086,), (1339746088,), (1339746092,), (1339746095,), (1339746123,), (1339746126,), (1339746129,), (1339746133,), (1339746162,), (1339746167,), (1339746172,), (1339746176,), (1339746180,), (1339746182,), (1339746193,), (1339746201,), (1339746204,), (1339746207,), (1339746225,), (1339746248,), (1339746425,), (1339746564,), (1339746640,), (1339746728,), (1339747035,), (1339747039,), (1339747047,), (1339747051,), (1339747330,), (1339747340,), (1339747345,), (1339747470,), (1339747475,), (1339747479,), (1339747485,), (1339747490,), (1339747493,), (1339747504,), (1339747514,), (1339747521,), (1339747527,), (1339747530,), (1339747532,), (1339747541,), (1339747551,), (1339747563,), (1339747572,), (1339747575,), (1339747577,), (1339747586,), (1339747589,), (1339747593,), (1339747613,), (1339747616,), (1339747621,), (1339747625,), (1339747716,), (1339747672,), (1339747686,), (1339747690,), (1339747697,), (1339747707,), (1339747747,), (1339747751,), (1339747802,), (1339747806,), (1339747842,), (1339747846,), (1339747850,), (1339747854,), (1339747857,), (1339747860,), (1339747879,), (1339747883,), (1339747887,), (1339747891,), (1339747894,), (1339747933,), (1339747936,), (1339747940,), (1339747944,), (1339747958,), (1339747962,), (1339747965,), (1339747972,), (1339747976,), (1339747981,), (1339748190,), (1339748194,), (1339748212,), (1339748247,), (1339748251,), (1339748335,), (1339748950,), (1339748954,), (1339748958,), (1339749308,), (1339749312,), (1339749315,), (1339749319,), (1339749322,), (1339749326,), (1339749560,), (1339749564,), (1339749568,), (1339749572,), (1339749759,), (1339749763,), (1339749768,), (1339749773,), (1339749778,), (1339749792,), (1339749795,), (1339749799,), (1339749803,), (1339749806,), (1339749809,), (1339749835,), (1339749839,), (1339749869,), (1339749958,), (1339749962,), (1339749966,), (1339749969,), (1339749995,), (1339749998,), (1339750021,), (1339750023,), (1339750027,), (1339750036,), (1339750133,), (1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,), (1339756265,), (1339756270,), (1339756539,), (1339756543,), (1339756649,), (1339758000,), (1339758389,), (1339758485,), (1339758924,), (1339759374,), (1339759378,), (1339759393,), (1339759395,), (1339759402,), (1339764093,), (1339764084,), (1339764089,), (1339764121,), (1339764125,), (1339764138,), (1339764143,), (1339764147,), (1339764149,), (1339764187,), (1339764196,), (1339764201,), (1339764274,), (1339764277,), (1339764280,), (1339764283,), (1339764285,), (1339764895,), (1339764898,), (1339764901,), (1339764904,), (1339764906,), (1339764996,), (1339765107,), (1339765110,), (1339765113,), (1339765116,), (1339765119,), (1339765140,), (1339765143,), (1339765146,), (1339765148,), (1339765171,), (1339765174,), (1339765178,), (1339765181,), (1339765182,), (1339765184,), (1339765218,), (1339765225,), (1339765233,), (1339765244,), (1339765251,), (1339765297,), (1339765301,), (1339765305,), (1339765308,), (1339765310,), (1339765311,), (1339765498,), (1339765503,), (1339765654,), (1339765657,), (1339765662,), (1339765664,), (1339765680,), (1339765683,), (1339765686,), (1339765853,), (1339765863,), (1339765867,), (1339765871,), (1339765874,), (1339765929,), (1339765941,), (1339765943,), (1339765944,), (1339765945,), (1339765974,), (1339765966,), (1339765969,), (1339765972,), (1339765993,), (1339765996,), (1339766000,), (1339766007,), (1339766014,), (1339766038,), (1339766041,), (1339766045,), (1339766049,), (1339766052,), (1339766055,), (1339766095,), (1339766099,), (1339766103,), (1339766107,), (1339766189,), (1339766194,), (1339766199,), (1339766203,), (1339766205,), (1339766206,), (1339766281,), (1339766285,), (1339766295,), (1339766351,), (1339766354,), (1339766495,), (1339766733,), (1339766737,), (1339766946,), (1339767160,), (1339767279,), (1339767440,), (1339767518,), (1339767521,), (1339767575,), (1339767579,), (1339767583,), (1339767586,), (1339767589,), (1339767965,), (1339767986,), (1339768128,), (1339768131,), (1339768135,), (1339768170,), (1339768173,), (1339768253,), (1339768719,), (1339768733,), (1339768740,), (1339768773,), (1339768777,), (1339768807,), (1339768811,), (1339768815,), (1339768817,), (1339768846,), (1339768849,), (1339768850,), (1339768851,), (1339768858,), (1339768867,), (1339768902,), (1339768891,), (1339768895,), (1339768899,), (1339768923,), (1339768929,), (1339768933,), (1339768937,), (1339768940,), (1339768958,), (1339768962,), (1339768966,), (1339768971,), (1339768976,), (1339768978,), (1339769006,), (1339769012,), (1339769026,), (1339769030,), (1339769035,), (1339769054,), (1339769058,), (1339769061,), (1339769065,), (1339769069,), (1339769143,), (1339769333,), (1339769337,), (1339769341,), (1339769345,), (1339769832,), (1339769918,), (1339769922,), (1339769924,), (1339770006,), (1339770165,), (1339770171,), (1339770175,), (1339770310,), (1339770400,), (1339770403,), (1339770404,), (1339770405,), (1339770430,), (1339770432,), (1339770438,), (1339770440,), (1339770442,), (1339770463,), (1339770466,), (1339770469,), (1339770471,), (1339770473,), (1339770524,), (1339770529,), (1339770537,), (1339770540,), (1339770545,), (1339770613,), (1339770616,), (1339770619,), (1339770627,), (1339770639,), (1339770687,), (1339770691,), (1339770695,), (1339770698,), (1339770709,), (1339770718,), (1339770741,), (1339770745,), (1339770754,), (1339770803,), (1339770794,), (1339770798,), (1339770801,), (1339770850,), (1339770852,), (1339770854,), (1339770887,), (1339770895,), (1339770898,), (1339770918,), (1339770921,), (1339770922,), (1339770924,), (1339770993,), (1339771053,), (1339771059,), (1339771154,), (1339771160,), (1339771162,), (1339771165,), (1339771167,), (1339771169,), (1339771243,), (1339771245,), (1339771251,), (1339771280,), (1339771286,), (1339771294,), (1339771296,), (1339771298,), (1339771300,), (1339771338,), (1339771342,), (1339771345,), (1339771348,), (1339771351,), (1339772117,), (1339772121,), (1339772228,), (1339772232,), (1339772236,), (1339772241,), (1339772542,), (1339772578,), (1339772620,), (1339772637,), (1339772642,), (1339772651,), (1339772924,), (1339772927,), (1339772931,), (1339772934,), (1339773328,), (1339773333,), (1339773336,), (1339773337,), (1339773339,), (1339773341,), (1339773377,), (1339773363,), (1339773371,), (1339773374,), (1339773376,), (1339773399,), (1339773403,), (1339773405,), (1339773487,), (1339773491,), (1339773492,), (1339773494,), (1339773495,), (1339773496,), (1339773515,), (1339773518,), (1339773521,), (1339773523,), (1339773524,), (1339774040,), (1339774047,), (1339774051,), (1339774112,), (1339774145,), (1339774256,), (1339774260,), (1339774262,), (1339774264,), (1339774266,), (1339774272,), (1339774308,), (1339774311,), (1339774315,), (1339774319,), (1339774322,), (1339774341,), (1339774344,), (1339774347,), (1339774350,), (1339774352,), (1339774356,), (1339774372,), (1339774378,), (1339774382,), (1339774386,), (1339774447,), (1339774454,), (1339774462,), (1339774464,), (1339774473,), (1339774500,), (1339774504,), (1339774507,), (1339774510,), (1339774512,), (1339774514,), (1339774529,), (1339774533,), (1339774536,), (1339774594,), (1339774598,), (1339774602,), (1339774610,), (1339774612,), (1339774614,), (1339774628,), (1339774633,), (1339774636,), (1339774641,), (1339774648,), (1339774653,), (1339774669,), (1339774673,), (1339774678,), (1339774683,), (1339774724,), (1339774700,), (1339774705,), (1339774713,), (1339774718,), (1339774721,), (1339775048,), (1339775053,), (1339775055,), (1339775068,), (1339775177,), (1339775312,), (1339775429,), (1339775542,), (1339775553,), (1339775568,), (1339775724,), (1339775766,), (1339775770,), (1339775773,), (1339775776,), (1339775778,), (1339775793,), (1339775798,), (1339775803,), (1339775806,), (1339775810,), (1339775834,), (1339775839,), (1339775842,), (1339775846,), (1339775850,), (1339775860,), (1339776210,), (1339776440,), (1339776444,), (1339776449,), (1339776468,), (1339776478,), (1339776482,), (1339776486,), (1339776490,), (1339776494,), (1339776538,), (1339776542,), (1339776546,), (1339776550,), (1339776556,), (1339776698,), (1339776708,), (1339776719,), (1339776723,), (1339776726,), (1339776760,), (1339776793,), (1339776798,), (1339776803,), (1339776810,), (1339776815,), (1339777583,), (1339777677,), (1339777789,), (1339777878,), (1339777960,), (1339777981,), (1339777998,), (1339778001,), (1339778039,), (1339778150,), (1339778153,), (1339778180,), (1339778184,), (1339778188,), (1339778191,), (1339778192,), (1339778193,), (1339778217,), (1339778222,), (1339778225,), (1339778230,), (1339778273,), (1339778260,), (1339778264,), (1339778267,), (1339778270,), (1339778272,), (1339778301,), (1339778305,), (1339778308,), (1339778311,), (1339778313,), (1339778339,), (1339778344,), (1339778347,), (1339778351,), (1339778354,), (1339778356,), (1339778372,), (1339778384,), (1339778390,), (1339778396,), (1339778417,), (1339778422,), (1339778426,), (1339778474,), (1339778477,), (1339778479,), (1339778492,), (1339778497,), (1339778517,), (1339778532,), (1339778587,), (1339778597,), (1339778602,), (1339778606,), (1339778608,), (1339778611,), (1339778635,), (1339778641,), (1339778646,), (1339778654,), (1339778659,), (1339778660,), (1339778686,), (1339778691,), (1339778696,), (1339778701,), (1339778706,), (1339778774,), (1339778782,), (1339778818,), (1339779121,), (1339779413,), (1339779658,), (1339779663,), (1339779666,), (1339779670,), (1339779979,), (1339780250,), (1339780300,), (1339780322,), (1339780331,), (1339780510,), (1339780517,), (1339780522,), (1339780531,), (1339780539,), (1339780544,), (1339780574,), (1339780581,), (1339780589,), (1339780595,), (1339781017,), (1339781022,), (1339781030,), (1339781044,), (1339781059,), (1339781060,), (1339781087,), (1339781079,), (1339781083,), (1339781220,), (1339781225,), (1339781229,), (1339781233,), (1339781252,), (1339781256,), (1339781276,), (1339781280,), (1339781282,), (1339781283,), (1339781353,), (1339781357,), (1339781361,), (1339781364,), (1339781412,), (1339781422,), (1339781448,), (1339781463,), (1339781465,), (1339781480,), (1339781549,), (1339781552,), (1339781555,), (1339781558,), (1339781611,), (1339781614,), (1339781618,), (1339781622,), (1339781626,), (1339781628,), (1339781649,), (1339781652,), (1339781655,), (1339781656,), (1339781657,), (1339781679,), (1339781682,), (1339781684,), (1339781687,), (1339781691,), (1339781695,), (1339781744,), (1339781753,), (1339781758,), (1339781767,), (1339781806,), (1339781809,), (1339781877,), (1339781945,), (1339781948,), (1339781951,), (1339781971,), (1339781974,), (1339781991,), (1339781995,), (1339782032,), (1339782040,), (1339782043,), (1339782045,), (1339782095,), (1339782096,), (1339782181,), (1339782184,), (1339782187,), (1339782191,), (1339782200,), (1339782203,), (1339782278,), (1339782266,), (1339782269,), (1339782273,), (1339782275,), (1339782298,), (1339782303,), (1339782308,), (1339782312,), (1339782325,), (1339782330,), (1339782335,), (1339782339,), (1339782357,), (1339782362,), (1339782367,), (1339782373,), (1339782394,), (1339782486,), (1339783120,), (1339783169,), (1339783197,), (1339783332,), (1339783340,), (1339783359,), (1339783362,), (1339783365,), (1339783366,), (1339783525,), (1339783535,), (1339783540,), (1339783544,), (1339783548,), (1339783602,), (1339783605,), (1339783608,), (1339783614,), (1339783701,), (1339783714,), (1339783728,), (1339783735,), (1339783738,), (1339783741,), (1339783778,), (1339783784,), (1339783792,), (1339783796,), (1339783800,), (1339783840,), (1339783848,), (1339783852,), (1339783856,), (1339783864,), (1339783866,), (1339783880,), (1339783884,), (1339783888,), (1339783892,), (1339783911,), (1339783917,), (1339783921,), (1339783925,), (1339783929,), (1339783933,), (1339783960,), (1339783968,), (1339783978,), (1339783984,), (1339784006,), (1339784013,), (1339784017,), (1339784022,), (1339784025,), (1339784029,), (1339784077,), (1339784045,), (1339784059,), (1339784068,), (1339784072,), (1339784313,), (1339784317,), (1339784348,), (1339784352,), (1339784379,), (1339784383,), (1339784387,), (1339784396,), (1339784402,), (1339784405,), (1339784429,), (1339784440,), (1339784449,), (1339784453,), (1339784502,), (1339784511,), (1339784514,), (1339784519,), (1339784524,), (1339784527,), (1339784570,), (1339784576,), (1339784580,), (1339784715,), (1339784722,), (1339784729,), (1339784733,), (1339784736,), (1339784739,), (1339784763,), (1339784776,), (1339784785,), (1339784789,), (1339784794,), (1339784797,), (1339784819,), (1339784824,), (1339784833,), (1339784837,), (1339784856,), (1339784860,), (1339784865,), (1339784876,), (1339784883,), (1339784886,), (1339784912,), (1339784917,), (1339784928,), (1339784936,), (1339784947,), (1339784976,), (1339784981,), (1339784984,), (1339785002,), (1339785005,), (1339785009,), (1339785041,), (1339785045,), (1339785049,), (1339785071,), (1339785073,), (1339785099,), (1339785103,), (1339785107,), (1339785112,), (1339785119,), (1339785126,), (1339785165,), (1339785171,), (1339785177,), (1339785181,), (1339785260,), (1339785236,), (1339785241,), (1339785245,), (1339785254,), (1339785273,), (1339785278,), (1339785282,), (1339785287,), (1339785296,), (1339785303,), (1339785321,), (1339785325,), (1339785328,), (1339785332,), (1339785635,), (1339785644,), (1339785652,), (1339785657,), (1339785659,), (1339785662,), (1339785765,), (1339785769,), (1339785773,), (1339785778,), (1339786519,), (1339786529,), (1339786569,), (1339786582,), (1339786639,), (1339786642,), (1339786661,), (1339786667,), (1339786672,), (1339786675,), (1339786705,), (1339786724,), (1339786740,), (1339786744,), (1339786748,), (1339786762,), (1339786814,), (1339786822,), (1339786828,), (1339786833,), (1339786835,), (1339786859,), (1339786864,), (1339786869,), (1339786873,), (1339786875,), (1339786971,), (1339792052,), (1339792047,), (1339792076,), (1339792082,), (1339792147,), (1339792553,), (1339793533,), (1339793538,), (1339793544,), (1339793549,), (1339793554,), (1339793614,), (1339793619,), (1339793632,), (1339793636,), (1339793640,), (1339793716,), (1339793802,), (1339793843,), (1339793916,), (1339793978,), (1339794220,), (1339794250,), (1339794261,), (1339794285,), (1339794295,), (1339794299,), (1339794324,), (1339794330,), (1339794334,), (1339794338,), (1339794359,), (1339794390,), (1339794396,), (1339794401,), (1339794406,), (1339794481,), (1339794487,), (1339794493,), (1339794499,), (1339794588,), (1339794613,), (1339794641,), (1339794646,), (1339794650,), (1339794688,), (1339794692,), (1339794696,), (1339794700,), (1339794721,), (1339794873,), (1339794876,), (1339794880,), (1339794881,), (1339794912,), (1339795201,), (1339795435,), (1339795439,), (1339795501,), (1339795505,), (1339795509,), (1339795513,), (1339795556,), (1339795577,), (1339795807,), (1339795813,), (1339796107,), (1339796116,), (1339796212,), (1339796218,), (1339796223,), (1339796255,), (1339796260,), (1339796341,), (1339796350,), (1339796356,), (1339796359,), (1339796444,), (1339796449,), (1339796484,), (1339796524,), (1339796617,), (1339796773,), (1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,), (1339800015,), (1339800065,), (1339800075,), (1339800309,), (1339800313,), (1339800506,), (1339800517,), (1339800520,), (1339800545,), (1339800551,), (1339800603,), (1339800757,), (1339800790,), (1339800795,), (1339800799,), (1339800802,), (1339800804,), (1339800814,), (1339800818,), (1339800842,), (1339800846,), (1339800851,), (1339800864,), (1339800868,), (1339800872,), (1339800881,), (1339800912,), (1339800916,), (1339801078,), (1339801128,), (1339801136,), (1339801146,), (1339801192,), (1339801199,), (1339801201,), (1339801236,), (1339801243,), (1339801254,), (1339801272,), (1339801268,), (1339801308,), (1339801311,), (1339801353,), (1339801457,), (1339801466,), (1339801471,), (1339802077,), (1339802135,), (1339802346,), (1339802383,), (1339802395,), (1339802814,), (1339802850,), (1339802876,), (1339802933,), (1339802938,), (1339802963,), (1339803011,), (1339803035,), (1339803066,), (1339803071,), (1339803075,), (1339803079,), (1339803082,), (1339803250,), (1339803253,), (1339803259,), (1339803264,), (1339803289,), (1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,), (1339805690,), (1339805789,), (1339805841,), (1339806026,), (1339806030,), (1339806086,), (1339806090,), (1339806111,), (1339806115,), (1339806118,), (1339806160,), (1339806163,), (1339806231,), (1339806246,), (1339806260,), (1339806341,), (1339806346,), (1339806380,), (1339806387,), (1339806406,), (1339806438,), (1339806493,), (1339806623,), (1339806627,), (1339806645,), (1339806649,), (1339806654,), (1339806703,), (1339806706,), (1339806710,), (1339806714,), (1339806783,), (1339806787,), (1339806790,), (1339806956,), (1339806856,), (1339806860,), (1339806937,), (1339807188,), (1339807192,), (1339807211,), (1339807220,), (1339807277,), (1339807283,), (1339807285,), (1339807301,), (1339807927,), (1339807931,), (1339808167,), (1339808171,), (1339808357,), (1339808368,), (1339808409,), (1339808414,), (1339808417,), (1339808500,), (1339808518,), (1339808608,), (1339808611,), (1339808614,), (1339808656,), (1339808741,), (1339808860,), (1339808863,), (1339808967,), (1339809470,), (1339809475,), (1339809572,), (1339809576,), (1339809596,), (1339809601,), (1339809606,), (1339809610,), (1339809667,), (1339809671,), (1339809675,), (1339809698,), (1339809704,), (1339809708,), (1339809873,), (1339809889,), (1339809892,), (1339810233,), (1339810327,), (1339810340,), (1339810526,), (1339810528,), (1339810551,), (1339810555,), (1339810559,), (1339810562,), (1339810566,), (1339810632,), (1339810636,), (1339810660,), (1339810666,), (1339810671,), (1339810725,), (1339810732,), (1339810737,), (1339811339,), (1339811436,), (1339811730,), (1339811766,), (1339811839,), (1339811861,), (1339811868,), (1339812022,), (1339812006,), (1339812011,), (1339812277,), (1339813179,), (1339813183,), (1339814285,), (1339814291,), (1339814296,), (1339814390,), (1339814707,), (1339814761,), (1339814766,), (1339814986,), (1339815181,), (1339815187,), (1339815192,), (1339815232,), (1339815236,), (1339815240,), (1339815244,), (1339815296,), (1339815301,), (1339815305,), (1339815308,), (1339815380,), (1339816097,), (1339816103,), (1339816345,), (1339816395,), (1339816483,), (1339816487,), (1339816672,), (1339816666,), (1339816874,), (1339816886,), (1339816944,), (1339817074,), (1339817076,), (1339817079,), (1339817118,), (1339817121,), (1339817124,), (1339817127,), (1339817130,), (1339817153,), (1339817157,), (1339817163,), (1339817165,), (1339817208,), (1339817216,), (1339817222,), (1339817225,), (1339817228,), (1339817230,), (1339817250,), (1339817255,), (1339817259,), (1339817293,), (1339817308,), (1339817312,), (1339817315,), (1339817318,), (1339817319,), (1339817337,), (1339817347,), (1339817352,), (1339817356,), (1339817366,), (1339817411,), (1339817424,), (1339817436,), (1339817438,), (1339817549,), (1339817564,), (1339817573,), (1339817592,), (1339817593,), (1339817599,), (1339817630,), (1339817634,), (1339817639,), (1339817643,), (1339817676,), (1339817689,), (1339817692,), (1339817722,), (1339817725,), (1339817727,), (1339817731,), (1339817734,), (1339817744,), (1339817747,), (1339817749,), (1339817758,), (1339817830,), (1339817929,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20857573]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] map_info['map_portfolio_photo'] : {20857573: [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279]} final : True mtd_id 4302 list_pids : [1339805846, 1339805607, 1339805603, 1339805599, 1339805568, 1339805562, 1339805247, 1339805239, 1339805227, 1339805100, 1339805087, 1339804840, 1339804718, 1339804687, 1339804682, 1339804677, 1339804561, 1339803745, 1339803741, 1339803699, 1339803695, 1339803656, 1339803654, 1339803651, 1339803648, 1339803645, 1339803529, 1339803490, 1339803402, 1339803395, 1339803391, 1339803353, 1339803348, 1339803322, 1339803317, 1339803311, 1339803285, 1339803279] Looping around the photos to save general results len do output : 1 /20857573Didn'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, '2618781') ('4302', '20857573', '1339805846', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805607', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805603', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805599', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805568', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805562', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805247', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805239', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805227', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805100', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339805087', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804840', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804718', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804687', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804682', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804677', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339804561', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803745', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803741', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803699', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803695', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803656', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803654', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803651', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803648', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803645', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803529', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803490', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803402', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803395', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803391', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803353', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803348', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803322', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803317', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803311', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803285', None, None, None, None, None, '2618781') ('4302', None, None, None, None, None, None, None, '2618781') ('4302', '20857573', '1339803279', None, None, None, None, None, '2618781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '20857573', 'None', None, None, None, None, '2618781'), ('4302', '20857573', '1339805846', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805607', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805603', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805599', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805568', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805562', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805247', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805239', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805227', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805100', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339805087', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804840', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804718', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804687', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804682', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804677', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339804561', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803745', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803741', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803699', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803695', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803656', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803654', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803651', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803648', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803645', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803529', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803490', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803402', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803395', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803391', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803353', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803348', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803322', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803317', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803311', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803285', None, None, None, None, None, '2618781'), ('4302', '20857573', '1339803279', None, None, None, None, None, '2618781')] time used for this insertion : 0.021541118621826172 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.677795648574829 time spend to save output : 0.02194356918334961 total time spend for step 5 : 4.699739217758179 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 (2618781) 3.26user 2.44system 0:32.19elapsed 17%CPU (0avgtext+0avgdata 161676maxresident)k 7768inputs+43672outputs (76major+88081minor)pagefaults 0swaps