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 : 579045 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 (2625806) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2625806) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901042 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2625806'] with mtr_portfolio_ids : ['20901042'] and first list_photo_ids : [] new path : /proc/579045/ Name: python3 Umask: 0002 State: R (running) Tgid: 579045 Ngid: 0 Pid: 579045 PPid: 579044 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 579045 NSpid: 579045 NSpgid: 577708 NSsid: 577708 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98940 kB VmRSS: 98940 kB RssAnon: 59752 kB RssFile: 39188 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 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: 51 nonvoluntary_ctxt_switches: 116 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '579045', 'Ngid': '0', 'Pid': '579045', 'PPid': '579044', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '579045', 'NSpid': '579045', 'NSpgid': '577708', 'NSsid': '577708', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98940 kB', 'VmRSS': '98940 kB', 'RssAnon': '59752 kB', 'RssFile': '39188 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '51', 'nonvoluntary_ctxt_switches': '116'} ('datou_batch_current', '579045', '1106848', '0', '1106848', '865596', '98940', b'', 'marlene', '2625806') 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 (20901042) 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 (2625806 ) ) 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 (20901042) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340026025, 'portfolio_id': 20901042}, {'photo_id': 1340018460, 'portfolio_id': 20901042}, {'photo_id': 1340018407, 'portfolio_id': 20901042}, {'photo_id': 1340018403, 'portfolio_id': 20901042}, {'photo_id': 1340018400, 'portfolio_id': 20901042}, {'photo_id': 1340018374, 'portfolio_id': 20901042}, {'photo_id': 1340018371, 'portfolio_id': 20901042}, {'photo_id': 1340018367, 'portfolio_id': 20901042}, {'photo_id': 1340018363, 'portfolio_id': 20901042}, {'photo_id': 1340018360, 'portfolio_id': 20901042}, {'photo_id': 1340018357, 'portfolio_id': 20901042}, {'photo_id': 1340018335, 'portfolio_id': 20901042}, {'photo_id': 1340018332, 'portfolio_id': 20901042}, {'photo_id': 1340018329, 'portfolio_id': 20901042}, {'photo_id': 1340018325, 'portfolio_id': 20901042}, {'photo_id': 1340018323, 'portfolio_id': 20901042}, {'photo_id': 1340018320, 'portfolio_id': 20901042}, {'photo_id': 1340018280, 'portfolio_id': 20901042}, {'photo_id': 1340018275, 'portfolio_id': 20901042}, {'photo_id': 1340018271, 'portfolio_id': 20901042}, {'photo_id': 1340018247, 'portfolio_id': 20901042}, {'photo_id': 1340018242, 'portfolio_id': 20901042}, {'photo_id': 1340018238, 'portfolio_id': 20901042}, {'photo_id': 1340018233, 'portfolio_id': 20901042}, {'photo_id': 1340018230, 'portfolio_id': 20901042}, {'photo_id': 1340018225, 'portfolio_id': 20901042}, {'photo_id': 1340018025, 'portfolio_id': 20901042}, {'photo_id': 1340018020, 'portfolio_id': 20901042}, {'photo_id': 1340017938, 'portfolio_id': 20901042}, {'photo_id': 1340017750, 'portfolio_id': 20901042}, {'photo_id': 1340017464, 'portfolio_id': 20901042}, {'photo_id': 1340017462, 'portfolio_id': 20901042}, {'photo_id': 1340017460, 'portfolio_id': 20901042}, {'photo_id': 1340017457, 'portfolio_id': 20901042}, {'photo_id': 1340017456, 'portfolio_id': 20901042}, {'photo_id': 1340017394, 'portfolio_id': 20901042}, {'photo_id': 1340017391, 'portfolio_id': 20901042}, {'photo_id': 1340017388, 'portfolio_id': 20901042}, {'photo_id': 1340017386, 'portfolio_id': 20901042}, {'photo_id': 1340017384, 'portfolio_id': 20901042}] map_portfolio_id_photo_id: {20901042: [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384]} ##### 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.04628109931945801 #### 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 Sat Mar 1 05:35:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901042) 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 : 20901042 get user id for portfolio 20901042 get sub ptf for main ptf 20901042, type 3726 and hashtags ['Carton_brun', 'Teint_Dans_La_Masse', 'environnement', 'autre_refus', 'kraft', 'metal', 'papier', 'cartonnette', 'flou', 'mal_croppe', 'plastique', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901042 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','environnement','autre_refus','kraft','metal','papier','cartonnette','flou','mal_croppe','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901042 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','environnement','autre_refus','kraft','metal','papier','cartonnette','flou','mal_croppe','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20901042, 'sub_port_id': 20901045, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529617, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'environnement': {'main_port_id': 20901042, 'sub_port_id': 20901046, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529618, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'flou': {'main_port_id': 20901042, 'sub_port_id': 20901047, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529619, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'Carton_gris': {'main_port_id': 20901042, 'sub_port_id': 20901048, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529620, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'cartonnette': {'main_port_id': 20901042, 'sub_port_id': 20901049, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529621, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'autre_refus': {'main_port_id': 20901042, 'sub_port_id': 20901050, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529622, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20901042, 'sub_port_id': 20901051, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529623, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'metal': {'main_port_id': 20901042, 'sub_port_id': 20901052, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529624, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'plastique': {'main_port_id': 20901042, 'sub_port_id': 20901053, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529625, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'kraft': {'main_port_id': 20901042, 'sub_port_id': 20901054, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529626, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'Carton_brun': {'main_port_id': 20901042, 'sub_port_id': 20901055, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529627, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}, 'papier': {'main_port_id': 20901042, 'sub_port_id': 20901056, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529628, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20901045 , 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=20901042 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 (20901045) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901046 , 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=20901042 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 (20901046) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901047 , 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=20901042 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 (20901047) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901048 , 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=20901042 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 (20901048) result : ((1340018196,), (1340018298,), (1340018299,), (1340018309,), (1340018412,), (1340018425,), (1340018427,), (1340018487,), (1340018536,), (1340018566,), (1340018567,), (1340024203,), (1340024313,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901049 , 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=20901042 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 (20901049) result : ((1340018198,), (1340018413,), (1340018540,), (1340018541,), (1340018542,), (1340018543,), (1340018544,), (1340018545,), (1340018546,), (1340018568,), (1340018589,), (1340024204,), (1340024317,), (1340024318,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901050 , 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=20901042 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 (20901050) result : ((1340018191,), (1340018192,), (1340018193,), (1340018194,), (1340018424,), (1340018533,), (1340018534,), (1340018563,), (1340018565,), (1340018588,), (1340024307,), (1340024308,), (1340024309,), (1340024310,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901051 , 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=20901042 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 (20901051) result : ((1340018178,), (1340018180,), (1340018182,), (1340018184,), (1340018295,), (1340018296,), (1340018308,), (1340018382,), (1340018408,), (1340018421,), (1340018422,), (1340018423,), (1340018531,), (1340018560,), (1340018561,), (1340018562,), (1340024200,), (1340024201,), (1340024302,), (1340024303,), (1340024304,), (1340024305,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901052 , 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=20901042 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 (20901052) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901053 , 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=20901042 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 (20901053) result : ((1340018305,), (1340018438,), (1340018439,), (1340018557,), (1340018592,), (1340024214,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901054 , 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=20901042 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 (20901054) result : ((1340018576,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901055 , 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=20901042 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 (20901055) result : ((1340018214,), (1340018215,), (1340018216,), (1340018217,), (1340018218,), (1340018219,), (1340018303,), (1340018304,), (1340018312,), (1340018313,), (1340018414,), (1340018415,), (1340018416,), (1340018430,), (1340018431,), (1340018432,), (1340018433,), (1340018434,), (1340018436,), (1340018550,), (1340018551,), (1340018552,), (1340018553,), (1340018554,), (1340018555,), (1340018570,), (1340018571,), (1340018572,), (1340018573,), (1340018574,), (1340018591,), (1340024207,), (1340024208,), (1340024209,), (1340024210,), (1340024211,), (1340024274,), (1340024277,), (1340024322,), (1340024323,), (1340024324,), (1340024325,), (1340024326,), (1340024327,), (1340024328,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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 20901056 , 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=20901042 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 (20901056) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20901042) result : ((1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,)) 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 (1340018400) 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`=20901042 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','environnement','autre_refus','kraft','metal','papier','cartonnette','flou','mal_croppe','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901042 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','environnement','autre_refus','kraft','metal','papier','cartonnette','flou','mal_croppe','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20901042, 'sub_port_id': 20901057, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529629, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'environnement': {'main_port_id': 20901042, 'sub_port_id': 20901058, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529630, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'flou': {'main_port_id': 20901042, 'sub_port_id': 20901059, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529631, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'Carton_gris': {'main_port_id': 20901042, 'sub_port_id': 20901060, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529632, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'cartonnette': {'main_port_id': 20901042, 'sub_port_id': 20901061, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529633, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'autre_refus': {'main_port_id': 20901042, 'sub_port_id': 20901062, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529634, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'Teint_Dans_La_Masse': {'main_port_id': 20901042, 'sub_port_id': 20901063, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529635, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'metal': {'main_port_id': 20901042, 'sub_port_id': 20901064, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529636, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'plastique': {'main_port_id': 20901042, 'sub_port_id': 20901065, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529637, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'kraft': {'main_port_id': 20901042, 'sub_port_id': 20901066, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529638, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'Carton_brun': {'main_port_id': 20901042, 'sub_port_id': 20901067, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529639, 'last_updated_at': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_desc': datetime.datetime(2025, 2, 28, 0, 35), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}, 'papier': {'main_port_id': 20901042, 'sub_port_id': 20901068, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13529640, 'last_updated_at': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 1, 0, 1, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 28, 0, 35)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901057,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901045 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901058,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901046 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901059,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901047 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901060,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901048 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901061,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901049 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901062,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901050 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901063,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901051 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901064,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901052 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901065,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901066,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901067,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901055 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20901068,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20901056 lien utilise dans velours : https://www.fotonower.com/velours/20901057,20901058,20901059,20901060,20901061,20901062,20901063,20901064,20901065,20901066,20901067,20901068?tags=mal_croppe,environnement,flou,Carton_gris,cartonnette,autre_refus,Teint_Dans_La_Masse,metal,plastique,kraft,Carton_brun,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20901042]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] map_info['map_portfolio_photo'] : {20901042: [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384]} final : False mtd_id 4302 list_pids : [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] Looping around the photos to save general results len do output : 1 /20901042. 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, '2625806') ('4302', '20901042', '1340026025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018407', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018403', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018400', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018374', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018371', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018367', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018363', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018360', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018357', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018335', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018332', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018329', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018325', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018323', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018320', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018280', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018275', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018271', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018247', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018242', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018238', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018233', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018230', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018225', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018020', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017938', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017750', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017464', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017462', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017457', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017456', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017394', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017391', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017388', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017386', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017384', None, None, None, None, None, '2625806') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '20901042', "{'mal_croppe': 20901045, 'environnement': 20901046, 'flou': 20901047, 'Carton_gris': 20901048, 'cartonnette': 20901049, 'autre_refus': 20901050, 'Teint_Dans_La_Masse': 20901051, 'metal': 20901052, 'plastique': 20901053, 'kraft': 20901054, 'Carton_brun': 20901055, 'papier': 20901056}", None, None, None, None, '2625806'), ('4302', '20901042', '1340026025', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018460', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018407', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018403', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018400', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018374', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018371', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018367', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018363', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018360', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018357', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018335', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018332', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018329', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018325', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018323', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018320', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018280', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018275', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018271', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018247', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018242', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018238', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018233', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018230', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018225', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018025', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018020', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017938', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017750', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017464', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017462', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017460', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017457', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017456', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017394', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017391', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017388', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017386', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017384', None, None, None, None, None, '2625806')] time used for this insertion : 0.024278640747070312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6484324932098389 time spend to save output : 0.024948835372924805 total time spend for step 1 : 0.6733813285827637 step2:final Sat Mar 1 05:35:29 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 (20901042) 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 20901042 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340017394,1340017391,1340017388,1340017386,1340017384,1340017464,1340017462,1340017460,1340017457,1340017456,1340018025,1340018020,1340017938,1340017750,1340018247,1340018242,1340018238,1340018233,1340018230,1340018225,1340018280,1340018275,1340018271,1340018335,1340018332,1340018329,1340018325,1340018323,1340018320,1340018374,1340018371,1340018367,1340018363,1340018360,1340018407,1340018357,1340018403,1340018400,1340018460,1340026025); 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([20901042]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} new output for save of step final : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] map_info['map_portfolio_photo'] : {20901042: [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384]} final : False mtd_id 4302 list_pids : [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] Looping around the photos to save general results len do output : 40 /1340026025.Didn't retrieve data . /1340018460.Didn't retrieve data . /1340018407.Didn't retrieve data . /1340018403.Didn't retrieve data . /1340018400.Didn't retrieve data . /1340018374.Didn't retrieve data . /1340018371.Didn't retrieve data . /1340018367.Didn't retrieve data . /1340018363.Didn't retrieve data . /1340018360.Didn't retrieve data . /1340018357.Didn't retrieve data . /1340018335.Didn't retrieve data . /1340018332.Didn't retrieve data . /1340018329.Didn't retrieve data . /1340018325.Didn't retrieve data . /1340018323.Didn't retrieve data . /1340018320.Didn't retrieve data . /1340018280.Didn't retrieve data . /1340018275.Didn't retrieve data . /1340018271.Didn't retrieve data . /1340018247.Didn't retrieve data . /1340018242.Didn't retrieve data . /1340018238.Didn't retrieve data . /1340018233.Didn't retrieve data . /1340018230.Didn't retrieve data . /1340018225.Didn't retrieve data . /1340018025.Didn't retrieve data . /1340018020.Didn't retrieve data . /1340017938.Didn't retrieve data . /1340017750.Didn't retrieve data . /1340017464.Didn't retrieve data . /1340017462.Didn't retrieve data . /1340017460.Didn't retrieve data . /1340017457.Didn't retrieve data . /1340017456.Didn't retrieve data . /1340017394.Didn't retrieve data . /1340017391.Didn't retrieve data . /1340017388.Didn't retrieve data . /1340017386.Didn't retrieve data . /1340017384.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, '2625806') ('4302', '20901042', '1340026025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018407', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018403', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018400', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018374', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018371', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018367', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018363', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018360', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018357', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018335', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018332', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018329', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018325', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018323', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018320', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018280', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018275', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018271', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018247', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018242', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018238', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018233', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018230', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018225', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018020', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017938', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017750', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017464', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017462', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017457', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017456', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017394', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017391', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017388', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017386', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017384', None, None, None, None, None, '2625806') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '20901042', '1340026025', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018460', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018407', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018403', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018400', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018374', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018371', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018367', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018363', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018360', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018357', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018335', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018332', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018329', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018325', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018323', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018320', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018280', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018275', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018271', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018247', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018242', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018238', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018233', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018230', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018225', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018025', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340018020', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017938', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017750', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017464', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017462', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017460', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017457', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017456', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017394', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017391', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017388', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017386', '0.1051329707504246', None, None, None, None, '2625806'), ('4302', '20901042', '1340017384', '0.1051329707504246', None, None, None, None, '2625806')] time used for this insertion : 0.02449345588684082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07713913917541504 time spend to save output : 0.025854110717773438 total time spend for step 2 : 0.10299324989318848 step3:velours_tree Sat Mar 1 05:35:29 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 : {20901042: [{'mal_croppe': 20901045, 'environnement': 20901046, 'flou': 20901047, 'Carton_gris': 20901048, 'cartonnette': 20901049, 'autre_refus': 20901050, 'Teint_Dans_La_Masse': 20901051, 'metal': 20901052, 'plastique': 20901053, 'kraft': 20901054, 'Carton_brun': 20901055, 'papier': 20901056}]} input_args_next_step : {20901042: ()} output_args : {20901042: [{'mal_croppe': 20901045, 'environnement': 20901046, 'flou': 20901047, 'Carton_gris': 20901048, 'cartonnette': 20901049, 'autre_refus': 20901050, 'Teint_Dans_La_Masse': 20901051, 'metal': 20901052, 'plastique': 20901053, 'kraft': 20901054, 'Carton_brun': 20901055, 'papier': 20901056}]} args : 20901042 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'mal_croppe': 20901045, 'environnement': 20901046, 'flou': 20901047, 'Carton_gris': 20901048, 'cartonnette': 20901049, 'autre_refus': 20901050, 'Teint_Dans_La_Masse': 20901051, 'metal': 20901052, 'plastique': 20901053, 'kraft': 20901054, 'Carton_brun': 20901055, 'papier': 20901056},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901042) 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([20901042]) 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.3513460159301758 time spend to save output : 5.626678466796875e-05 total time spend for step 3 : 0.35140228271484375 step4:send_mail_cod Sat Mar 1 05:35:29 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 : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} input_args_next_step : {1340026025: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340026025 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018460 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018407 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018403 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018400 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018374 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018371 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018367 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018363 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018360 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018357 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018335 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018332 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018329 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018325 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018323 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018320 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018280 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018275 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018271 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018247 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018242 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018238 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018233 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018230 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018225 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018025 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340018020 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017938 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017750 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017464 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017462 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017460 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017457 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017456 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017394 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017391 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017388 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017386 depend.output_id : 0 input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ()} output_args : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',)} args : 1340017384 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 : {20901042: [{'mal_croppe': 20901045, 'environnement': 20901046, 'flou': 20901047, 'Carton_gris': 20901048, 'cartonnette': 20901049, 'autre_refus': 20901050, 'Teint_Dans_La_Masse': 20901051, 'metal': 20901052, 'plastique': 20901053, 'kraft': 20901054, 'Carton_brun': 20901055, 'papier': 20901056}]} input_args_next_step : {1340026025: ('0.1051329707504246',), 1340018460: ('0.1051329707504246',), 1340018407: ('0.1051329707504246',), 1340018403: ('0.1051329707504246',), 1340018400: ('0.1051329707504246',), 1340018374: ('0.1051329707504246',), 1340018371: ('0.1051329707504246',), 1340018367: ('0.1051329707504246',), 1340018363: ('0.1051329707504246',), 1340018360: ('0.1051329707504246',), 1340018357: ('0.1051329707504246',), 1340018335: ('0.1051329707504246',), 1340018332: ('0.1051329707504246',), 1340018329: ('0.1051329707504246',), 1340018325: ('0.1051329707504246',), 1340018323: ('0.1051329707504246',), 1340018320: ('0.1051329707504246',), 1340018280: ('0.1051329707504246',), 1340018275: ('0.1051329707504246',), 1340018271: ('0.1051329707504246',), 1340018247: ('0.1051329707504246',), 1340018242: ('0.1051329707504246',), 1340018238: ('0.1051329707504246',), 1340018233: ('0.1051329707504246',), 1340018230: ('0.1051329707504246',), 1340018225: ('0.1051329707504246',), 1340018025: ('0.1051329707504246',), 1340018020: ('0.1051329707504246',), 1340017938: ('0.1051329707504246',), 1340017750: ('0.1051329707504246',), 1340017464: ('0.1051329707504246',), 1340017462: ('0.1051329707504246',), 1340017460: ('0.1051329707504246',), 1340017457: ('0.1051329707504246',), 1340017456: ('0.1051329707504246',), 1340017394: ('0.1051329707504246',), 1340017391: ('0.1051329707504246',), 1340017388: ('0.1051329707504246',), 1340017386: ('0.1051329707504246',), 1340017384: ('0.1051329707504246',), 20901042: ()} output_args : {20901042: [{'mal_croppe': 20901045, 'environnement': 20901046, 'flou': 20901047, 'Carton_gris': 20901048, 'cartonnette': 20901049, 'autre_refus': 20901050, 'Teint_Dans_La_Masse': 20901051, 'metal': 20901052, 'plastique': 20901053, 'kraft': 20901054, 'Carton_brun': 20901055, 'papier': 20901056}]} args : 20901042 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 :41, first value : ('0.1051329707504246',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901042) 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 (1340026025,1340018460,1340018407,1340018403,1340018400,1340018374,1340018371,1340018367,1340018363,1340018360,1340018357,1340018335,1340018332,1340018329,1340018325,1340018323,1340018320,1340018280,1340018275,1340018271,1340018247,1340018242,1340018238,1340018233,1340018230,1340018225,1340018025,1340018020,1340017938,1340017750,1340017464,1340017462,1340017460,1340017457,1340017456,1340017394,1340017391,1340017388,1340017386,1340017384) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340017384 begin to download photo : 1340017464 begin to download photo : 1340018242 begin to download photo : 1340018332 begin to download photo : 1340018403 download finish for photo 1340018242 begin to download photo : 1340018247 download finish for photo 1340018332 begin to download photo : 1340018335 download finish for photo 1340017384 begin to download photo : 1340017386 download finish for photo 1340017464 begin to download photo : 1340017750 download finish for photo 1340018403 begin to download photo : 1340018407 download finish for photo 1340017386 begin to download photo : 1340017388 download finish for photo 1340018247 begin to download photo : 1340018271 download finish for photo 1340017750 begin to download photo : 1340017938 download finish for photo 1340018335 begin to download photo : 1340018357 download finish for photo 1340018271 begin to download photo : 1340018275 download finish for photo 1340017388 begin to download photo : 1340017391 download finish for photo 1340018407 begin to download photo : 1340018460 download finish for photo 1340017938 begin to download photo : 1340018020 download finish for photo 1340018357 begin to download photo : 1340018360 download finish for photo 1340018275 begin to download photo : 1340018280 download finish for photo 1340018460 begin to download photo : 1340026025 download finish for photo 1340017391 begin to download photo : 1340017394 download finish for photo 1340018020 begin to download photo : 1340018025 download finish for photo 1340018360 begin to download photo : 1340018363 download finish for photo 1340018025 begin to download photo : 1340018225 download finish for photo 1340026025 download finish for photo 1340018280 begin to download photo : 1340018320 download finish for photo 1340017394 begin to download photo : 1340017456 download finish for photo 1340018363 begin to download photo : 1340018367 download finish for photo 1340018320 begin to download photo : 1340018323 download finish for photo 1340018225 begin to download photo : 1340018230 download finish for photo 1340018367 begin to download photo : 1340018371 download finish for photo 1340017456 begin to download photo : 1340017457 download finish for photo 1340018323 begin to download photo : 1340018325 download finish for photo 1340018230 begin to download photo : 1340018233 download finish for photo 1340017457 begin to download photo : 1340017460 download finish for photo 1340018371 begin to download photo : 1340018374 download finish for photo 1340018325 begin to download photo : 1340018329 download finish for photo 1340018233 begin to download photo : 1340018238 download finish for photo 1340017460 begin to download photo : 1340017462 download finish for photo 1340018374 begin to download photo : 1340018400 download finish for photo 1340018329 download finish for photo 1340018238 download finish for photo 1340018400 download finish for photo 1340017462 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette209010451740803731/ imagette209010471740803731/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P20901042_01-03-2025_05_35_31.pdf 20901045 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=20901045 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209010451740803731 20901047 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=20901047 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209010471740803731 20901049 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=20901049 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340018198: '1740699182_2120958_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262020_0.png', 1340018413: '1740699471_2124221_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262846_0.png', 1340018540: '1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263354_0.png', 1340018541: '1740699573_2125297_1340018329_44eca1249745e8b937d4b46c2e18e653_rle_crop_3689263367_0.png', 1340018542: '1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263383_0.png', 1340018543: '1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263384_0.png', 1340018544: '1740699573_2125297_1340018323_bcceb2d1190ae9dcce987e8486692459_rle_crop_3689263402_0.png', 1340018545: '1740699573_2125297_1340018323_bcceb2d1190ae9dcce987e8486692459_rle_crop_3689263395_0.png', 1340018546: '1740699573_2125297_1340018320_4a31725e137cf2de5e7752d1857d43c3_rle_crop_3689263411_0.png', 1340018568: '1740699592_2125544_1340018367_bc8493cdcb12261427dae6acdbfd3611_rle_crop_3689263446_0.png', 1340018589: '1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263525_0.png', 1340024204: '1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262846_0.png', 1340024317: '1740701813_2147863_1340017464_7651d8978dcae0abf6bdf2df759ef40f_rle_crop_3689305530_0.png', 1340024318: '1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262020_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6d67fa47767796938cd85e4dfdd1c9b7_42686483.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b5cafdd985c8634582d5cc5c95ba4ecf_65402781.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/05fb59deb873fde5b95edd17ec7b229e_89791491.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/68ccf09e2d59f72413cd3bb6fc1d8b1b_36815130.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5f797d48c6b81b8569204ad1deb5e464_34959992.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f146a83d1f0e2042f13a08f0e953656f_14923755.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5f242730916c6444bff22330b8905a39_56269905.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c8cf68c29b8ebf4561b7ae87cc3f0589_97337972.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6c9a22924a01d8ac53728280213a24fa_89777409.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/943a7168b3bee5976c26060cf79a867b_68050314.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/85b43d99f992a1b4d6735c83d844ff04_88237156.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b5cafdd985c8634582d5cc5c95ba4ecf_70687210.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4d8fdbd6cd0cd746ce7609b0f109b108_19140018.png change filename to text .imagette209010491740803731/ imagette209010491740803731/1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262020_0.png.png imagette209010491740803731/1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263354_0.png.png imagette209010491740803731/1740699573_2125297_1340018323_bcceb2d1190ae9dcce987e8486692459_rle_crop_3689263395_0.png.png imagette209010491740803731/1740699573_2125297_1340018323_bcceb2d1190ae9dcce987e8486692459_rle_crop_3689263402_0.png.png imagette209010491740803731/1740699573_2125297_1340018320_4a31725e137cf2de5e7752d1857d43c3_rle_crop_3689263411_0.png.png imagette209010491740803731/1740701813_2147863_1340017464_7651d8978dcae0abf6bdf2df759ef40f_rle_crop_3689305530_0.png.png imagette209010491740803731/1740699573_2125297_1340018329_44eca1249745e8b937d4b46c2e18e653_rle_crop_3689263367_0.png.png imagette209010491740803731/1740699182_2120958_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262020_0.png.png imagette209010491740803731/1740699471_2124221_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262846_0.png.png imagette209010491740803731/1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262846_0.png.png imagette209010491740803731/1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263383_0.png.png imagette209010491740803731/1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263384_0.png.png imagette209010491740803731/1740699592_2125544_1340018367_bc8493cdcb12261427dae6acdbfd3611_rle_crop_3689263446_0.png.png imagette209010491740803731/1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263525_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6d67fa47767796938cd85e4dfdd1c9b7_4636509.png imagette209010491740803731 20901050 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=20901050 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340018191: '1740699182_2120958_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262027_0.png', 1340018192: '1740699182_2120958_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262037_0.png', 1340018193: '1740699182_2120958_1340017386_a747f363f08d77d601bbc1151964a83a_rle_crop_3689262072_0.png', 1340018194: '1740699182_2120958_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262091_0.png', 1340018424: '1740699452_2123946_1340018238_fd9e809d41105408a554f7de57a10825_rle_crop_3689262881_0.png', 1340018533: '1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263352_0.png', 1340018534: '1740699573_2125297_1340018329_44eca1249745e8b937d4b46c2e18e653_rle_crop_3689263374_0.png', 1340018563: '1740699592_2125544_1340018407_79ab276769e9c06b6a791d2734e05eac_rle_crop_3689263423_0.png', 1340018565: '1740699592_2125544_1340018363_c09ce8922dd17702a1f72931c241682c_rle_crop_3689263465_0.png', 1340018588: '1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263523_0.png', 1340024307: '1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262027_0.png', 1340024308: '1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262037_0.png', 1340024309: '1740701813_2147863_1340017386_a747f363f08d77d601bbc1151964a83a_rle_crop_3689262072_0.png', 1340024310: '1740701813_2147863_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262091_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/41555e00d8d56fa9314252190f8d137e_19002923.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/be2c9a1dc6402f05b395b06da3546798_54104963.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f60c8d1e529cbd03d58f0a1e02947f7a_22525504.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/03c93b98d981cb6b2cc2fbc680b67427_54352563.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7859bf0249e729842d745b43115c7be6_86903649.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/2559c9fb154e31789f2a63f67268248c_32422284.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/70590608e18efc65862563df033ef871_68263243.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4cc2a6da3afb0fd9ba8ce17a8be3c95b_89929600.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9267cb9c6fabf26b7986687b1f60aaee_14401285.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/fdd2bced8ca3ff28639706349f488d67_53094740.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/41555e00d8d56fa9314252190f8d137e_31136456.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/be2c9a1dc6402f05b395b06da3546798_87321160.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f60c8d1e529cbd03d58f0a1e02947f7a_23325038.png change filename to text .imagette209010501740803732/ imagette209010501740803732/1740699182_2120958_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262091_0.png.png imagette209010501740803732/1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263523_0.png.png imagette209010501740803732/1740699182_2120958_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262037_0.png.png imagette209010501740803732/1740701813_2147863_1340017386_a747f363f08d77d601bbc1151964a83a_rle_crop_3689262072_0.png.png imagette209010501740803732/1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262027_0.png.png imagette209010501740803732/1740699182_2120958_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262027_0.png.png imagette209010501740803732/1740701813_2147863_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262091_0.png.png imagette209010501740803732/1740699592_2125544_1340018407_79ab276769e9c06b6a791d2734e05eac_rle_crop_3689263423_0.png.png imagette209010501740803732/1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262037_0.png.png imagette209010501740803732/1740699182_2120958_1340017386_a747f363f08d77d601bbc1151964a83a_rle_crop_3689262072_0.png.png imagette209010501740803732/1740699573_2125297_1340018329_44eca1249745e8b937d4b46c2e18e653_rle_crop_3689263374_0.png.png imagette209010501740803732/1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263352_0.png.png imagette209010501740803732/1740699452_2123946_1340018238_fd9e809d41105408a554f7de57a10825_rle_crop_3689262881_0.png.png imagette209010501740803732/1740699592_2125544_1340018363_c09ce8922dd17702a1f72931c241682c_rle_crop_3689263465_0.png.png imagette209010521740803734/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/03c93b98d981cb6b2cc2fbc680b67427_2483974.png imagette209010501740803732 20901052 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=20901052 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette209010521740803734 20901053 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=20901053 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340018305: '1740699293_2122144_1340017456_b53a5cd8163befb61c87a9f896935f03_rle_crop_3689262375_0.png', 1340018438: '1740699452_2123946_1340018238_fd9e809d41105408a554f7de57a10825_rle_crop_3689262884_0.png', 1340018439: '1740699452_2123946_1340018233_3bc9594640537a84e6acdef13fdb876f_rle_crop_3689262896_0.png', 1340018557: '1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263359_0.png', 1340018592: '1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263526_0.png', 1340024214: '1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300425_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d69b45f5a1598d937d4adaa5712b02cf_89111197.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/11513f3de97db7c7c11de5da60d420d9_31708628.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7061f611a6297c9d91c24c9cda30188f_93104544.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/9497395e2ebf8a6e31d8056c5573458e_14634104.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6bb0fb560da239787de9d71ea2810b9b_59254565.png change filename to text .imagette209010531740803734/ imagette209010531740803734/1740699293_2122144_1340017456_b53a5cd8163befb61c87a9f896935f03_rle_crop_3689262375_0.png.png imagette209010531740803734/1740699452_2123946_1340018233_3bc9594640537a84e6acdef13fdb876f_rle_crop_3689262896_0.png.png imagette209010531740803734/1740699452_2123946_1340018238_fd9e809d41105408a554f7de57a10825_rle_crop_3689262884_0.png.png imagette209010531740803734/1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263526_0.png.png imagette209010531740803734/1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263359_0.png.png imagette209010531740803734/1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300425_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/c3d13a1d0ddcdc02df3e88d6e6bdd122_4955842.png imagette209010531740803734 20901054 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=20901054 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340018576: '1740699592_2125544_1340018371_a979ff65cb012ef1d999c379e414229a_rle_crop_3689263436_0.png'} change filename to text .imagette209010541740803734/ imagette209010541740803734/1740699592_2125544_1340018371_a979ff65cb012ef1d999c379e414229a_rle_crop_3689263436_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8e8c81b977e1be873944db53b2020ce9_73713229.png imagette209010541740803734 20901048 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=20901048 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340018196: '1740699182_2120958_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262018_0.png', 1340018298: '1740699293_2122144_1340017460_672869406ef3a9431fb8da8d3d1a6170_rle_crop_3689262344_0.png', 1340018299: '1740699293_2122144_1340017460_672869406ef3a9431fb8da8d3d1a6170_rle_crop_3689262347_0.png', 1340018309: '1740699312_2122381_1340018020_22e9f95458765a4c8b8849b34cb84157_rle_crop_3689262386_0.png', 1340018412: '1740699471_2124221_1340018271_1f0e6298fd485af27110b308b5062017_rle_crop_3689262872_0.png', 1340018425: '1740699452_2123946_1340018233_3bc9594640537a84e6acdef13fdb876f_rle_crop_3689262895_0.png', 1340018427: '1740699452_2123946_1340018230_c959ac30aea510b6cf7ac61120556370_rle_crop_3689262917_0.png', 1340018487: '1740699554_2125075_1340018400_6e7ac0da89271e90cc1adacb5e40bbb6_rle_crop_3689263024_0.png', 1340018536: '1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263351_0.png', 1340018566: '1740699592_2125544_1340018360_fb8d7dc29613c62ffab3cc76569ff75e_rle_crop_3689263482_0.png', 1340018567: '1740699592_2125544_1340018357_81076b5f7ac504fd5adbdbd9214c6ce9_rle_crop_3689263490_0.png', 1340024203: '1740701733_2146829_1340018271_1f0e6298fd485af27110b308b5062017_rle_crop_3689262872_0.png', 1340024313: '1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262018_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f446778f1630e10e250462d399c7e449_83133194.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7b9aaf4c7cb931387c59711eccc45831_16713118.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0cf9242f06df4a10ab459446f8298964_94726392.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/bd0bbfd39149830d0bd49943acba1f5d_50080205.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b0fd55a0b7c56842056a532af43bf994_37455353.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0cb17b7a0052dcdcb23c282e26adb3d9_13373459.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/792f852112a73163ef9e7e7318816fc6_88463436.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/5c1f8f68d641db954a66fa8e8bff8176_98196067.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/75a5b311b2c518dca65acf19ea722bd6_12403408.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0a20d28e48bb518c0017f2e5ee06c96d_57877197.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ffc6b9abe810d2ef9a1b6ef611807619_78493867.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b0fd55a0b7c56842056a532af43bf994_89555847.png change filename to text .imagette209010481740803734/ imagette209010481740803734/1740699293_2122144_1340017460_672869406ef3a9431fb8da8d3d1a6170_rle_crop_3689262344_0.png.png imagette209010481740803734/1740699452_2123946_1340018233_3bc9594640537a84e6acdef13fdb876f_rle_crop_3689262895_0.png.png imagette209010481740803734/1740699182_2120958_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262018_0.png.png imagette209010481740803734/1740699293_2122144_1340017460_672869406ef3a9431fb8da8d3d1a6170_rle_crop_3689262347_0.png.png imagette209010481740803734/1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262018_0.png.png imagette209010481740803734/1740699471_2124221_1340018271_1f0e6298fd485af27110b308b5062017_rle_crop_3689262872_0.png.png imagette209010481740803734/1740699554_2125075_1340018400_6e7ac0da89271e90cc1adacb5e40bbb6_rle_crop_3689263024_0.png.png imagette209010481740803734/1740699312_2122381_1340018020_22e9f95458765a4c8b8849b34cb84157_rle_crop_3689262386_0.png.png imagette209010481740803734/1740699573_2125297_1340018332_8762b32fc68452ada42a10312bdf5921_rle_crop_3689263351_0.png.png imagette209010481740803734/1740699592_2125544_1340018357_81076b5f7ac504fd5adbdbd9214c6ce9_rle_crop_3689263490_0.png.png imagette209010481740803734/1740699592_2125544_1340018360_fb8d7dc29613c62ffab3cc76569ff75e_rle_crop_3689263482_0.png.png imagette209010481740803734/1740701733_2146829_1340018271_1f0e6298fd485af27110b308b5062017_rle_crop_3689262872_0.png.png imagette209010481740803734/1740699452_2123946_1340018230_c959ac30aea510b6cf7ac61120556370_rle_crop_3689262917_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f446778f1630e10e250462d399c7e449_12546830.png imagette209010481740803734 20901051 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=20901051 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340018423: '1740699452_2123946_1340018225_d1c592465efb802ec9c685b3ba3bc0f0_rle_crop_3689262931_0.png', 1340024305: '1740701813_2147863_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262103_0.png', 1340024304: '1740701813_2147863_1340017386_a747f363f08d77d601bbc1151964a83a_rle_crop_3689262079_0.png', 1340024303: '1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262048_0.png', 1340024302: '1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262040_0.png', 1340024201: '1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262850_0.png', 1340024200: '1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300424_0.png', 1340018562: '1740699592_2125544_1340018360_fb8d7dc29613c62ffab3cc76569ff75e_rle_crop_3689263484_0.png', 1340018561: '1740699592_2125544_1340018367_bc8493cdcb12261427dae6acdbfd3611_rle_crop_3689263451_0.png', 1340018560: '1740699592_2125544_1340018407_79ab276769e9c06b6a791d2734e05eac_rle_crop_3689263428_0.png', 1340018531: '1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263386_0.png', 1340018178: '1740699182_2120958_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262040_0.png', 1340018422: '1740699452_2123946_1340018230_c959ac30aea510b6cf7ac61120556370_rle_crop_3689262920_0.png', 1340018421: '1740699452_2123946_1340018280_20cb31ebb9d27745f187195661e66a1e_rle_crop_3689262830_0.png', 1340018408: '1740699471_2124221_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262850_0.png', 1340018382: '1740699432_2123717_1340018247_c062a7ed803b7b3310cc2ca827f438cd_rle_crop_3689262596_0.png', 1340018308: '1740699312_2122381_1340017750_dc0bf204a31ce42f22a148db672dbe15_rle_crop_3689262412_0.png', 1340018296: '1740699293_2122144_1340017456_b53a5cd8163befb61c87a9f896935f03_rle_crop_3689262376_0.png', 1340018295: '1740699293_2122144_1340017457_2b12d4bd01e6896e897c26aa45cf6779_rle_crop_3689262356_0.png', 1340018184: '1740699182_2120958_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262103_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/98625a9bf7fecb01db87b6ecb4be2cb8_25769664.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/21fb72843eed7619e809aed1b8dc54ab_415360.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/e50e90d6c22adf09fa770bf920c476c1_48642855.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f107c140cf7daa4662e23a558cbae97e_45659352.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/71a3bd085195b128903684f5ab3d57e4_68301026.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7c62b0fca59587e238b6bcc8995b82cf_23868659.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/653a7d9109c93dec4c59613adf5fb488_45247894.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ff7bc10f1f8092f30b29ed361ef96edd_65089191.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/17e6138c55386995cd1e23a84f13f237_59168560.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3093ec1ccb0d5515c3e87058d760b338_98051887.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/cf9135a93ad1c42af2ef5306165e360f_75195503.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/71a3bd085195b128903684f5ab3d57e4_27438183.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b53bf8ea7acc45911f3a1084dc4c610f_65588000.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/6b1d6fbe20b033f714b75f31f7b29d1f_69561714.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7c62b0fca59587e238b6bcc8995b82cf_60817176.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f9ea586c4ecdb38682ad5fd924ea59d5_56352949.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a3b3b74abfcd1fc88f7a45ce8003b764_90029941.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b7462847eb4def4e610830188018f85b_90557177.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/f448f1feec0502c012d99c4c6ae05069_76431538.png change filename to text .imagette209010511740803736/ imagette209010511740803736/1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262850_0.png.png imagette209010511740803736/1740699312_2122381_1340017750_dc0bf204a31ce42f22a148db672dbe15_rle_crop_3689262412_0.png.png imagette209010511740803736/1740699452_2123946_1340018225_d1c592465efb802ec9c685b3ba3bc0f0_rle_crop_3689262931_0.png.png imagette209010511740803736/1740699452_2123946_1340018280_20cb31ebb9d27745f187195661e66a1e_rle_crop_3689262830_0.png.png imagette209010511740803736/1740701813_2147863_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262103_0.png.png imagette209010511740803736/1740701813_2147863_1340017386_a747f363f08d77d601bbc1151964a83a_rle_crop_3689262079_0.png.png imagette209010511740803736/1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300424_0.png.png imagette209010511740803736/1740699592_2125544_1340018407_79ab276769e9c06b6a791d2734e05eac_rle_crop_3689263428_0.png.png imagette209010511740803736/1740699592_2125544_1340018367_bc8493cdcb12261427dae6acdbfd3611_rle_crop_3689263451_0.png.png imagette209010511740803736/1740699182_2120958_1340017384_c8c4da159b46bb8ad06bdef2855da899_rle_crop_3689262103_0.png.png imagette209010511740803736/1740699592_2125544_1340018360_fb8d7dc29613c62ffab3cc76569ff75e_rle_crop_3689263484_0.png.png imagette209010511740803736/1740699471_2124221_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262850_0.png.png imagette209010511740803736/1740699293_2122144_1340017456_b53a5cd8163befb61c87a9f896935f03_rle_crop_3689262376_0.png.png imagette209010511740803736/1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263386_0.png.png imagette209010511740803736/1740699293_2122144_1340017457_2b12d4bd01e6896e897c26aa45cf6779_rle_crop_3689262356_0.png.png imagette209010511740803736/1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262048_0.png.png imagette209010511740803736/1740699432_2123717_1340018247_c062a7ed803b7b3310cc2ca827f438cd_rle_crop_3689262596_0.png.png imagette209010511740803736/1740699452_2123946_1340018230_c959ac30aea510b6cf7ac61120556370_rle_crop_3689262920_0.png.png imagette209010511740803736/1740699182_2120958_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262040_0.png.png imagette209010511740803736/1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262040_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/21fb72843eed7619e809aed1b8dc54ab_88381852.png imagette209010511740803736 20901055 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=20901055 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340024210: '1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262844_0.png', 1340018554: '1740699573_2125297_1340018323_bcceb2d1190ae9dcce987e8486692459_rle_crop_3689263404_0.png', 1340018555: '1740699573_2125297_1340018320_4a31725e137cf2de5e7752d1857d43c3_rle_crop_3689263413_0.png', 1340018570: '1740699592_2125544_1340018371_a979ff65cb012ef1d999c379e414229a_rle_crop_3689263442_0.png', 1340018571: '1740699592_2125544_1340018371_a979ff65cb012ef1d999c379e414229a_rle_crop_3689263438_0.png', 1340018572: '1740699592_2125544_1340018367_bc8493cdcb12261427dae6acdbfd3611_rle_crop_3689263449_0.png', 1340018573: '1740699592_2125544_1340018363_c09ce8922dd17702a1f72931c241682c_rle_crop_3689263470_0.png', 1340018574: '1740699592_2125544_1340018360_fb8d7dc29613c62ffab3cc76569ff75e_rle_crop_3689263483_0.png', 1340018591: '1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263527_0.png', 1340024207: '1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300419_0.png', 1340024208: '1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300423_0.png', 1340024209: '1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262854_0.png', 1340018553: '1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263387_0.png', 1340024211: '1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262852_0.png', 1340024274: '1740701751_2147124_1340017386_a747f363f08d77d601bbc1151964a83a_bib_crop_3689262077_0.jpg', 1340024277: '1740701751_2147124_1340017384_c8c4da159b46bb8ad06bdef2855da899_bib_crop_3689262101_0.jpg', 1340024322: '1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262025_0.png', 1340024323: '1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262046_0.png', 1340024324: '1740701813_2147863_1340017388_d1d5ce66a8ee9b4502c06ff7c065988e_rle_crop_3689262061_0.png', 1340024325: '1740701813_2147863_1340017388_d1d5ce66a8ee9b4502c06ff7c065988e_bib_crop_3689262058_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8d0e1d6eb56164a0502121eae54b3a00_95443897.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4b64d2798214e60b1f2aa72e2c46f07a_83312478.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/28e56921a124aab9acefe74fc384a57d_33211498.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/de32b958f0e0e1a7d0c195510a0b2a03_80936867.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1b09ee754614fa51ff92e45050837087_98854662.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/b4bafe0313ddfde237575c877a18072a_57250403.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/126facab9c974a23729cb4e8e70941a4_94576025.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/fccff0f204bdc9a21a775095da4bb9fc_36261633.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/0c59275ba7ac8781f505c393949620b4_47298719.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a20a4a288533999dcb2be629a0892a86_33608331.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/68d0519499a7f05d4ea87864ff030dba_56689060.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/faefa9f5ec875b96eb4fcc89c40d7439_23720506.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/1b2480cc47d0ba38c1d1574206522e41_11283159.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/3fe5a520b965e486cbf5422945f4da29_9989443.png change filename to text .wget -O 15.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/2803ed95112e5567cd0db5d9d822062f_2044299.jpg change filename to text .wget -O 16.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4b7bc7067fd8683c210f949dc69109f0_84737094.jpg change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/4911acc7d53013821e22c4989650c317_80944299.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/03123405fd4b2db13ee5014551fa911f_12100527.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/ed4fb50456daeea49e310e2fd66af466_1072698.png change filename to text .imagette209010551740803738/ imagette209010551740803738/1740699592_2125544_1340018360_fb8d7dc29613c62ffab3cc76569ff75e_rle_crop_3689263483_0.png.png imagette209010551740803738/1740701751_2147124_1340017384_c8c4da159b46bb8ad06bdef2855da899_bib_crop_3689262101_0.jpg.jpg imagette209010551740803738/1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262854_0.png.png imagette209010551740803738/1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262852_0.png.png imagette209010551740803738/1740699592_2125544_1340018367_bc8493cdcb12261427dae6acdbfd3611_rle_crop_3689263449_0.png.png imagette209010551740803738/1740699573_2125297_1340018325_4b3d2935219373919c7491ac0b6ec6d6_rle_crop_3689263387_0.png.png imagette209010551740803738/1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300423_0.png.png imagette209010551740803738/1740699573_2125297_1340018320_4a31725e137cf2de5e7752d1857d43c3_rle_crop_3689263413_0.png.png imagette209010551740803738/1740699651_2126295_1340018460_118312d5d221ef0920f2f169f32879e5_rle_crop_3689263527_0.png.png imagette209010551740803738/1740701813_2147863_1340017388_d1d5ce66a8ee9b4502c06ff7c065988e_rle_crop_3689262061_0.png.png imagette209010551740803738/1740699592_2125544_1340018363_c09ce8922dd17702a1f72931c241682c_rle_crop_3689263470_0.png.png imagette209010551740803738/1740701813_2147863_1340017388_d1d5ce66a8ee9b4502c06ff7c065988e_bib_crop_3689262058_0.jpg.jpg imagette209010551740803738/1740701813_2147863_1340017391_41dc63e201804e6760972e08a374301a_rle_crop_3689262046_0.png.png imagette209010551740803738/1740699573_2125297_1340018323_bcceb2d1190ae9dcce987e8486692459_rle_crop_3689263404_0.png.png imagette209010551740803738/1740701733_2146829_1340018275_6628d6513c60f560eeb2e0901a8349f3_rle_crop_3689262844_0.png.png imagette209010551740803738/1740701733_2146829_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449_rle_crop_3689300419_0.png.png imagette209010551740803738/1740699592_2125544_1340018371_a979ff65cb012ef1d999c379e414229a_rle_crop_3689263438_0.png.png imagette209010551740803738/1740699592_2125544_1340018371_a979ff65cb012ef1d999c379e414229a_rle_crop_3689263442_0.png.png imagette209010551740803738/1740701751_2147124_1340017386_a747f363f08d77d601bbc1151964a83a_bib_crop_3689262077_0.jpg.jpg imagette209010551740803738/1740701813_2147863_1340017394_8399f92c63707e1b0f64f2a4aee2b7be_rle_crop_3689262025_0.png.png wget -O 20.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/7841f76b6fa2b37db575996a67bee3e2_24023497.jpg imagette209010551740803738 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20901042 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20901057,20901058,20901059,20901060,20901061,20901062,20901063,20901064,20901065,20901066,20901067,20901068?tags=mal_croppe,environnement,flou,Carton_gris,cartonnette,autre_refus,Teint_Dans_La_Masse,metal,plastique,kraft,Carton_brun,papier your option no_mail is active, we will not send the real mail to your client args[1340026025] : ('0.1051329707504246',) no score found for photo 1340026025 We are sending mail with results at report@fotonower.com args[1340018460] : ('0.1051329707504246',) no score found for photo 1340018460 We are sending mail with results at report@fotonower.com args[1340018407] : ('0.1051329707504246',) no score found for photo 1340018407 We are sending mail with results at report@fotonower.com args[1340018403] : ('0.1051329707504246',) no score found for photo 1340018403 We are sending mail with results at report@fotonower.com args[1340018400] : ('0.1051329707504246',) no score found for photo 1340018400 We are sending mail with results at report@fotonower.com args[1340018374] : ('0.1051329707504246',) no score found for photo 1340018374 We are sending mail with results at report@fotonower.com args[1340018371] : ('0.1051329707504246',) no score found for photo 1340018371 We are sending mail with results at report@fotonower.com args[1340018367] : ('0.1051329707504246',) no score found for photo 1340018367 We are sending mail with results at report@fotonower.com args[1340018363] : ('0.1051329707504246',) no score found for photo 1340018363 We are sending mail with results at report@fotonower.com args[1340018360] : ('0.1051329707504246',) no score found for photo 1340018360 We are sending mail with results at report@fotonower.com args[1340018357] : ('0.1051329707504246',) no score found for photo 1340018357 We are sending mail with results at report@fotonower.com args[1340018335] : ('0.1051329707504246',) no score found for photo 1340018335 We are sending mail with results at report@fotonower.com args[1340018332] : ('0.1051329707504246',) no score found for photo 1340018332 We are sending mail with results at report@fotonower.com args[1340018329] : ('0.1051329707504246',) no score found for photo 1340018329 We are sending mail with results at report@fotonower.com args[1340018325] : ('0.1051329707504246',) no score found for photo 1340018325 We are sending mail with results at report@fotonower.com args[1340018323] : ('0.1051329707504246',) no score found for photo 1340018323 We are sending mail with results at report@fotonower.com args[1340018320] : ('0.1051329707504246',) no score found for photo 1340018320 We are sending mail with results at report@fotonower.com args[1340018280] : ('0.1051329707504246',) no score found for photo 1340018280 We are sending mail with results at report@fotonower.com args[1340018275] : ('0.1051329707504246',) no score found for photo 1340018275 We are sending mail with results at report@fotonower.com args[1340018271] : ('0.1051329707504246',) no score found for photo 1340018271 We are sending mail with results at report@fotonower.com args[1340018247] : ('0.1051329707504246',) no score found for photo 1340018247 We are sending mail with results at report@fotonower.com args[1340018242] : ('0.1051329707504246',) no score found for photo 1340018242 We are sending mail with results at report@fotonower.com args[1340018238] : ('0.1051329707504246',) no score found for photo 1340018238 We are sending mail with results at report@fotonower.com args[1340018233] : ('0.1051329707504246',) no score found for photo 1340018233 We are sending mail with results at report@fotonower.com args[1340018230] : ('0.1051329707504246',) no score found for photo 1340018230 We are sending mail with results at report@fotonower.com args[1340018225] : ('0.1051329707504246',) no score found for photo 1340018225 We are sending mail with results at report@fotonower.com args[1340018025] : ('0.1051329707504246',) no score found for photo 1340018025 We are sending mail with results at report@fotonower.com args[1340018020] : ('0.1051329707504246',) no score found for photo 1340018020 We are sending mail with results at report@fotonower.com args[1340017938] : ('0.1051329707504246',) no score found for photo 1340017938 We are sending mail with results at report@fotonower.com args[1340017750] : ('0.1051329707504246',) no score found for photo 1340017750 We are sending mail with results at report@fotonower.com args[1340017464] : ('0.1051329707504246',) no score found for photo 1340017464 We are sending mail with results at report@fotonower.com args[1340017462] : ('0.1051329707504246',) no score found for photo 1340017462 We are sending mail with results at report@fotonower.com args[1340017460] : ('0.1051329707504246',) no score found for photo 1340017460 We are sending mail with results at report@fotonower.com args[1340017457] : ('0.1051329707504246',) no score found for photo 1340017457 We are sending mail with results at report@fotonower.com args[1340017456] : ('0.1051329707504246',) no score found for photo 1340017456 We are sending mail with results at report@fotonower.com args[1340017394] : ('0.1051329707504246',) no score found for photo 1340017394 We are sending mail with results at report@fotonower.com args[1340017391] : ('0.1051329707504246',) no score found for photo 1340017391 We are sending mail with results at report@fotonower.com args[1340017388] : ('0.1051329707504246',) no score found for photo 1340017388 We are sending mail with results at report@fotonower.com args[1340017386] : ('0.1051329707504246',) no score found for photo 1340017386 We are sending mail with results at report@fotonower.com args[1340017384] : ('0.1051329707504246',) no score found for photo 1340017384 We are sending mail with results at report@fotonower.com refus_total : 0.1051329707504246 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=20901042 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_P20901042_01-03-2025_05_35_31.pdf results_Auto_P20901042_01-03-2025_05_35_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.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','20901042','results_Auto_P20901042_01-03-2025_05_35_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf','pdf','','0.57','0.1051329707504246') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20901042]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] map_info['map_portfolio_photo'] : {20901042: [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384]} final : False mtd_id 4302 list_pids : [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] 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, '2625806') ('4302', '20901042', '1340026025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018407', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018403', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018400', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018374', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018371', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018367', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018363', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018360', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018357', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018335', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018332', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018329', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018325', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018323', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018320', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018280', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018275', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018271', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018247', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018242', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018238', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018233', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018230', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018225', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018020', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017938', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017750', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017464', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017462', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017457', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017456', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017394', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017391', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017388', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017386', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017384', None, None, None, None, None, '2625806') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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', '20901042', '1340026025', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018460', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018407', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018403', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018400', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018374', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018371', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018367', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018363', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018360', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018357', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018335', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018332', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018329', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018325', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018323', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018320', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018280', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018275', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018271', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018247', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018242', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018238', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018233', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018230', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018225', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018025', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018020', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017938', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017750', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017464', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017462', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017460', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017457', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017456', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017394', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017391', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017388', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017386', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017384', None, None, None, None, None, '2625806')] time used for this insertion : 0.17178130149841309 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.117729663848877 time spend to save output : 0.17213654518127441 total time spend for step 4 : 13.289866209030151 step5:split_time_score Sat Mar 1 05:35:43 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 : ['20901042'] 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 : [('20901042',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20901042) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340018403: {'path': 'temp/1740803729_579045_1340018403_f8dfec8c6492916d0ab2c333e4a956fa.jpg', 'extension': 'jpg'}, 1340018407: {'path': 'temp/1740803729_579045_1340018407_79ab276769e9c06b6a791d2734e05eac.jpg', 'extension': 'jpg'}, 1340018460: {'path': 'temp/1740803729_579045_1340018460_118312d5d221ef0920f2f169f32879e5.jpg', 'extension': 'jpg'}, 1340026025: {'path': 'temp/1740803729_579045_1340026025_800e7a69d5a67a6dde20253b1dfc37ab.jpg', 'extension': 'jpg'}, 1340018242: {'path': 'temp/1740803729_579045_1340018242_380da3fe49f84b07c1fbc84efb03ef46.jpg', 'extension': 'jpg'}, 1340018247: {'path': 'temp/1740803729_579045_1340018247_c062a7ed803b7b3310cc2ca827f438cd.jpg', 'extension': 'jpg'}, 1340018271: {'path': 'temp/1740803729_579045_1340018271_1f0e6298fd485af27110b308b5062017.jpg', 'extension': 'jpg'}, 1340018275: {'path': 'temp/1740803729_579045_1340018275_6628d6513c60f560eeb2e0901a8349f3.jpg', 'extension': 'jpg'}, 1340018280: {'path': 'temp/1740803729_579045_1340018280_20cb31ebb9d27745f187195661e66a1e.jpg', 'extension': 'jpg'}, 1340018320: {'path': 'temp/1740803729_579045_1340018320_4a31725e137cf2de5e7752d1857d43c3.jpg', 'extension': 'jpg'}, 1340018323: {'path': 'temp/1740803729_579045_1340018323_bcceb2d1190ae9dcce987e8486692459.jpg', 'extension': 'jpg'}, 1340018325: {'path': 'temp/1740803729_579045_1340018325_4b3d2935219373919c7491ac0b6ec6d6.jpg', 'extension': 'jpg'}, 1340018329: {'path': 'temp/1740803729_579045_1340018329_44eca1249745e8b937d4b46c2e18e653.jpg', 'extension': 'jpg'}, 1340017464: {'path': 'temp/1740803729_579045_1340017464_7651d8978dcae0abf6bdf2df759ef40f.jpg', 'extension': 'jpg'}, 1340017750: {'path': 'temp/1740803729_579045_1340017750_dc0bf204a31ce42f22a148db672dbe15.jpg', 'extension': 'jpg'}, 1340017938: {'path': 'temp/1740803729_579045_1340017938_f6851dbc972deea7732d9aa33541f0c5.jpg', 'extension': 'jpg'}, 1340018020: {'path': 'temp/1740803729_579045_1340018020_22e9f95458765a4c8b8849b34cb84157.jpg', 'extension': 'jpg'}, 1340018025: {'path': 'temp/1740803729_579045_1340018025_4f741fd75ff483c1cec88d3ceca7b0b6.jpg', 'extension': 'jpg'}, 1340018225: {'path': 'temp/1740803729_579045_1340018225_d1c592465efb802ec9c685b3ba3bc0f0.jpg', 'extension': 'jpg'}, 1340018230: {'path': 'temp/1740803729_579045_1340018230_c959ac30aea510b6cf7ac61120556370.jpg', 'extension': 'jpg'}, 1340018233: {'path': 'temp/1740803729_579045_1340018233_3bc9594640537a84e6acdef13fdb876f.jpg', 'extension': 'jpg'}, 1340018238: {'path': 'temp/1740803729_579045_1340018238_fd9e809d41105408a554f7de57a10825.jpg', 'extension': 'jpg'}, 1340018332: {'path': 'temp/1740803729_579045_1340018332_8762b32fc68452ada42a10312bdf5921.jpg', 'extension': 'jpg'}, 1340018335: {'path': 'temp/1740803729_579045_1340018335_6db3ebf93e9b6404cf7d3a8f5d000449.jpg', 'extension': 'jpg'}, 1340018357: {'path': 'temp/1740803729_579045_1340018357_81076b5f7ac504fd5adbdbd9214c6ce9.jpg', 'extension': 'jpg'}, 1340018360: {'path': 'temp/1740803729_579045_1340018360_fb8d7dc29613c62ffab3cc76569ff75e.jpg', 'extension': 'jpg'}, 1340018363: {'path': 'temp/1740803729_579045_1340018363_c09ce8922dd17702a1f72931c241682c.jpg', 'extension': 'jpg'}, 1340018367: {'path': 'temp/1740803729_579045_1340018367_bc8493cdcb12261427dae6acdbfd3611.jpg', 'extension': 'jpg'}, 1340018371: {'path': 'temp/1740803729_579045_1340018371_a979ff65cb012ef1d999c379e414229a.jpg', 'extension': 'jpg'}, 1340018374: {'path': 'temp/1740803729_579045_1340018374_bcbaab7eafa880237f85429d07503b76.jpg', 'extension': 'jpg'}, 1340018400: {'path': 'temp/1740803729_579045_1340018400_6e7ac0da89271e90cc1adacb5e40bbb6.jpg', 'extension': 'jpg'}, 1340017384: {'path': 'temp/1740803729_579045_1340017384_c8c4da159b46bb8ad06bdef2855da899.jpg', 'extension': 'jpg'}, 1340017386: {'path': 'temp/1740803729_579045_1340017386_a747f363f08d77d601bbc1151964a83a.jpg', 'extension': 'jpg'}, 1340017388: {'path': 'temp/1740803729_579045_1340017388_d1d5ce66a8ee9b4502c06ff7c065988e.jpg', 'extension': 'jpg'}, 1340017391: {'path': 'temp/1740803729_579045_1340017391_41dc63e201804e6760972e08a374301a.jpg', 'extension': 'jpg'}, 1340017394: {'path': 'temp/1740803729_579045_1340017394_8399f92c63707e1b0f64f2a4aee2b7be.jpg', 'extension': 'jpg'}, 1340017456: {'path': 'temp/1740803729_579045_1340017456_b53a5cd8163befb61c87a9f896935f03.jpg', 'extension': 'jpg'}, 1340017457: {'path': 'temp/1740803729_579045_1340017457_2b12d4bd01e6896e897c26aa45cf6779.jpg', 'extension': 'jpg'}, 1340017460: {'path': 'temp/1740803729_579045_1340017460_672869406ef3a9431fb8da8d3d1a6170.jpg', 'extension': 'jpg'}, 1340017462: {'path': 'temp/1740803729_579045_1340017462_25038723dc28410ecb594ecb4cd9def9.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 = 20901042; (('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 = 20901042 group by h (('00', 40),) 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=20901042 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 (20901042) 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 (20901042) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28022025 20901042 Nombre de photos uploadées : 40 / 23040 (0%) 28022025 20901042 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 28022025 20901042 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1340017394, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/8399f92c63707e1b0f64f2a4aee2b7be.jpg', 'username': None, 'uploaded_at': 1740699071, 'text': 'image_28022025_00_30_04_010164m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340017391, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/41dc63e201804e6760972e08a374301a.jpg', 'username': None, 'uploaded_at': 1740699071, 'text': 'image_28022025_00_30_14_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340017388, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/d1d5ce66a8ee9b4502c06ff7c065988e.jpg', 'username': None, 'uploaded_at': 1740699071, 'text': 'image_28022025_00_30_25_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340017386, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/28/a747f363f08d77d601bbc1151964a83a.jpg', 'username': None, 'uploaded_at': 1740699071, 'text': 'image_28022025_00_30_34_009133m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020475387573242188 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20901042, '2025-02-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1629471,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023380517959594727 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= 1629471 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20900111, 'dashboard_result_id': 9150624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900126, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20900621, 'dashboard_result_id': 9150625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900658, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20901042, 'dashboard_result_id': 9150626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_00_01_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901056, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20901979, 'dashboard_result_id': 9150627, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_28-02-2025_01_46_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901992, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20902324, 'dashboard_result_id': 9150628, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20902377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902382, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20902813, 'dashboard_result_id': 9150629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20902816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902827, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20903214, 'dashboard_result_id': 9150630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20904104, 'dashboard_result_id': 9150631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20904676, 'dashboard_result_id': 9150632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20905347, 'dashboard_result_id': 9150633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20906134, 'dashboard_result_id': 9150634, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20907055, 'dashboard_result_id': 9150635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20907059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907070, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20907421, 'dashboard_result_id': 9150636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20907429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907435, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20908156, 'dashboard_result_id': 9150637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20908197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20908198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20908199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20908200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20908201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20908202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20908203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20908204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20908205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20908206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20908207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20908208, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20909166, 'dashboard_result_id': 9150638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20909210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909216, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20909596, 'dashboard_result_id': 9150639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20909597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909608, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20910125, 'dashboard_result_id': 9150640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910139, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20910508, 'dashboard_result_id': 9150641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20911007, 'dashboard_result_id': 9150642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20911538, 'dashboard_result_id': 9150643, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20912133, 'dashboard_result_id': 9150644, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20912498, 'dashboard_result_id': 9150645, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912560, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20913007, 'dashboard_result_id': 9150646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913050, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20913442, 'dashboard_result_id': 9150647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913459, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20914178, 'dashboard_result_id': 9150648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20914234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914245, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20914902, 'dashboard_result_id': 9150649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20914981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914991, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20915703, 'dashboard_result_id': 9150650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20915754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20915755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20915756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20915757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20915758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20915759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20915760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20915761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20915762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20915763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20915764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20915765, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20916353, 'dashboard_result_id': 9150651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20916358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20916359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20916360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20916361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20916362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20916363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20916364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20916365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20916366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20916367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20916368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20916369, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20917018, 'dashboard_result_id': 9150652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917096, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20917662, 'dashboard_result_id': 9150653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917698, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20919487, 'dashboard_result_id': 9150654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919501, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20919908, 'dashboard_result_id': 9150655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919969, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20920542, 'dashboard_result_id': 9150656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20920547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20920548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20920549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20920550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20920551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20920552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20920553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20920554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20920555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20920556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20920557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20920558, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20921078, 'dashboard_result_id': 9150657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921097, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20921670, 'dashboard_result_id': 9150658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921689, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20922382, 'dashboard_result_id': 9150659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20922414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20922415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20922416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20922417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20922418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20922419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20922420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20922422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20922423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20922424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20922425, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20923040, 'dashboard_result_id': 9150660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20923074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923083, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20923792, 'dashboard_result_id': 9150661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20923869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923880, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20924336, 'dashboard_result_id': 9150662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924350, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20924961, 'dashboard_result_id': 9150663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924998, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20925405, 'dashboard_result_id': 9150664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20925413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20925414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20925416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20925417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20925418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20925419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20925420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20925421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20925422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20925423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20925424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20925425, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20927098, 'dashboard_result_id': 9150665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927135, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20927337, 'dashboard_result_id': 9150666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927352, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20927747, 'dashboard_result_id': 9150667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20927762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927773, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20928214, 'dashboard_result_id': 9150668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20928250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928252, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20928612, 'dashboard_result_id': 9150669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20928645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928656, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20930178, 'dashboard_result_id': 9150670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20930180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20930188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930191, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20930579, 'dashboard_result_id': 9150671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20930583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20930584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930594, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20931074, 'dashboard_result_id': 9150672, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931087, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20931482, 'dashboard_result_id': 9150673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931503, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20932209, 'dashboard_result_id': 9150674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20932259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20932260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20932261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20932262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20932263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20932264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20932265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20932266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20932267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20932268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20932269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20932270, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20933114, 'dashboard_result_id': 9150675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933128, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20933804, 'dashboard_result_id': 9150676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933855, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20934243, 'dashboard_result_id': 9150677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934258, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20934816, 'dashboard_result_id': 9150678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934907, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20936213, 'dashboard_result_id': 9150679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936227, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20936553, 'dashboard_result_id': 9150680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936566, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20937007, 'dashboard_result_id': 9150681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937020, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20937500, 'dashboard_result_id': 9150682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937514, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20937873, 'dashboard_result_id': 9150683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937910, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20938430, 'dashboard_result_id': 9150684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20938434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20938435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20938436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20938437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20938438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20938440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20938441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20938442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20938445, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20939195, 'dashboard_result_id': 9150685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20939197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20939202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939208, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20939475, 'dashboard_result_id': 9150686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20939527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20939536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939538, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20940145, 'dashboard_result_id': 9150687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940159, 'pht': 3726}}"}, {'dashboat_entry_day': 1629471, 'dashboard_run_id': 1640364, 'mtr_portfolio_id': 20940802, 'dashboard_result_id': 9150688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940817, '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 = 20900111 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625804, 'mtr_portfolio_id': 20900111, 'created_at': datetime.datetime(2025, 3, 1, 5, 34, 31), 'result': '0.09747543990115765', 'result_long': None, 'result_double': None}] Qualite : 0.09747543990115765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20900111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20900111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900126, 'pht': 3726}}" where mtr_portfolio_id = 20900111 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20900111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150624, 0.09747543990115765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900111_01-03-2025_05_34_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900126, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20900621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625805, 'mtr_portfolio_id': 20900621, 'created_at': datetime.datetime(2025, 3, 1, 5, 34, 59), 'result': '0.10516163642848303', 'result_long': None, 'result_double': None}] Qualite : 0.10516163642848303 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20900621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20900621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900658, 'pht': 3726}}" where mtr_portfolio_id = 20900621 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20900621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150625, 0.10516163642848303, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20900621_01-03-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20900648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20900649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20900650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20900651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20900652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20900654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20900655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20900656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20900657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20900658, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20901042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625806, 'mtr_portfolio_id': 20901042, 'created_at': datetime.datetime(2025, 3, 1, 5, 35, 29), 'result': '0.1051329707504246', 'result_long': None, 'result_double': None}] Qualite : 0.1051329707504246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20901042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20901042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901056, 'pht': 3726}}" where mtr_portfolio_id = 20901042 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150626, 0.1051329707504246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901042_01-03-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901056, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20901979 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621599, 'mtr_portfolio_id': 20901979, 'created_at': datetime.datetime(2025, 2, 28, 1, 46, 57), 'result': '0.10364050651387023', 'result_long': None, 'result_double': None}] Qualite : 0.10364050651387023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20901979 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_28-02-2025_01_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20901979 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_28-02-2025_01_46_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901992, 'pht': 3726}}" where mtr_portfolio_id = 20901979 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20901979 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150627, 0.10364050651387023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20901979_28-02-2025_01_46_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20901981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20901982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20901983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20901984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20901985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20901986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20901987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20901988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20901989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20901990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20901991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20901992, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20902324 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621623, 'mtr_portfolio_id': 20902324, 'created_at': datetime.datetime(2025, 2, 28, 2, 5), 'result': '0.11263133103981852', 'result_long': None, 'result_double': None}] Qualite : 0.11263133103981852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20902324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20902324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20902377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902382, 'pht': 3726}}" where mtr_portfolio_id = 20902324 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20902324 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150628, 0.11263133103981852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902324_28-02-2025_02_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20902377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902382, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20902813 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621665, 'mtr_portfolio_id': 20902813, 'created_at': datetime.datetime(2025, 2, 28, 2, 19, 1), 'result': '0.10688985082424936', 'result_long': None, 'result_double': None}] Qualite : 0.10688985082424936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20902813 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20902813 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20902816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902827, 'pht': 3726}}" where mtr_portfolio_id = 20902813 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20902813 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150629, 0.10688985082424936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20902813_28-02-2025_02_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20902816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20902817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20902818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20902819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20902820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20902821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20902822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20902823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20902824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20902825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20902826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20902827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20903214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621699, 'mtr_portfolio_id': 20903214, 'created_at': datetime.datetime(2025, 2, 28, 2, 32, 58), 'result': '0.10369774193069399', 'result_long': None, 'result_double': None}] Qualite : 0.10369774193069399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20903214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20903214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}" where mtr_portfolio_id = 20903214 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20903214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150630, 0.10369774193069399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20903214_28-02-2025_02_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20903236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20903237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20903238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20903239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20903240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20903241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20903242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20903243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20903244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20903245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20903246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20903247, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20904104 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621743, 'mtr_portfolio_id': 20904104, 'created_at': datetime.datetime(2025, 2, 28, 2, 48, 58), 'result': '0.10198504883927051', 'result_long': None, 'result_double': None}] Qualite : 0.10198504883927051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}" where mtr_portfolio_id = 20904104 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20904104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150631, 0.10198504883927051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904104_28-02-2025_02_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904145, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20904676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621778, 'mtr_portfolio_id': 20904676, 'created_at': datetime.datetime(2025, 2, 28, 3, 2, 59), 'result': '0.09339201979184251', 'result_long': None, 'result_double': None}] Qualite : 0.09339201979184251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20904676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20904676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}" where mtr_portfolio_id = 20904676 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20904676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150632, 0.09339201979184251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20904676_28-02-2025_03_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20904704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20904705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20904706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20904707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20904708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20904709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20904710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20904711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20904712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20904713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20904714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20904715, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20905347 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621833, 'mtr_portfolio_id': 20905347, 'created_at': datetime.datetime(2025, 2, 28, 3, 18, 58), 'result': '0.11636859519840724', 'result_long': None, 'result_double': None}] Qualite : 0.11636859519840724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20905347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20905347 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}" where mtr_portfolio_id = 20905347 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20905347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150633, 0.11636859519840724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20905347_28-02-2025_03_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20905378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20905379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20905380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20905381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20905382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20905383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20905384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20905385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20905386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20905387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20905388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20905389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20906134 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621897, 'mtr_portfolio_id': 20906134, 'created_at': datetime.datetime(2025, 2, 28, 3, 35), 'result': '0.10289746261654546', 'result_long': None, 'result_double': None}] Qualite : 0.10289746261654546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20906134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20906134 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}" where mtr_portfolio_id = 20906134 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20906134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150634, 0.10289746261654546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20906134_28-02-2025_03_35_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20906226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20906227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20906228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20906229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20906230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20906231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20906232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20906233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20906234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20906235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20906236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20907055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621944, 'mtr_portfolio_id': 20907055, 'created_at': datetime.datetime(2025, 2, 28, 3, 46, 58), 'result': '0.11183913044676853', 'result_long': None, 'result_double': None}] Qualite : 0.11183913044676853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20907055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20907055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20907059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907070, 'pht': 3726}}" where mtr_portfolio_id = 20907055 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20907055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150635, 0.11183913044676853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907055_28-02-2025_03_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20907059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907070, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20907421 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2621970, 'mtr_portfolio_id': 20907421, 'created_at': datetime.datetime(2025, 2, 28, 4, 2, 59), 'result': '0.11721529475197166', 'result_long': None, 'result_double': None}] Qualite : 0.11721529475197166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20907421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20907421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20907429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907435, 'pht': 3726}}" where mtr_portfolio_id = 20907421 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20907421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150636, 0.11721529475197166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20907421_28-02-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20907424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20907425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20907426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20907427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20907428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20907429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20907430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20907431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20907432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20907433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20907434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20907435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20908156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622022, 'mtr_portfolio_id': 20908156, 'created_at': datetime.datetime(2025, 2, 28, 4, 26, 30), 'result': '0.09507947351771101', 'result_long': None, 'result_double': None}] Qualite : 0.09507947351771101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20908156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20908156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20908197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20908198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20908199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20908200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20908201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20908202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20908203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20908204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20908205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20908206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20908207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20908208, 'pht': 3726}}" where mtr_portfolio_id = 20908156 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20908156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150637, 0.09507947351771101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20908156_28-02-2025_04_26_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20908197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20908198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20908199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20908200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20908201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20908202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20908203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20908204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20908205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20908206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20908207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20908208, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20909166 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622115, 'mtr_portfolio_id': 20909166, 'created_at': datetime.datetime(2025, 2, 28, 5, 16, 57), 'result': '0.11103720881979344', 'result_long': None, 'result_double': None}] Qualite : 0.11103720881979344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20909166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20909166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20909210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909216, 'pht': 3726}}" where mtr_portfolio_id = 20909166 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20909166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150638, 0.11103720881979344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909166_28-02-2025_05_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20909210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909216, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20909596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622139, 'mtr_portfolio_id': 20909596, 'created_at': datetime.datetime(2025, 2, 28, 5, 33, 7), 'result': '0.10011956881308742', 'result_long': None, 'result_double': None}] Qualite : 0.10011956881308742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20909596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20909596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20909597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909608, 'pht': 3726}}" where mtr_portfolio_id = 20909596 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20909596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150639, 0.10011956881308742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20909596_28-02-2025_05_33_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20909597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20909598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20909599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20909600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20909601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20909602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20909603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20909604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20909605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20909606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20909607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20909608, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20910125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622234, 'mtr_portfolio_id': 20910125, 'created_at': datetime.datetime(2025, 2, 28, 5, 49, 30), 'result': '0.09822750903674135', 'result_long': None, 'result_double': None}] Qualite : 0.09822750903674135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20910125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20910125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910139, 'pht': 3726}}" where mtr_portfolio_id = 20910125 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20910125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150640, 0.09822750903674135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910125_28-02-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910139, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20910508 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622263, 'mtr_portfolio_id': 20910508, 'created_at': datetime.datetime(2025, 2, 28, 6, 5, 29), 'result': '0.10985063203541856', 'result_long': None, 'result_double': None}] Qualite : 0.10985063203541856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20910508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20910508 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}" where mtr_portfolio_id = 20910508 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20910508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150641, 0.10985063203541856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20910508_28-02-2025_06_05_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20910510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20910511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20910512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20910513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20910514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20910515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20910516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20910517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20910518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20910519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20910520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20910521, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20911007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622304, 'mtr_portfolio_id': 20911007, 'created_at': datetime.datetime(2025, 2, 28, 6, 18, 58), 'result': '0.11129111297383326', 'result_long': None, 'result_double': None}] Qualite : 0.11129111297383326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20911007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20911007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}" where mtr_portfolio_id = 20911007 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20911007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150642, 0.11129111297383326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911007_28-02-2025_06_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20911012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20911538 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622338, 'mtr_portfolio_id': 20911538, 'created_at': datetime.datetime(2025, 2, 28, 6, 32, 57), 'result': '0.09534862347120972', 'result_long': None, 'result_double': None}] Qualite : 0.09534862347120972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20911538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20911538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}" where mtr_portfolio_id = 20911538 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20911538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150643, 0.09534862347120972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20911538_28-02-2025_06_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20911567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20911568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20911569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20911570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20911571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20911572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20911573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20911574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20911575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20911576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20911577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20911578, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20912133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622378, 'mtr_portfolio_id': 20912133, 'created_at': datetime.datetime(2025, 2, 28, 6, 48, 58), 'result': '0.10805905131395158', 'result_long': None, 'result_double': None}] Qualite : 0.10805905131395158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20912133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20912133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, 'pht': 3726}}" where mtr_portfolio_id = 20912133 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20912133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150644, 0.10805905131395158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912133_28-02-2025_06_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912171, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20912498 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622405, 'mtr_portfolio_id': 20912498, 'created_at': datetime.datetime(2025, 2, 28, 7, 3), 'result': '0.10622409205524891', 'result_long': None, 'result_double': None}] Qualite : 0.10622409205524891 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20912498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20912498 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912560, 'pht': 3726}}" where mtr_portfolio_id = 20912498 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20912498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150645, 0.10622409205524891, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20912498_28-02-2025_07_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20912549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20912550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20912551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20912552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20912553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20912554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20912555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20912556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20912557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20912558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20912559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20912560, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20913007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622461, 'mtr_portfolio_id': 20913007, 'created_at': datetime.datetime(2025, 2, 28, 7, 27, 28), 'result': '0.10359731359524672', 'result_long': None, 'result_double': None}] Qualite : 0.10359731359524672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20913007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20913007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913050, 'pht': 3726}}" where mtr_portfolio_id = 20913007 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20913007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150646, 0.10359731359524672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913007_28-02-2025_07_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20913442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622497, 'mtr_portfolio_id': 20913442, 'created_at': datetime.datetime(2025, 2, 28, 7, 32, 59), 'result': '0.10269329454977479', 'result_long': None, 'result_double': None}] Qualite : 0.10269329454977479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20913442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20913442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913459, 'pht': 3726}}" where mtr_portfolio_id = 20913442 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20913442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150647, 0.10269329454977479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20913442_28-02-2025_07_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20913448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20913449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20913450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20913451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20913452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20913453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20913454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20913455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20913456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20913457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20913458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20913459, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20914178 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622550, 'mtr_portfolio_id': 20914178, 'created_at': datetime.datetime(2025, 2, 28, 7, 48, 58), 'result': '0.10087831170972228', 'result_long': None, 'result_double': None}] Qualite : 0.10087831170972228 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20914178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20914178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20914234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914245, 'pht': 3726}}" where mtr_portfolio_id = 20914178 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20914178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150648, 0.10087831170972228, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914178_28-02-2025_07_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20914234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20914902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622593, 'mtr_portfolio_id': 20914902, 'created_at': datetime.datetime(2025, 2, 28, 8, 2, 30), 'result': '0.09306794617768774', 'result_long': None, 'result_double': None}] Qualite : 0.09306794617768774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20914902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20914902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20914981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914991, 'pht': 3726}}" where mtr_portfolio_id = 20914902 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20914902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150649, 0.09306794617768774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914902_28-02-2025_08_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20914980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20914981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20914982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20914983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20914984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20914985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20914986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20914987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20914988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20914989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20914990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20914991, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20915703 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622646, 'mtr_portfolio_id': 20915703, 'created_at': datetime.datetime(2025, 2, 28, 8, 18, 58), 'result': '0.091494975935373', 'result_long': None, 'result_double': None}] Qualite : 0.091494975935373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20915703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915703 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20915754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20915755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20915756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20915757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20915758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20915759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20915760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20915761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20915762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20915763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20915764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20915765, 'pht': 3726}}" where mtr_portfolio_id = 20915703 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20915703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150650, 0.091494975935373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915703_28-02-2025_08_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20915754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20915755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20915756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20915757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20915758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20915759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20915760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20915761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20915762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20915763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20915764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20915765, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20916353 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622684, 'mtr_portfolio_id': 20916353, 'created_at': datetime.datetime(2025, 2, 28, 8, 32, 59), 'result': '0.08369197115265549', 'result_long': None, 'result_double': None}] Qualite : 0.08369197115265549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20916353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20916353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20916358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20916359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20916360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20916361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20916362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20916363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20916364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20916365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20916366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20916367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20916368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20916369, 'pht': 3726}}" where mtr_portfolio_id = 20916353 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20916353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150651, 0.08369197115265549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20916353_28-02-2025_08_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20916358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20916359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20916360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20916361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20916362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20916363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20916364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20916365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20916366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20916367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20916368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20916369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20917018 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622725, 'mtr_portfolio_id': 20917018, 'created_at': datetime.datetime(2025, 2, 28, 8, 49, 1), 'result': '0.07647040179178075', 'result_long': None, 'result_double': None}] Qualite : 0.07647040179178075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20917018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20917018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917096, 'pht': 3726}}" where mtr_portfolio_id = 20917018 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20917018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150652, 0.07647040179178075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917018_28-02-2025_08_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20917662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622804, 'mtr_portfolio_id': 20917662, 'created_at': datetime.datetime(2025, 2, 28, 9, 3), 'result': '0.07224231244475547', 'result_long': None, 'result_double': None}] Qualite : 0.07224231244475547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20917662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20917662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917698, 'pht': 3726}}" where mtr_portfolio_id = 20917662 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20917662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150653, 0.07224231244475547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20917662_28-02-2025_09_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20917687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20917688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20917689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20917690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20917691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20917692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20917693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20917694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20917695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20917696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20917697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20917698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20919487 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622946, 'mtr_portfolio_id': 20919487, 'created_at': datetime.datetime(2025, 2, 28, 9, 48, 58), 'result': '0.08199698200790083', 'result_long': None, 'result_double': None}] Qualite : 0.08199698200790083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20919487 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20919487 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919501, 'pht': 3726}}" where mtr_portfolio_id = 20919487 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20919487 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150654, 0.08199698200790083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919487_28-02-2025_09_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20919908 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2622981, 'mtr_portfolio_id': 20919908, 'created_at': datetime.datetime(2025, 2, 28, 10, 3, 1), 'result': '0.085683253491643', 'result_long': None, 'result_double': None}] Qualite : 0.085683253491643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20919908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20919908 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919969, 'pht': 3726}}" where mtr_portfolio_id = 20919908 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20919908 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150655, 0.085683253491643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20919908_28-02-2025_10_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20919958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20919959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20919960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20919961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20919962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20919963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20919964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20919965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20919966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20919967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20919968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20919969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20920542 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623031, 'mtr_portfolio_id': 20920542, 'created_at': datetime.datetime(2025, 2, 28, 10, 18, 57), 'result': '0.08789036432563398', 'result_long': None, 'result_double': None}] Qualite : 0.08789036432563398 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20920542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20920542 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20920547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20920548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20920549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20920550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20920551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20920552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20920553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20920554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20920555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20920556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20920557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20920558, 'pht': 3726}}" where mtr_portfolio_id = 20920542 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20920542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150656, 0.08789036432563398, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920542_28-02-2025_10_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20920547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20920548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20920549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20920550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20920551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20920552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20920553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20920554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20920555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20920556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20920557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20920558, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20921078 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623083, 'mtr_portfolio_id': 20921078, 'created_at': datetime.datetime(2025, 2, 28, 10, 32, 59), 'result': '0.06747455878631768', 'result_long': None, 'result_double': None}] Qualite : 0.06747455878631768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20921078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20921078 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921097, 'pht': 3726}}" where mtr_portfolio_id = 20921078 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20921078 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150657, 0.06747455878631768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921078_28-02-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921097, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20921670 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623140, 'mtr_portfolio_id': 20921670, 'created_at': datetime.datetime(2025, 2, 28, 10, 48, 57), 'result': '0.07281981865086648', 'result_long': None, 'result_double': None}] Qualite : 0.07281981865086648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20921670 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20921670 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921689, 'pht': 3726}}" where mtr_portfolio_id = 20921670 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20921670 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150658, 0.07281981865086648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20921670_28-02-2025_10_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20921678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20921679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20921680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20921681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20921682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20921683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20921684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20921685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20921686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20921687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20921688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20921689, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20922382 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623241, 'mtr_portfolio_id': 20922382, 'created_at': datetime.datetime(2025, 2, 28, 11, 2, 29), 'result': '0.08097714561073942', 'result_long': None, 'result_double': None}] Qualite : 0.08097714561073942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20922382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20922382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20922414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20922415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20922416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20922417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20922418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20922419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20922420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20922422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20922423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20922424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20922425, 'pht': 3726}}" where mtr_portfolio_id = 20922382 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20922382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150659, 0.08097714561073942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20922382_28-02-2025_11_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20922414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20922415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20922416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20922417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20922418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20922419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20922420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20922422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20922423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20922424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20922425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20923040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623320, 'mtr_portfolio_id': 20923040, 'created_at': datetime.datetime(2025, 2, 28, 11, 19), 'result': '0.0713210040431741', 'result_long': None, 'result_double': None}] Qualite : 0.0713210040431741 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20923040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20923074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923083, 'pht': 3726}}" where mtr_portfolio_id = 20923040 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20923040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150660, 0.0713210040431741, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923040_28-02-2025_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20923074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923083, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20923792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623373, 'mtr_portfolio_id': 20923792, 'created_at': datetime.datetime(2025, 2, 28, 11, 32, 30), 'result': '0.08809963752076401', 'result_long': None, 'result_double': None}] Qualite : 0.08809963752076401 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20923792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20923869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923880, 'pht': 3726}}" where mtr_portfolio_id = 20923792 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20923792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150661, 0.08809963752076401, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923792_28-02-2025_11_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20923869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20923870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20923871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20923872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20923873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20923874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20923875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20923876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20923877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20923878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20923879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20923880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20924336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623420, 'mtr_portfolio_id': 20924336, 'created_at': datetime.datetime(2025, 2, 28, 11, 47, 1), 'result': '0.08281121640675179', 'result_long': None, 'result_double': None}] Qualite : 0.08281121640675179 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20924336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924350, 'pht': 3726}}" where mtr_portfolio_id = 20924336 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20924336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150662, 0.08281121640675179, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924336_28-02-2025_11_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924350, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20924961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623463, 'mtr_portfolio_id': 20924961, 'created_at': datetime.datetime(2025, 2, 28, 12, 2, 29), 'result': '0.10284216524014349', 'result_long': None, 'result_double': None}] Qualite : 0.10284216524014349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20924961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924998, 'pht': 3726}}" where mtr_portfolio_id = 20924961 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20924961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150663, 0.10284216524014349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924961_28-02-2025_12_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20924987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20924988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20924989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20924990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20924991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20924992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20924993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20924994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20924995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20924996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20924997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20924998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20925405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623524, 'mtr_portfolio_id': 20925405, 'created_at': datetime.datetime(2025, 2, 28, 12, 23), 'result': '0.1035259730550516', 'result_long': None, 'result_double': None}] Qualite : 0.1035259730550516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20925405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20925405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20925413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20925414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20925416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20925417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20925418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20925419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20925420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20925421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20925422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20925423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20925424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20925425, 'pht': 3726}}" where mtr_portfolio_id = 20925405 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20925405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150664, 0.1035259730550516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20925405_28-02-2025_12_23_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20925413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20925414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20925416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20925417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20925418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20925419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20925420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20925421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20925422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20925423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20925424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20925425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20927098 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623897, 'mtr_portfolio_id': 20927098, 'created_at': datetime.datetime(2025, 2, 28, 13, 47), 'result': '0.06834300762435493', 'result_long': None, 'result_double': None}] Qualite : 0.06834300762435493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20927098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20927098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927135, 'pht': 3726}}" where mtr_portfolio_id = 20927098 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20927098 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150665, 0.06834300762435493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927098_28-02-2025_13_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20927337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623910, 'mtr_portfolio_id': 20927337, 'created_at': datetime.datetime(2025, 2, 28, 14, 3), 'result': '0.08726666855087595', 'result_long': None, 'result_double': None}] Qualite : 0.08726666855087595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20927337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20927337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927352, 'pht': 3726}}" where mtr_portfolio_id = 20927337 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20927337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150666, 0.08726666855087595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927337_28-02-2025_14_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20927343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927352, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20927747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623953, 'mtr_portfolio_id': 20927747, 'created_at': datetime.datetime(2025, 2, 28, 14, 19, 1), 'result': '0.09567446442677627', 'result_long': None, 'result_double': None}] Qualite : 0.09567446442677627 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20927747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20927747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20927762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927773, 'pht': 3726}}" where mtr_portfolio_id = 20927747 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20927747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150667, 0.09567446442677627, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20927747_28-02-2025_14_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20927762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20927763, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20927764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20927765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20927766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20927767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20927768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20927769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20927770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20927771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20927772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20927773, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20928214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2623988, 'mtr_portfolio_id': 20928214, 'created_at': datetime.datetime(2025, 2, 28, 14, 32, 58), 'result': '0.09064794750879732', 'result_long': None, 'result_double': None}] Qualite : 0.09064794750879732 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20928214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20928214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20928250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928252, 'pht': 3726}}" where mtr_portfolio_id = 20928214 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20928214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150668, 0.09064794750879732, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928214_28-02-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20928250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20928612 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624033, 'mtr_portfolio_id': 20928612, 'created_at': datetime.datetime(2025, 2, 28, 15, 20, 58), 'result': '0.09451313131971306', 'result_long': None, 'result_double': None}] Qualite : 0.09451313131971306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20928612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20928612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20928645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928656, 'pht': 3726}}" where mtr_portfolio_id = 20928612 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20928612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150669, 0.09451313131971306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20928612_28-02-2025_15_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20928645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20928646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20928647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20928648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20928649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20928650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20928651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20928652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20928653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20928654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20928655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20928656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20930178 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624238, 'mtr_portfolio_id': 20930178, 'created_at': datetime.datetime(2025, 2, 28, 15, 33, 4), 'result': '0.10244918944224783', 'result_long': None, 'result_double': None}] Qualite : 0.10244918944224783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20930178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20930178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20930180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20930188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930191, 'pht': 3726}}" where mtr_portfolio_id = 20930178 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20930178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150670, 0.10244918944224783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930178_28-02-2025_15_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20930180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20930188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20930579 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624267, 'mtr_portfolio_id': 20930579, 'created_at': datetime.datetime(2025, 2, 28, 15, 48, 59), 'result': '0.11025788266906499', 'result_long': None, 'result_double': None}] Qualite : 0.11025788266906499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20930579 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20930579 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20930583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20930584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930594, 'pht': 3726}}" where mtr_portfolio_id = 20930579 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20930579 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150671, 0.11025788266906499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20930579_28-02-2025_15_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20930583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20930584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20930585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20930586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20930587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20930588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20930589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20930590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20930591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20930592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20930593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20930594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20931074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624301, 'mtr_portfolio_id': 20931074, 'created_at': datetime.datetime(2025, 2, 28, 16, 2, 59), 'result': '0.10105308941431344', 'result_long': None, 'result_double': None}] Qualite : 0.10105308941431344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20931074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20931074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931087, 'pht': 3726}}" where mtr_portfolio_id = 20931074 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20931074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150672, 0.10105308941431344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931074_28-02-2025_16_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931079, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20931482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624339, 'mtr_portfolio_id': 20931482, 'created_at': datetime.datetime(2025, 2, 28, 16, 20, 57), 'result': '0.1148770581383475', 'result_long': None, 'result_double': None}] Qualite : 0.1148770581383475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20931482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20931482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931503, 'pht': 3726}}" where mtr_portfolio_id = 20931482 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20931482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150673, 0.1148770581383475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20931482_28-02-2025_16_20_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20931492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20931493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20931494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20931495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20931496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20931497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20931498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20931499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20931500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20931501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20931502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20931503, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20932209 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624396, 'mtr_portfolio_id': 20932209, 'created_at': datetime.datetime(2025, 2, 28, 16, 32, 58), 'result': '0.10833706913810708', 'result_long': None, 'result_double': None}] Qualite : 0.10833706913810708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20932209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20932209 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20932259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20932260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20932261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20932262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20932263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20932264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20932265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20932266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20932267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20932268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20932269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20932270, 'pht': 3726}}" where mtr_portfolio_id = 20932209 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20932209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150674, 0.10833706913810708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20932209_28-02-2025_16_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20932259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20932260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20932261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20932262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20932263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20932264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20932265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20932266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20932267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20932268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20932269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20932270, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20933114 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624442, 'mtr_portfolio_id': 20933114, 'created_at': datetime.datetime(2025, 2, 28, 16, 52, 59), 'result': '0.1162066847506079', 'result_long': None, 'result_double': None}] Qualite : 0.1162066847506079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20933114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20933114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933128, 'pht': 3726}}" where mtr_portfolio_id = 20933114 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20933114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150675, 0.1162066847506079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933114_28-02-2025_16_53_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933128, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20933804 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624484, 'mtr_portfolio_id': 20933804, 'created_at': datetime.datetime(2025, 2, 28, 17, 3), 'result': '0.09912110299375419', 'result_long': None, 'result_double': None}] Qualite : 0.09912110299375419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20933804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20933804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933855, 'pht': 3726}}" where mtr_portfolio_id = 20933804 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20933804 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150676, 0.09912110299375419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20933804_28-02-2025_17_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20933844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20933845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20933846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20933847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20933848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20933849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20933850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20933851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20933852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20933853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20933854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20933855, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20934243 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624534, 'mtr_portfolio_id': 20934243, 'created_at': datetime.datetime(2025, 2, 28, 17, 18, 59), 'result': '0.11994262095122181', 'result_long': None, 'result_double': None}] Qualite : 0.11994262095122181 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20934243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20934243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934258, 'pht': 3726}}" where mtr_portfolio_id = 20934243 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20934243 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150677, 0.11994262095122181, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934243_28-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20934816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624573, 'mtr_portfolio_id': 20934816, 'created_at': datetime.datetime(2025, 2, 28, 17, 33, 1), 'result': '0.1219180521373139', 'result_long': None, 'result_double': None}] Qualite : 0.1219180521373139 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20934816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20934816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934907, 'pht': 3726}}" where mtr_portfolio_id = 20934816 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20934816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150678, 0.1219180521373139, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20934816_28-02-2025_17_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20934896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20934897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20934898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20934899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20934900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20934901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20934902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20934903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20934904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20934905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20934906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20934907, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20936213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624689, 'mtr_portfolio_id': 20936213, 'created_at': datetime.datetime(2025, 2, 28, 18, 33, 11), 'result': '0.12231375591566294', 'result_long': None, 'result_double': None}] Qualite : 0.12231375591566294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20936213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20936213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936227, 'pht': 3726}}" where mtr_portfolio_id = 20936213 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20936213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150679, 0.12231375591566294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936213_28-02-2025_18_33_11.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20936553 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624748, 'mtr_portfolio_id': 20936553, 'created_at': datetime.datetime(2025, 2, 28, 18, 49, 15), 'result': '0.10894659946099487', 'result_long': None, 'result_double': None}] Qualite : 0.10894659946099487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20936553 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20936553 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936566, 'pht': 3726}}" where mtr_portfolio_id = 20936553 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20936553 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150680, 0.10894659946099487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20936553_28-02-2025_18_49_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20936555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20936556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20936557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20936558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20936559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20936560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20936561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20936562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20936563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20936564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20936565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20936566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20937007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624778, 'mtr_portfolio_id': 20937007, 'created_at': datetime.datetime(2025, 2, 28, 19, 2, 58), 'result': '0.12139212672551182', 'result_long': None, 'result_double': None}] Qualite : 0.12139212672551182 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20937007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20937007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937020, 'pht': 3726}}" where mtr_portfolio_id = 20937007 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20937007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150681, 0.12139212672551182, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937007_28-02-2025_19_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937020, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20937500 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624824, 'mtr_portfolio_id': 20937500, 'created_at': datetime.datetime(2025, 2, 28, 19, 16, 58), 'result': '0.1178325574289863', 'result_long': None, 'result_double': None}] Qualite : 0.1178325574289863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20937500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20937500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937514, 'pht': 3726}}" where mtr_portfolio_id = 20937500 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20937500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150682, 0.1178325574289863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937500_28-02-2025_19_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937514, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20937873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624855, 'mtr_portfolio_id': 20937873, 'created_at': datetime.datetime(2025, 2, 28, 19, 32, 59), 'result': '0.11793626118023766', 'result_long': None, 'result_double': None}] Qualite : 0.11793626118023766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20937873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20937873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937910, 'pht': 3726}}" where mtr_portfolio_id = 20937873 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20937873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150683, 0.11793626118023766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20937873_28-02-2025_19_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20937899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20937900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20937901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20937902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20937903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20937904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20937905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20937906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20937907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20937908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20937909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20937910, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20938430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624893, 'mtr_portfolio_id': 20938430, 'created_at': datetime.datetime(2025, 2, 28, 19, 52, 30), 'result': '0.11342680958395596', 'result_long': None, 'result_double': None}] Qualite : 0.11342680958395596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20938430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20938430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20938434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20938435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20938436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20938437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20938438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20938440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20938441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20938442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20938445, 'pht': 3726}}" where mtr_portfolio_id = 20938430 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20938430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150684, 0.11342680958395596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20938430_28-02-2025_19_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20938434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20938435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20938436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20938437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20938438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20938440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20938441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20938442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20938445, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20939195 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624946, 'mtr_portfolio_id': 20939195, 'created_at': datetime.datetime(2025, 2, 28, 20, 2, 57), 'result': '0.10675708385257064', 'result_long': None, 'result_double': None}] Qualite : 0.10675708385257064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20939195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20939195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20939197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20939202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939208, 'pht': 3726}}" where mtr_portfolio_id = 20939195 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20939195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150685, 0.10675708385257064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939195_28-02-2025_20_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20939197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20939202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939208, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20939475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2624971, 'mtr_portfolio_id': 20939475, 'created_at': datetime.datetime(2025, 2, 28, 20, 19), 'result': '0.10366553235344286', 'result_long': None, 'result_double': None}] Qualite : 0.10366553235344286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20939475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20939475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20939527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20939536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939538, 'pht': 3726}}" where mtr_portfolio_id = 20939475 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20939475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150686, 0.10366553235344286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20939475_28-02-2025_20_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20939527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20939528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20939529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20939530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20939531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20939532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20939533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20939534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20939535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20939536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20939537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20939538, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20940145 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625010, 'mtr_portfolio_id': 20940145, 'created_at': datetime.datetime(2025, 2, 28, 20, 32, 31), 'result': '0.113962730214793', 'result_long': None, 'result_double': None}] Qualite : 0.113962730214793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20940145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20940145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940159, 'pht': 3726}}" where mtr_portfolio_id = 20940145 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20940145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150687, 0.113962730214793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940145_28-02-2025_20_32_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940159, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20940802 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2625052, 'mtr_portfolio_id': 20940802, 'created_at': datetime.datetime(2025, 2, 28, 21, 8, 57), 'result': '0.11654102216862333', 'result_long': None, 'result_double': None}] Qualite : 0.11654102216862333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20940802 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20940802 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940817, 'pht': 3726}}" where mtr_portfolio_id = 20940802 and dashboard_run_id = 1640364 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20940802 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9150688, 0.11654102216862333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20940802_28-02-2025_21_08_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20940806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20940807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20940808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20940809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20940810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20940811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20940812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20940813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20940814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20940815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20940816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20940817, '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 (20900111,20900621,20901042,20901979,20902324,20902813,20903214,20904104,20904676,20905347,20906134,20907055,20907421,20908156,20909166,20909596,20910125,20910508,20911007,20911538,20912133,20912498,20913007,20913442,20914178,20914902,20915703,20916353,20917018,20917662,20919487,20919908,20920542,20921078,20921670,20922382,20923040,20923792,20924336,20924961,20925405,20927098,20927337,20927747,20928214,20928612,20930178,20930579,20931074,20931482,20932209,20933114,20933804,20934243,20934816,20936213,20936553,20937007,20937500,20937873,20938430,20939195,20939475,20940145,20940802) result : ((1340013836,), (1340013838,), (1340013840,), (1340014045,), (1340014049,), (1340014053,), (1340014058,), (1340014063,), (1340014110,), (1340014114,), (1340014116,), (1340014122,), (1340014126,), (1340014135,), (1340014180,), (1340014184,), (1340014188,), (1340014191,), (1340014227,), (1340014232,), (1340014237,), (1340014243,), (1340014251,), (1340015073,), (1340015079,), (1340015082,), (1340015086,), (1340015090,), (1340015358,), (1340015369,), (1340015401,), (1340015421,), (1340015426,), (1340015456,), (1340015466,), (1340015476,), (1340015481,), (1340015486,), (1340015492,), (1340015537,), (1340015543,), (1340015549,), (1340015593,), (1340015606,), (1340015611,), (1340015615,), (1340015659,), (1340015737,), (1340015742,), (1340015748,), (1340015755,), (1340015759,), (1340015808,), (1340015813,), (1340015818,), (1340015858,), (1340015862,), (1340015866,), (1340015870,), (1340015874,), (1340015882,), (1340015924,), (1340015934,), (1340015939,), (1340015945,), (1340015950,), (1340015975,), (1340015981,), (1340015986,), (1340015989,), (1340016136,), (1340016046,), (1340016050,), (1340016054,), (1340016112,), (1340016130,), (1340016481,), (1340016497,), (1340016502,), (1340016507,), (1340016517,), (1340016558,), (1340016562,), (1340016600,), (1340016604,), (1340016608,), (1340016613,), (1340016619,), (1340016665,), (1340016667,), (1340016670,), (1340016674,), (1340016677,), (1340016790,), (1340016794,), (1340016798,), (1340016803,), (1340016846,), (1340016850,), (1340016853,), (1340016856,), (1340016859,), (1340016896,), (1340016903,), (1340016918,), (1340016959,), (1340016963,), (1340016967,), (1340016971,), (1340016975,), (1340017011,), (1340017012,), (1340017014,), (1340017017,), (1340017021,), (1340017030,), (1340017094,), (1340017107,), (1340017111,), (1340017115,), (1340017119,), (1340017147,), (1340017149,), (1340017153,), (1340017157,), (1340017222,), (1340017232,), (1340017243,), (1340017248,), (1340017251,), (1340017282,), (1340017283,), (1340017285,), (1340017287,), (1340017290,), (1340017294,), (1340017336,), (1340017339,), (1340017399,), (1340017384,), (1340017386,), (1340017388,), (1340017391,), (1340017394,), (1340017456,), (1340017457,), (1340017460,), (1340017462,), (1340017464,), (1340017750,), (1340017938,), (1340018020,), (1340018025,), (1340018225,), (1340018230,), (1340018233,), (1340018238,), (1340018242,), (1340018247,), (1340018271,), (1340018275,), (1340018280,), (1340018320,), (1340018323,), (1340018325,), (1340018329,), (1340018332,), (1340018335,), (1340018357,), (1340018360,), (1340018363,), (1340018367,), (1340018371,), (1340018374,), (1340018400,), (1340018403,), (1340018407,), (1340018460,), (1340026025,), (1340026115,), (1340026236,), (1340026453,), (1340026457,), (1340026474,), (1340026514,), (1340026593,), (1340026597,), (1340026600,), (1340027129,), (1340027134,), (1340027138,), (1340027143,), (1340027274,), (1340027516,), (1340028043,), (1340028046,), (1340028049,), (1340028056,), (1340028391,), (1340028402,), (1340028407,), (1340028410,), (1340028453,), (1340028619,), (1340028769,), (1340028784,), (1340028827,), (1340028831,), (1340028848,), (1340028854,), (1340028858,), (1340028877,), (1340028881,), (1340028884,), (1340028888,), (1340029073,), (1340029076,), (1340029079,), (1340029083,), (1340029088,), (1340029189,), (1340029184,), (1340029187,), (1340029432,), (1340029434,), (1340029471,), (1340029474,), (1340029477,), (1340029480,), (1340029484,), (1340029523,), (1340029597,), (1340029689,), (1340029765,), (1340029844,), (1340029857,), (1340030118,), (1340030122,), (1340030127,), (1340030131,), (1340030231,), (1340030242,), (1340030246,), (1340030250,), (1340030273,), (1340030276,), (1340030279,), (1340030283,), (1340030315,), (1340030323,), (1340030333,), (1340030337,), (1340030387,), (1340030390,), (1340030393,), (1340030397,), (1340030497,), (1340030890,), (1340030891,), (1340030897,), (1340030917,), (1340030927,), (1340030982,), (1340031055,), (1340031058,), (1340031521,), (1340032111,), (1340032104,), (1340032108,), (1340032137,), (1340032140,), (1340032143,), (1340032147,), (1340032150,), (1340032474,), (1340032477,), (1340032480,), (1340032484,), (1340032825,), (1340032835,), (1340032850,), (1340032855,), (1340032860,), (1340032863,), (1340032890,), (1340032892,), (1340032895,), (1340032897,), (1340032920,), (1340032922,), (1340032923,), (1340032966,), (1340032967,), (1340032979,), (1340033016,), (1340033017,), (1340033018,), (1340033058,), (1340033061,), (1340033151,), (1340033163,), (1340033170,), (1340033178,), (1340033182,), (1340033185,), (1340033550,), (1340033616,), (1340033697,), (1340033759,), (1340034079,), (1340034083,), (1340034087,), (1340034092,), (1340034096,), (1340034100,), (1340034362,), (1340034415,), (1340034429,), (1340034580,), (1340034586,), (1340034590,), (1340034596,), (1340034600,), (1340034891,), (1340034885,), (1340034886,), (1340034887,), (1340034889,), (1340034906,), (1340034907,), (1340034911,), (1340034926,), (1340035232,), (1340035236,), (1340035241,), (1340035243,), (1340035245,), (1340035444,), (1340035457,), (1340035670,), (1340035771,), (1340035777,), (1340035883,), (1340035887,), (1340036026,), (1340036529,), (1340036530,), (1340036540,), (1340036546,), (1340036552,), (1340036590,), (1340036830,), (1340036847,), (1340036860,), (1340036934,), (1340037033,), (1340037039,), (1340037199,), (1340037200,), (1340037201,), (1340037253,), (1340037254,), (1340037259,), (1340037266,), (1340037269,), (1340037283,), (1340037301,), (1340037303,), (1340037348,), (1340037486,), (1340037504,), (1340037543,), (1340037545,), (1340037584,), (1340038101,), (1340038198,), (1340038369,), (1340038460,), (1340038566,), (1340038644,), (1340039271,), (1340039273,), (1340039284,), (1340039301,), (1340039313,), (1340039522,), (1340039538,), (1340039579,), (1340039595,), (1340039656,), (1340039658,), (1340039660,), (1340039668,), (1340039679,), (1340039687,), (1340039804,), (1340039758,), (1340039794,), (1340039862,), (1340039864,), (1340039907,), (1340039921,), (1340039925,), (1340039952,), (1340039957,), (1340039959,), (1340039962,), (1340039964,), (1340039987,), (1340039992,), (1340039997,), (1340040056,), (1340040059,), (1340040060,), (1340040064,), (1340040066,), (1340040068,), (1340040078,), (1340040089,), (1340040118,), (1340040303,), (1340040511,), (1340041003,), (1340041006,), (1340041012,), (1340041356,), (1340041359,), (1340041421,), (1340041428,), (1340041431,), (1340041491,), (1340041493,), (1340041495,), (1340041498,), (1340041501,), (1340041597,), (1340041775,), (1340041787,), (1340041888,), (1340041923,), (1340041926,), (1340041927,), (1340041931,), (1340041958,), (1340041962,), (1340041965,), (1340041968,), (1340041971,), (1340042054,), (1340042055,), (1340042057,), (1340042061,), (1340042064,), (1340042069,), (1340042077,), (1340042075,), (1340042100,), (1340042102,), (1340042104,), (1340042134,), (1340042136,), (1340042138,), (1340042179,), (1340042181,), (1340042183,), (1340042195,), (1340042200,), (1340042202,), (1340042205,), (1340042206,), (1340042220,), (1340042222,), (1340042224,), (1340042226,), (1340042228,), (1340042999,), (1340043003,), (1340043005,), (1340043008,), (1340043015,), (1340043431,), (1340043436,), (1340043438,), (1340043441,), (1340043444,), (1340043504,), (1340043578,), (1340043580,), (1340043582,), (1340043584,), (1340043587,), (1340043598,), (1340043650,), (1340043653,), (1340043664,), (1340043670,), (1340044341,), (1340044424,), (1340044498,), (1340044783,), (1340044797,), (1340044799,), (1340044844,), (1340044929,), (1340045010,), (1340045119,), (1340045126,), (1340045128,), (1340045140,), (1340045155,), (1340045162,), (1340045381,), (1340045387,), (1340045389,), (1340045393,), (1340045564,), (1340045567,), (1340045571,), (1340045574,), (1340045579,), (1340045583,), (1340045596,), (1340045600,), (1340045602,), (1340045603,), (1340045662,), (1340045642,), (1340045648,), (1340045657,), (1340045660,), (1340045822,), (1340045824,), (1340045826,), (1340045828,), (1340045831,), (1340045833,), (1340045847,), (1340045851,), (1340045856,), (1340045861,), (1340045865,), (1340045873,), (1340045875,), (1340045877,), (1340045880,), (1340045883,), (1340045885,), (1340045964,), (1340046009,), (1340046139,), (1340046210,), (1340046338,), (1340046421,), (1340046603,), (1340046605,), (1340046607,), (1340046617,), (1340046646,), (1340046679,), (1340046681,), (1340046727,), (1340046796,), (1340046863,), (1340046893,), (1340047031,), (1340047088,), (1340047091,), (1340047093,), (1340047120,), (1340047122,), (1340047134,), (1340047140,), (1340047151,), (1340047156,), (1340047178,), (1340047180,), (1340047182,), (1340047190,), (1340047207,), (1340047210,), (1340047214,), (1340047218,), (1340047222,), (1340047238,), (1340047240,), (1340047242,), (1340047245,), (1340047248,), (1340047260,), (1340047310,), (1340047312,), (1340047314,), (1340047316,), (1340047718,), (1340047720,), (1340047728,), (1340047737,), (1340047740,), (1340047741,), (1340047958,), (1340047960,), (1340047974,), (1340048044,), (1340048113,), (1340048240,), (1340048133,), (1340048135,), (1340048137,), (1340048142,), (1340048224,), (1340048515,), (1340048529,), (1340048537,), (1340048540,), (1340048581,), (1340049011,), (1340049028,), (1340049032,), (1340049035,), (1340049054,), (1340049186,), (1340049187,), (1340049199,), (1340049220,), (1340049225,), (1340049239,), (1340049287,), (1340049288,), (1340049299,), (1340049311,), (1340049325,), (1340049353,), (1340049355,), (1340049358,), (1340049360,), (1340049392,), (1340049393,), (1340049394,), (1340049396,), (1340049402,), (1340049465,), (1340049486,), (1340049499,), (1340049510,), (1340049515,), (1340049520,), (1340049566,), (1340049568,), (1340049570,), (1340049572,), (1340049653,), (1340049701,), (1340049758,), (1340049796,), (1340049861,), (1340049942,), (1340050133,), (1340050141,), (1340050152,), (1340050155,), (1340050593,), (1340050599,), (1340050639,), (1340050653,), (1340050656,), (1340050712,), (1340050714,), (1340050716,), (1340050719,), (1340050722,), (1340050774,), (1340050778,), (1340050784,), (1340050868,), (1340050895,), (1340050903,), (1340051537,), (1340051534,), (1340051548,), (1340051550,), (1340051553,), (1340051555,), (1340051560,), (1340051565,), (1340051571,), (1340051595,), (1340051646,), (1340051712,), (1340051737,), (1340051893,), (1340051899,), (1340052263,), (1340052265,), (1340052267,), (1340052270,), (1340052293,), (1340052295,), (1340052297,), (1340052300,), (1340052400,), (1340052407,), (1340052497,), (1340052501,), (1340052504,), (1340052505,), (1340052628,), (1340052630,), (1340052632,), (1340052635,), (1340052641,), (1340052650,), (1340052652,), (1340052655,), (1340052658,), (1340052660,), (1340052664,), (1340052670,), (1340052680,), (1340052694,), (1340052703,), (1340052715,), (1340052718,), (1340052749,), (1340052838,), (1340053184,), (1340053176,), (1340053178,), (1340053237,), (1340053239,), (1340053241,), (1340053244,), (1340053246,), (1340053249,), (1340053266,), (1340053273,), (1340053275,), (1340053278,), (1340053284,), (1340054130,), (1340054213,), (1340054217,), (1340054220,), (1340054280,), (1340054312,), (1340054503,), (1340054536,), (1340054601,), (1340054609,), (1340054613,), (1340054636,), (1340054637,), (1340054639,), (1340054640,), (1340054661,), (1340054663,), (1340054672,), (1340054723,), (1340054726,), (1340054739,), (1340054757,), (1340054759,), (1340054765,), (1340054774,), (1340055001,), (1340055002,), (1340055003,), (1340055005,), (1340055067,), (1340055121,), (1340055122,), (1340055123,), (1340055125,), (1340055127,), (1340055132,), (1340055226,), (1340055370,), (1340055386,), (1340055388,), (1340055621,), (1340055634,), (1340055635,), (1340055644,), (1340055649,), (1340055656,), (1340055691,), (1340055699,), (1340055818,), (1340055871,), (1340055879,), (1340055883,), (1340055901,), (1340055912,), (1340056395,), (1340056397,), (1340056401,), (1340056406,), (1340056409,), (1340056600,), (1340056548,), (1340056598,), (1340056833,), (1340056835,), (1340056837,), (1340056841,), (1340056846,), (1340056883,), (1340056885,), (1340056887,), (1340056892,), (1340056943,), (1340056960,), (1340056990,), (1340056992,), (1340056994,), (1340056998,), (1340057001,), (1340057021,), (1340057023,), (1340057025,), (1340057029,), (1340057049,), (1340057233,), (1340057326,), (1340057462,), (1340057626,), (1340057717,), (1340058177,), (1340058179,), (1340058181,), (1340058526,), (1340058579,), (1340058588,), (1340058605,), (1340058661,), (1340058674,), (1340058708,), (1340060872,), (1340065828,), (1340066031,), (1340066066,), (1340066067,), (1340066897,), (1340066898,), (1340067209,), (1340067210,), (1340067378,), (1340067379,), (1340067380,), (1340067383,), (1340067386,), (1340067407,), (1340067408,), (1340067409,), (1340067412,), (1340067521,), (1340067531,), (1340067555,), (1340067556,), (1340067831,), (1340067850,), (1340067851,), (1340067906,), (1340067907,), (1340067908,), (1340067944,), (1340067947,), (1340067948,), (1340067950,), (1340068015,), (1340068013,), (1340068014,), (1340068040,), (1340068041,), (1340068042,), (1340068044,), (1340068047,), (1340068054,), (1340068085,), (1340068086,), (1340068087,), (1340068090,), (1340068092,), (1340068353,), (1340068417,), (1340068527,), (1340068723,), (1340068798,), (1340068967,), (1340068969,), (1340069012,), (1340069035,), (1340069040,), (1340069081,), (1340069084,), (1340069086,), (1340069090,), (1340069099,), (1340069123,), (1340069125,), (1340069202,), (1340069279,), (1340069303,), (1340069446,), (1340069449,), (1340069452,), (1340069458,), (1340069467,), (1340069495,), (1340069498,), (1340069499,), (1340069503,), (1340069506,), (1340069524,), (1340069526,), (1340069528,), (1340069567,), (1340069569,), (1340069571,), (1340069575,), (1340069577,), (1340069603,), (1340069605,), (1340069610,), (1340069632,), (1340069639,), (1340069646,), (1340069649,), (1340069653,), (1340069658,), (1340069710,), (1340069715,), (1340069721,), (1340069726,), (1340069729,), (1340069768,), (1340069769,), (1340069772,), (1340069776,), (1340069778,), (1340069785,), (1340069948,), (1340069918,), (1340069921,), (1340069990,), (1340069992,), (1340069994,), (1340070033,), (1340070114,), (1340070178,), (1340070192,), (1340070196,), (1340070199,), (1340070203,), (1340070421,), (1340070423,), (1340070425,), (1340070429,), (1340070431,), (1340070436,), (1340070453,), (1340070457,), (1340070461,), (1340070463,), (1340070483,), (1340070490,), (1340070506,), (1340070510,), (1340070513,), (1340070517,), (1340070534,), (1340070538,), (1340070540,), (1340070544,), (1340070583,), (1340070585,), (1340070587,), (1340070592,), (1340070595,), (1340070599,), (1340070618,), (1340070620,), (1340070622,), (1340070626,), (1340070630,), (1340070664,), (1340070666,), (1340070667,), (1340070672,), (1340070675,), (1340070693,), (1340070696,), (1340070700,), (1340070704,), (1340070707,), (1340070712,), (1340070749,), (1340070751,), (1340070753,), (1340070757,), (1340070760,), (1340070778,), (1340070780,), (1340070782,), (1340070794,), (1340070806,), (1340070815,), (1340070840,), (1340070845,), (1340070847,), (1340070849,), (1340070853,), (1340070874,), (1340070876,), (1340070878,), (1340070882,), (1340070893,), (1340070923,), (1340070983,), (1340070963,), (1340070970,), (1340070977,), (1340070995,), (1340071004,), (1340071008,), (1340071014,), (1340071020,), (1340071023,), (1340071505,), (1340071507,), (1340071509,), (1340071512,), (1340071515,), (1340071520,), (1340071770,), (1340071772,), (1340071777,), (1340071814,), (1340072232,), (1340072234,), (1340072236,), (1340072239,), (1340072243,), (1340072247,), (1340072263,), (1340072265,), (1340072267,), (1340072271,), (1340072300,), (1340072303,), (1340072307,), (1340072314,), (1340072321,), (1340072326,), (1340072354,), (1340072356,), (1340072358,), (1340072361,), (1340072364,), (1340072392,), (1340072394,), (1340072396,), (1340072399,), (1340072411,), (1340072417,), (1340072479,), (1340072481,), (1340072483,), (1340072486,), (1340072552,), (1340072554,), (1340072557,), (1340072559,), (1340072566,), (1340072570,), (1340072582,), (1340072584,), (1340072586,), (1340072589,), (1340072626,), (1340072628,), (1340072630,), (1340072632,), (1340072636,), (1340072641,), (1340072672,), (1340072678,), (1340072684,), (1340072698,), (1340072886,), (1340072970,), (1340073050,), (1340073118,), (1340073141,), (1340073128,), (1340073131,), (1340073134,), (1340073138,), (1340073184,), (1340073187,), (1340073189,), (1340073192,), (1340073277,), (1340073280,), (1340073285,), (1340073288,), (1340073309,), (1340073312,), (1340073317,), (1340073320,), (1340073326,), (1340073331,), (1340074110,), (1340074112,), (1340074114,), (1340074119,), (1340075015,), (1340075039,), (1340075052,), (1340075063,), (1340075075,), (1340075080,), (1340075280,), (1340075293,), (1340075313,), (1340075315,), (1340075320,), (1340075345,), (1340075347,), (1340075349,), (1340075354,), (1340075357,), (1340075395,), (1340075425,), (1340075427,), (1340075429,), (1340075442,), (1340075453,), (1340075471,), (1340075474,), (1340075476,), (1340075480,), (1340075482,), (1340075487,), (1340075502,), (1340075504,), (1340075509,), (1340075545,), (1340075548,), (1340075554,), (1340075557,), (1340075564,), (1340075572,), (1340075582,), (1340075590,), (1340075600,), (1340075603,), (1340075632,), (1340075635,), (1340075637,), (1340075641,), (1340075644,), (1340075648,), (1340075682,), (1340075675,), (1340075677,), (1340075679,), (1340075731,), (1340075733,), (1340075739,), (1340075746,), (1340075749,), (1340075755,), (1340076245,), (1340076267,), (1340076286,), (1340076290,), (1340076317,), (1340076319,), (1340076321,), (1340076327,), (1340076337,), (1340076349,), (1340076382,), (1340076384,), (1340076393,), (1340076396,), (1340076441,), (1340076443,), (1340076446,), (1340076449,), (1340076452,), (1340076458,), (1340076480,), (1340076482,), (1340076490,), (1340076496,), (1340076499,), (1340076516,), (1340076518,), (1340076520,), (1340076523,), (1340076527,), (1340076560,), (1340076562,), (1340076565,), (1340076569,), (1340076572,), (1340076577,), (1340076590,), (1340076592,), (1340076594,), (1340076598,), (1340076603,), (1340076640,), (1340076642,), (1340076644,), (1340076649,), (1340076669,), (1340076671,), (1340076673,), (1340076675,), (1340076678,), (1340076682,), (1340076709,), (1340076711,), (1340076713,), (1340076715,), (1340076719,), (1340076755,), (1340076757,), (1340076826,), (1340076824,), (1340076859,), (1340076861,), (1340076863,), (1340076873,), (1340076880,), (1340076885,), (1340076908,), (1340076909,), (1340076911,), (1340076918,), (1340076925,), (1340076964,), (1340076981,), (1340076995,), (1340077001,), (1340077006,), (1340077010,), (1340077021,), (1340077024,), (1340077026,), (1340077029,), (1340077032,), (1340077056,), (1340077058,), (1340077059,), (1340077063,), (1340077562,), (1340077595,), (1340077880,), (1340077882,), (1340077884,), (1340077895,), (1340077964,), (1340078220,), (1340078222,), (1340078224,), (1340078226,), (1340078561,), (1340078563,), (1340078565,), (1340078569,), (1340078592,), (1340078594,), (1340078596,), (1340078601,), (1340078603,), (1340078635,), (1340078642,), (1340078645,), (1340078648,), (1340078652,), (1340078676,), (1340078678,), (1340078680,), (1340078683,), (1340078686,), (1340078689,), (1340078712,), (1340078721,), (1340078723,), (1340078726,), (1340078728,), (1340078744,), (1340078746,), (1340078748,), (1340078753,), (1340078757,), (1340078810,), (1340078786,), (1340078789,), (1340078793,), (1340078802,), (1340078804,), (1340078836,), (1340078838,), (1340078840,), (1340078844,), (1340078846,), (1340079270,), (1340079272,), (1340079274,), (1340079403,), (1340079574,), (1340079576,), (1340079578,), (1340079582,), (1340079585,), (1340079610,), (1340079612,), (1340079614,), (1340079617,), (1340079621,), (1340079634,), (1340079639,), (1340079701,), (1340079713,), (1340079720,), (1340079725,), (1340079728,), (1340079755,), (1340079757,), (1340079759,), (1340079762,), (1340079766,), (1340079802,), (1340079804,), (1340079806,), (1340079808,), (1340079812,), (1340079835,), (1340079839,), (1340079841,), (1340079844,), (1340079848,), (1340079868,), (1340079870,), (1340079873,), (1340079877,), (1340079880,), (1340079904,), (1340079906,), (1340079910,), (1340079920,), (1340079922,), (1340079928,), (1340079954,), (1340079959,), (1340079963,), (1340079970,), (1340079986,), (1340079991,), (1340080000,), (1340080004,), (1340080007,), (1340080038,), (1340080018,), (1340080021,), (1340080024,), (1340080028,), (1340080031,), (1340080064,), (1340080068,), (1340080072,), (1340080077,), (1340081057,), (1340081060,), (1340081192,), (1340081351,), (1340081429,), (1340081588,), (1340081600,), (1340081608,), (1340081660,), (1340081805,), (1340081975,), (1340082127,), (1340082143,), (1340082158,), (1340082162,), (1340082169,), (1340082215,), (1340082218,), (1340082222,), (1340082227,), (1340082231,), (1340082276,), (1340082278,), (1340082282,), (1340082285,), (1340082291,), (1340082294,), (1340082337,), (1340082340,), (1340082347,), (1340082352,), (1340082357,), (1340082393,), (1340082396,), (1340082399,), (1340082403,), (1340082405,), (1340082698,), (1340082700,), (1340082702,), (1340082708,), (1340082712,), (1340082718,), (1340082759,), (1340082772,), (1340082780,), (1340082800,), (1340082806,), (1340082810,), (1340082833,), (1340082836,), (1340082840,), (1340082849,), (1340082860,), (1340082872,), (1340082908,), (1340082911,), (1340082917,), (1340082921,), (1340082925,), (1340082928,), (1340082931,), (1340082935,), (1340083430,), (1340083436,), (1340083653,), (1340083655,), (1340083656,), (1340083658,), (1340083663,), (1340083668,), (1340082445,), (1340082452,), (1340082455,), (1340082463,), (1340082470,), (1340082478,), (1340082494,), (1340082499,), (1340082503,), (1340082508,), (1340082513,), (1340082517,), (1340082536,), (1340082540,), (1340082546,), (1340082560,), (1340082571,), (1340082574,), (1340082594,), (1340082607,), (1340082616,), (1340082621,), (1340082632,), (1340082634,), (1340082655,), (1340082667,), (1340082675,), (1340082678,), (1340082682,), (1340082685,), (1340082738,), (1340082741,), (1340082753,), (1340082790,), (1340082793,), (1340082797,), (1340082877,), (1340082888,), (1340082903,), (1340082905,), (1340083147,), (1340083229,), (1340083313,), (1340083403,), (1340083445,), (1340083447,), (1340083475,), (1340083554,), (1340083588,), (1340083596,), (1340083682,), (1340083687,), (1340083691,), (1340083695,), (1340083735,), (1340083739,), (1340083748,), (1340083754,), (1340083757,), (1340083764,), (1340083792,), (1340083796,), (1340083810,), (1340083822,), (1340083833,), (1340083863,), (1340083867,), (1340083869,), (1340083874,), (1340083919,), (1340083928,), (1340083941,), (1340083954,), (1340083961,), (1340083964,), (1340084013,), (1340083996,), (1340084000,), (1340084002,), (1340084009,), (1340084057,), (1340084062,), (1340084074,), (1340084079,), (1340084083,), (1340084121,), (1340084125,), (1340084127,), (1340084662,), (1340084665,), (1340084667,), (1340084955,), (1340084961,), (1340084968,), (1340084975,), (1340084985,), (1340084997,), (1340085049,), (1340085058,), (1340085071,), (1340085079,), (1340085085,), (1340085137,), (1340085141,), (1340085146,), (1340085151,), (1340085154,), (1340085197,), (1340085207,), (1340085234,), (1340085307,), (1340085518,), (1340085522,), (1340085532,), (1340085592,), (1340085595,), (1340085757,), (1340085760,), (1340085763,), (1340085769,), (1340085774,), (1340085780,), (1340085812,), (1340085816,), (1340085818,), (1340085851,), (1340085855,), (1340085859,), (1340085864,), (1340085898,), (1340085901,), (1340085907,), (1340085910,), (1340085916,), (1340085928,), (1340086000,), (1340085973,), (1340085978,), (1340085985,), (1340085997,), (1340086049,), (1340086052,), (1340086056,), (1340086060,), (1340086065,), (1340086077,), (1340086122,), (1340086126,), (1340086129,), (1340086138,), (1340086145,), (1340086327,), (1340086380,), (1340086386,), (1340087141,), (1340087146,), (1340087154,), (1340087502,), (1340087512,), (1340087515,), (1340087520,), (1340087525,), (1340087531,), (1340087769,), (1340087775,), (1340087780,), (1340087784,), (1340087788,), (1340087859,), (1340087868,), (1340087872,), (1340087877,), (1340087880,), (1340087900,), (1340087916,), (1340087922,), (1340087926,), (1340087931,), (1340087981,), (1340087985,), (1340087987,), (1340087993,), (1340087997,), (1340088004,), (1340088036,), (1340088040,), (1340088046,), (1340088051,), (1340088105,), (1340088112,), (1340088119,), (1340088122,), (1340088127,), (1340088135,), (1340088192,), (1340088201,), (1340088209,), (1340088216,), (1340088223,), (1340088253,), (1340088254,), (1340088257,), (1340088258,), (1340088263,), (1340088265,), (1340088357,), (1340088283,), (1340088287,), (1340088290,), (1340088308,), (1340088313,), (1340088515,), (1340088520,), (1340088531,), (1340088554,), (1340088561,), (1340089285,), (1340089402,), (1340089493,), (1340089589,), (1340090109,), (1340090337,), (1340090349,), (1340090355,), (1340090359,), (1340090366,), (1340090718,), (1340090778,), (1340090837,), (1340090891,), (1340091223,), (1340091227,), (1340091229,), (1340091234,), (1340091238,), (1340091245,), (1340091274,), (1340091276,), (1340091278,), (1340091281,), (1340091291,), (1340091725,), (1340091733,), (1340091736,), (1340091740,), (1340091744,), (1340091779,), (1340091782,), (1340091785,), (1340091787,), (1340091849,), (1340091857,), (1340091874,), (1340091882,), (1340091888,), (1340091897,), (1340091967,), (1340091970,), (1340091995,), (1340092001,), (1340092004,), (1340092084,), (1340092087,), (1340092089,), (1340092097,), (1340092106,), (1340092298,), (1340092304,), (1340092309,), (1340092317,), (1340092330,), (1340092345,), (1340092391,), (1340092398,), (1340092408,), (1340092418,), (1340092423,), (1340092430,), (1340092456,), (1340092462,), (1340092467,), (1340092473,), (1340092572,), (1340092544,), (1340092549,), (1340092551,), (1340092559,), (1340092566,), (1340092638,), (1340092641,), (1340092644,), (1340092647,), (1340092651,), (1340092687,), (1340092690,), (1340092693,), (1340092699,), (1340092711,), (1340092724,), (1340092744,), (1340092748,), (1340092768,), (1340092846,), (1340093416,), (1340093418,), (1340093419,), (1340093426,), (1340093715,), (1340093717,), (1340093750,), (1340093754,), (1340093768,), (1340093777,), (1340093831,), (1340093833,), (1340093840,), (1340093843,), (1340093846,), (1340093888,), (1340093898,), (1340093963,), (1340094059,), (1340094131,), (1340094226,), (1340094505,), (1340094513,), (1340094515,), (1340094519,), (1340094634,), (1340094635,), (1340094645,), (1340094649,), (1340094652,), (1340094666,), (1340094706,), (1340094708,), (1340094711,), (1340094714,), (1340094928,), (1340094963,), (1340094967,), (1340094970,), (1340095035,), (1340095134,), (1340095136,), (1340095138,), (1340095173,), (1340095286,), (1340095355,), (1340095376,), (1340095378,), (1340095380,), (1340095383,), (1340095434,), (1340095437,), (1340095439,), (1340095441,), (1340095442,), (1340095649,), (1340095474,), (1340095476,), (1340095586,), (1340095589,), (1340095591,), (1340095750,), (1340095751,), (1340095753,), (1340095756,), (1340095823,), (1340095826,), (1340095873,), (1340095956,), (1340096058,), (1340096154,), (1340096309,), (1340096384,), (1340096393,), (1340096401,), (1340096694,), (1340096696,), (1340096698,), (1340096701,), (1340096773,), (1340096780,), (1340096787,), (1340096792,), (1340096808,), (1340096839,), (1340096841,), (1340096842,), (1340096844,), (1340096847,), (1340096851,), (1340097111,), (1340097115,), (1340097164,), (1340097182,), (1340097323,), (1340097325,), (1340097327,), (1340097330,), (1340097333,), (1340097339,), (1340097362,), (1340097366,), (1340097368,), (1340097407,), (1340097409,), (1340097412,), (1340097416,), (1340097442,), (1340097448,), (1340097456,), (1340097461,), (1340097464,), (1340097471,), (1340097550,), (1340097556,), (1340097559,), (1340097563,), (1340097594,), (1340097599,), (1340097601,), (1340097605,), (1340097608,), (1340097637,), (1340097639,), (1340097641,), (1340097645,), (1340097649,), (1340097687,), (1340097675,), (1340097677,), (1340097679,), (1340097682,), (1340097739,), (1340097743,), (1340097744,), (1340097753,), (1340097760,), (1340097766,), (1340097789,), (1340097791,), (1340097794,), (1340097801,), (1340097804,), (1340097917,), (1340097926,), (1340097929,), (1340097938,), (1340097949,), (1340097952,), (1340097978,), (1340097986,), (1340097988,), (1340097997,), (1340098001,), (1340098033,), (1340098036,), (1340098039,), (1340098042,), (1340098205,), (1340098207,), (1340098209,), (1340098256,), (1340098354,), (1340098497,), (1340099113,), (1340099139,), (1340099184,), (1340099187,), (1340099190,), (1340099399,), (1340099408,), (1340099410,), (1340099455,), (1340099457,), (1340099488,), (1340099523,), (1340099530,), (1340099537,), (1340099548,), (1340099594,), (1340099605,), (1340099607,), (1340099613,), (1340099618,), (1340099665,), (1340099667,), (1340099669,), (1340099705,), (1340099707,), (1340099718,), (1340099753,), (1340099755,), (1340099757,), (1340099758,), (1340099950,), (1340099958,), (1340099964,), (1340099972,), (1340099977,), (1340099982,), (1340100021,), (1340104457,), (1340104467,), (1340104784,), (1340104786,), (1340104797,), (1340104800,), (1340104803,), (1340104829,), (1340104831,), (1340104992,), (1340104995,), (1340104997,), (1340105090,), (1340105097,), (1340105099,), (1340105713,), (1340105998,), (1340106194,), (1340106198,), (1340106224,), (1340106226,), (1340106228,), (1340106230,), (1340106234,), (1340106238,), (1340106719,), (1340106724,), (1340106764,), (1340106771,), (1340106787,), (1340106826,), (1340106828,), (1340106832,), (1340106836,), (1340106839,), (1340106842,), (1340106887,), (1340106889,), (1340106891,), (1340106894,), (1340106942,), (1340106945,), (1340106947,), (1340106950,), (1340106952,), (1340107030,), (1340107032,), (1340107034,), (1340107037,), (1340107039,), (1340107075,), (1340107077,), (1340107079,), (1340107082,), (1340107086,), (1340107126,), (1340107131,), (1340107138,), (1340107142,), (1340107145,), (1340107181,), (1340107183,), (1340107198,), (1340107204,), (1340107211,), (1340107283,), (1340107262,), (1340107270,), (1340107274,), (1340107277,), (1340107281,), (1340107306,), (1340107309,), (1340107311,), (1340107314,), (1340107356,), (1340107363,), (1340107364,), (1340107373,), (1340107423,), (1340107431,), (1340107453,), (1340107456,), (1340107459,), (1340107470,), (1340108078,), (1340108080,), (1340108082,), (1340108084,), (1340108087,), (1340108338,), (1340108370,), (1340108382,), (1340108387,), (1340108391,), (1340108427,), (1340108429,), (1340108432,), (1340108486,), (1340108488,), (1340108490,), (1340108494,), (1340108496,), (1340108503,), (1340108566,), (1340108573,), (1340108592,), (1340108606,), (1340108681,), (1340108684,), (1340108686,), (1340108723,), (1340108726,), (1340108730,), (1340108796,), (1340108802,), (1340108810,), (1340108813,), (1340108816,), (1340109069,), (1340109071,), (1340109073,), (1340109074,), (1340109077,), (1340109081,), (1340109140,), (1340109142,), (1340109148,), (1340109154,), (1340109530,), (1340109537,), (1340109543,), (1340109549,), (1340109556,), (1340109565,), (1340109629,), (1340109595,), (1340109604,), (1340109616,), (1340109619,), (1340109654,), (1340109659,), (1340109663,), (1340109665,), (1340109670,), (1340109695,), (1340109700,), (1340109704,), (1340109709,), (1340109735,), (1340109739,), (1340109743,), (1340109756,), (1340109760,), (1340109867,), (1340109884,), (1340109891,), (1340109903,), (1340109912,), (1340109948,), (1340109969,), (1340110050,), (1340110157,), (1340110161,), (1340110880,), (1340110885,), (1340110891,), (1340110895,), (1340111134,), (1340111147,), (1340111150,), (1340111157,), (1340111163,), (1340111239,), (1340111317,), (1340111320,), (1340111323,), (1340111326,), (1340111373,), (1340111376,), (1340111379,), (1340111382,), (1340111391,), (1340111396,), (1340111435,), (1340111439,), (1340111443,), (1340111493,), (1340111497,), (1340111500,), (1340111527,), (1340111624,), (1340111695,), (1340112455,), (1340112522,), (1340112550,), (1340112719,), (1340112727,), (1340112732,), (1340112770,), (1340112872,), (1340112878,), (1340112902,), (1340112906,), (1340112914,), (1340112921,), (1340112926,), (1340113054,), (1340112962,), (1340112965,), (1340113040,), (1340113045,), (1340113049,), (1340113086,), (1340113088,), (1340113091,), (1340113095,), (1340113156,), (1340113159,), (1340113162,), (1340113165,), (1340113169,), (1340113177,), (1340113503,), (1340113591,), (1340113598,), (1340113608,), (1340113800,), (1340113805,), (1340113814,), (1340113820,), (1340113825,), (1340113833,), (1340113895,), (1340113949,), (1340113961,), (1340113968,), (1340113975,), (1340114046,), (1340114060,), (1340114064,), (1340114067,), (1340114075,), (1340114080,), (1340114092,), (1340114098,), (1340114104,), (1340114110,), (1340114113,), (1340114146,), (1340114149,), (1340114152,), (1340114156,), (1340114159,), (1340114201,), (1340114209,), (1340114223,), (1340114229,), (1340114235,), (1340114280,), (1340114284,), (1340114288,), (1340114293,), (1340114297,), (1340114327,), (1340114331,), (1340114334,), (1340114339,), (1340114366,), (1340114372,), (1340114390,), (1340114396,), (1340114400,), (1340114420,), (1340114505,), (1340114508,), (1340114512,), (1340114571,), (1340114658,), (1340114665,), (1340114669,), (1340114674,), (1340114680,), (1340114687,), (1340114740,), (1340114707,), (1340114713,), (1340114723,), (1340114728,), (1340114733,), (1340114770,), (1340114774,), (1340114778,), (1340114782,), (1340114785,), (1340114789,), (1340115446,), (1340115528,), (1340115616,), (1340115706,), (1340116021,), (1340116025,), (1340116029,), (1340116071,), (1340116155,), (1340116243,), (1340116361,), (1340116400,), (1340116441,), (1340116640,), (1340116643,), (1340116646,), (1340116651,), (1340116659,), (1340116665,), (1340116682,), (1340116683,), (1340116686,), (1340116692,), (1340116697,), (1340116752,), (1340116760,), (1340116767,), (1340116778,), (1340116786,), (1340116933,), (1340117480,), (1340117485,), (1340117488,), (1340117710,), (1340117713,), (1340117717,), (1340117721,), (1340117723,), (1340117727,), (1340117758,), (1340117767,), (1340117771,), (1340117773,), (1340117781,), (1340117856,), (1340117859,), (1340117861,), (1340117866,), (1340117870,), (1340117895,), (1340117898,), (1340117901,), (1340117905,), (1340117913,), (1340117926,), (1340117961,), (1340117967,), (1340117978,), (1340117982,), (1340118024,), (1340118028,), (1340118031,), (1340118035,), (1340118037,), (1340118041,), (1340118101,), (1340118071,), (1340118075,), (1340118078,), (1340118335,), (1340118345,), (1340118346,), (1340118351,), (1340118356,), (1340118362,), (1340118422,), (1340118429,), (1340118435,), (1340118440,), (1340118443,), (1340118487,), (1340118497,), (1340118500,), (1340118508,), (1340118517,), (1340118527,), (1340118572,), (1340118576,), (1340118587,), (1340118598,), (1340118602,), (1340118704,), (1340118709,), (1340118711,), (1340118715,), (1340118722,), (1340118742,), (1340118744,), (1340118747,), (1340118753,), (1340118777,), (1340118783,), (1340118790,), (1340118796,), (1340118801,), (1340118809,), (1340118827,), (1340118834,), (1340118840,), (1340118850,), (1340118877,), (1340118883,), (1340118887,), (1340118903,), (1340118952,), (1340118967,), (1340118970,), (1340118976,), (1340118980,), (1340119000,), (1340119004,), (1340119009,), (1340119016,), (1340119024,), (1340119061,), (1340119092,), (1340119105,), (1340119111,), (1340119126,), (1340119167,), (1340119288,), (1340119305,), (1340119339,), (1340119348,), (1340119376,), (1340119381,), (1340119458,), (1340119471,), (1340119475,), (1340119575,), (1340119517,), (1340119525,), (1340119533,), (1340119561,), (1340119636,), (1340119640,), (1340119690,), (1340119764,), (1340119768,), (1340119775,), (1340119904,), (1340120022,), (1340120068,), (1340120104,), (1340120107,), (1340120109,), (1340120203,), (1340120307,), (1340120404,), (1340120425,), (1340120450,), (1340120478,), (1340121258,), (1340121265,), (1340121274,), (1340121610,), (1340121669,), (1340121671,), (1340121720,), (1340121727,), (1340121731,), (1340121736,), (1340121743,), (1340121807,), (1340121810,), (1340121817,), (1340121826,), (1340121874,), (1340121877,), (1340121880,), (1340121883,), (1340121957,), (1340121967,), (1340121969,), (1340121975,), (1340121980,), (1340121986,), (1340122013,), (1340122016,), (1340122021,), (1340122027,), (1340122234,), (1340122238,), (1340122241,), (1340122246,), (1340122248,), (1340122253,), (1340122297,), (1340122281,), (1340122285,), (1340122291,), (1340122330,), (1340122335,), (1340122337,), (1340122341,), (1340122345,), (1340122351,), (1340122388,), (1340122392,), (1340122395,), (1340122400,), (1340123009,), (1340123034,), (1340123043,), (1340123049,), (1340123056,), (1340123062,), (1340123260,), (1340123301,), (1340123305,), (1340123310,), (1340123317,), (1340123358,), (1340123362,), (1340123366,), (1340123372,), (1340123377,), (1340123412,), (1340123415,), (1340123418,), (1340123423,), (1340123427,), (1340123434,), (1340123470,), (1340123476,), (1340123480,), (1340123497,), (1340123502,), (1340123673,), (1340123687,), (1340123691,), (1340123695,), (1340123832,), (1340123837,), (1340123839,), (1340123845,), (1340123848,), (1340123855,), (1340123878,), (1340123880,), (1340123883,), (1340123887,), (1340123925,), (1340123928,), (1340123931,), (1340123934,), (1340123936,), (1340123969,), (1340123972,), (1340123974,), (1340123979,), (1340123987,), (1340124032,), (1340124034,), (1340124035,), (1340124042,), (1340124049,), (1340124076,), (1340124078,), (1340124192,), (1340124301,), (1340124304,), (1340124311,), (1340124380,), (1340124363,), (1340124365,), (1340124367,), (1340124477,), (1340124496,), (1340124501,), (1340124519,), (1340124528,), (1340124552,), (1340124867,), (1340124872,), (1340124879,), (1340124898,), (1340125075,), (1340125077,), (1340125149,), (1340125152,), (1340125155,), (1340125164,), (1340125214,), (1340125217,), (1340125219,), (1340125231,), (1340125274,), (1340125277,), (1340125278,), (1340125281,), (1340125285,), (1340125324,), (1340125326,), (1340125331,), (1340125345,), (1340125363,), (1340125480,), (1340125482,), (1340125484,), (1340125487,), (1340125493,), (1340125520,), (1340125526,), (1340125532,), (1340125539,), (1340125542,), (1340125547,), (1340125604,), (1340125606,), (1340125610,), (1340125616,), (1340125619,), (1340125653,), (1340125657,), (1340125659,), (1340125663,), (1340125665,), (1340125669,), (1340125714,), (1340125718,), (1340125721,), (1340125726,), (1340125763,), (1340125766,), (1340125774,), (1340125783,), (1340125786,), (1340125799,), (1340125824,), (1340125869,), (1340125874,), (1340125877,), (1340125912,), (1340125916,), (1340125924,), (1340125935,), (1340125943,), (1340126119,), (1340126117,), (1340126153,), (1340126154,), (1340126163,), (1340126171,), (1340126207,), (1340126257,), (1340126269,), (1340126279,), (1340126323,), (1340126325,), (1340126328,), (1340126333,), (1340126340,), (1340126478,), (1340126481,), (1340126484,), (1340126487,), (1340126490,), (1340127154,), (1340127163,), (1340127166,), (1340127169,), (1340127172,), (1340127427,), (1340127496,), (1340127497,), (1340127502,), (1340127505,), (1340127796,), (1340127799,), (1340127818,), (1340127829,), (1340127843,), (1340127848,), (1340127905,), (1340127911,), (1340127917,), (1340127925,), (1340128009,), (1340128012,), (1340128021,), (1340128025,), (1340128030,), (1340128037,), (1340128083,), (1340128086,), (1340128089,), (1340128093,), (1340128132,), (1340128134,), (1340128142,), (1340128151,), (1340128161,), (1340128170,), (1340128198,), (1340128207,), (1340128214,), (1340128221,), (1340128229,), (1340128294,), (1340128276,), (1340128281,), (1340128286,), (1340128589,), (1340128594,), (1340128602,), (1340128607,), (1340128612,), (1340128629,), (1340128667,), (1340128671,), (1340128717,), (1340128725,), (1340128733,), (1340128771,), (1340128774,), (1340128776,), (1340128782,), (1340128787,), (1340128813,), (1340128818,), (1340128821,), (1340128825,), (1340128829,), (1340128836,), (1340128886,), (1340128888,), (1340128894,), (1340128933,), (1340128947,), (1340128990,), (1340128995,), (1340128999,), (1340129003,), (1340129008,), (1340129016,), (1340129054,), (1340129056,), (1340129059,), (1340129131,), (1340129134,), (1340129138,), (1340129144,), (1340129147,), (1340129154,), (1340129173,), (1340129177,), (1340129221,), (1340129295,), (1340129395,), (1340129404,), (1340129414,), (1340129419,), (1340130703,), (1340142012,), (1340142016,), (1340142017,), (1340142022,), (1340142052,), (1340142123,), (1340143010,), (1340143069,), (1340143071,), (1340143073,), (1340143147,), (1340143149,), (1340143153,), (1340143157,), (1340143161,), (1340143167,), (1340143209,), (1340143210,), (1340143211,), (1340143215,), (1340143346,), (1340143344,), (1340143345,), (1340143471,), (1340143474,), (1340143476,), (1340143480,), (1340143487,), (1340143529,), (1340143534,), (1340143535,), (1340143539,), (1340143542,), (1340143755,), (1340143756,), (1340143757,), (1340143813,), (1340143815,), (1340143819,), (1340143824,), (1340143828,), (1340143836,), (1340143862,), (1340143864,), (1340143866,), (1340143870,), (1340143873,), (1340143884,), (1340143917,), (1340143924,), (1340143939,), (1340143943,), (1340143950,), (1340144014,), (1340144035,), (1340144038,), (1340144099,), (1340144137,), (1340144140,), (1340144144,), (1340144152,), (1340144165,), (1340144210,), (1340144213,), (1340144336,), (1340144409,), (1340144425,), (1340144434,), (1340144440,), (1340144446,), (1340144500,), (1340144507,), (1340144508,), (1340144512,), (1340144517,), (1340144577,), (1340144579,), (1340144581,), (1340144656,), (1340144664,), (1340144677,), (1340144750,), (1340144739,), (1340144744,), (1340144785,), (1340144789,), (1340144792,), (1340144800,), (1340144827,), (1340144853,), (1340144856,), (1340144859,), (1340144866,), (1340144871,), (1340144879,), (1340144898,), (1340144902,), (1340145111,), (1340145114,), (1340145117,), (1340145123,), (1340145129,), (1340145136,), (1340145177,), (1340145189,), (1340145197,), (1340145208,), (1340145212,), (1340145220,), (1340145237,), (1340145239,), (1340145244,), (1340145535,), (1340145673,), (1340145917,), (1340146160,), (1340146243,), (1340146250,), (1340146297,), (1340146300,), (1340146304,), (1340146481,), (1340146715,), (1340146721,), (1340146724,), (1340146792,), (1340146801,), (1340146810,), (1340146879,), (1340146941,), (1340146944,), (1340146945,), (1340146950,), (1340146955,), (1340147015,), (1340147028,), (1340147031,), (1340147096,), (1340147098,), (1340147101,), (1340147105,), (1340147108,), (1340147153,), (1340147155,), (1340147157,), (1340147162,), (1340147165,), (1340147216,), (1340147208,), (1340147210,), (1340147211,), (1340147214,), (1340147406,), (1340147409,), (1340147410,), (1340147414,), (1340147423,), (1340147456,), (1340147460,), (1340147463,), (1340147469,), (1340147497,), (1340147604,), (1340147618,), (1340147621,), (1340147625,), (1340147627,), (1340147633,), (1340147798,), (1340147833,), (1340147838,), (1340147843,), (1340147867,), (1340147870,), (1340147873,), (1340147877,), (1340147884,), (1340147890,), (1340148570,), (1340148753,), (1340148832,), (1340148849,), (1340148863,), (1340149078,), (1340149084,), (1340149087,), (1340149091,), (1340149139,), (1340149147,), (1340149212,), (1340149216,), (1340149219,), (1340149283,), (1340149287,), (1340149293,), (1340149301,), (1340149306,), (1340149310,), (1340149323,), (1340149329,), (1340149347,), (1340149352,), (1340149361,), (1340149364,), (1340149434,), (1340149519,), (1340149527,), (1340149534,), (1340149539,), (1340149560,), (1340149564,), (1340149567,), (1340149572,), (1340149577,), (1340149584,), (1340149604,), (1340149608,), (1340149612,), (1340149618,), (1340149796,), (1340149799,), (1340149803,), (1340149809,), (1340149812,), (1340149871,), (1340149839,), (1340149844,), (1340149856,), (1340149860,), (1340149866,), (1340149917,), (1340149920,), (1340149925,), (1340149929,), (1340149934,), (1340150169,), (1340150172,), (1340150176,), (1340150308,), (1340150322,), (1340150465,), (1340150468,), (1340150470,), (1340150480,), (1340150488,), (1340150520,), (1340150527,), (1340150542,), (1340150590,), (1340150621,), (1340150687,), (1340150729,), (1340150789,), (1340150832,), (1340151198,), (1340151245,), (1340151354,), (1340151967,), (1340151987,), (1340152051,), (1340152147,), (1340152224,), (1340152252,), (1340152503,), (1340152507,), (1340152512,), (1340159187,), (1340159049,), (1340159051,), (1340159053,), (1340159122,), (1340159394,), (1340159399,), (1340159404,), (1340159436,), (1340159440,), (1340159444,), (1340160181,), (1340160275,), (1340160302,), (1340160384,), (1340160521,), (1340160528,), (1340160587,), (1340160592,), (1340160669,), (1340160707,), (1340160971,), (1340160988,), (1340161001,), (1340161066,), (1340161074,), (1340161077,), (1340161099,), (1340161103,), (1340161108,), (1340161114,), (1340161153,), (1340161156,), (1340161165,), (1340161198,), (1340161229,), (1340161371,), (1340161374,), (1340161378,), (1340161391,), (1340161404,), (1340161419,), (1340161458,), (1340161460,), (1340161464,), (1340161521,), (1340161524,), (1340161526,), (1340161530,), (1340161533,), (1340161550,), (1340161615,), (1340161637,), (1340161726,), (1340161775,), (1340161869,), (1340162115,), (1340162095,), (1340162098,), (1340162101,), (1340162104,), (1340162147,), (1340162149,), (1340162152,), (1340162165,), (1340162174,), (1340162181,), (1340162209,), (1340162210,), (1340162211,), (1340162215,), (1340162405,), (1340162407,), (1340162408,), (1340162411,), (1340162419,), (1340162427,), (1340162508,), (1340162518,), (1340162519,), (1340162530,), (1340162538,), (1340162546,), (1340162616,), (1340162618,), (1340162620,), (1340162821,), (1340163084,), (1340163335,), (1340163550,), (1340163779,), (1340163875,), (1340164729,), (1340164730,), (1340164732,), (1340165508,), (1340165574,), (1340165614,), (1340165619,), (1340165672,), (1340165675,), (1340165679,), (1340166067,), (1340166072,), (1340166075,), (1340166078,), (1340166085,), (1340166122,), (1340166126,), (1340166129,), (1340166136,), (1340166161,), (1340166170,), (1340166226,), (1340166248,), (1340166255,), (1340166304,), (1340166305,), (1340166306,), (1340166311,), (1340166313,), (1340166319,), (1340166460,), (1340166401,), (1340166404,), (1340166407,), (1340166411,), (1340166450,), (1340166588,), (1340166594,), (1340166597,), (1340166601,), (1340166673,), (1340166682,), (1340166685,), (1340166689,), (1340166717,), (1340166720,), (1340166735,), (1340166741,), (1340166751,), (1340166756,), (1340167234,), (1340167332,), (1340167351,), (1340167358,), (1340167525,), (1340168249,), (1340168251,), (1340168280,), (1340168283,), (1340168285,), (1340168289,), (1340168320,), (1340168334,), (1340168339,), (1340168344,), (1340168354,), (1340168360,), (1340168399,), (1340168402,), (1340168406,), (1340168456,), (1340168460,), (1340168468,), (1340168472,), (1340168476,), (1340168483,), (1340168516,), (1340168525,), (1340168531,), (1340168538,), (1340168544,), (1340168581,), (1340168582,), (1340168586,), (1340168588,), (1340168591,), (1340168592,), (1340168664,), (1340168630,), (1340168634,), (1340168638,), (1340168652,), (1340168655,), (1340168704,), (1340168709,), (1340168744,), (1340168812,), (1340168819,), (1340168820,), (1340168824,), (1340168828,), (1340168876,), (1340168881,), (1340168884,), (1340168889,), (1340168892,), (1340168898,), (1340169395,), (1340169658,), (1340169855,), (1340169860,), (1340170063,), (1340170117,), (1340170123,), (1340170157,), (1340170164,), (1340170168,), (1340170194,), (1340170197,), (1340170203,), (1340170250,), (1340170258,), (1340170260,), (1340170264,), (1340170268,), (1340170296,), (1340170298,), (1340170300,), (1340170304,), (1340170356,), (1340170358,), (1340170360,), (1340170364,), (1340170367,), (1340170373,), (1340170558,), (1340170581,), (1340170587,), (1340170602,), (1340170639,), (1340170642,), (1340170645,), (1340170653,), (1340170662,), (1340170666,), (1340170693,), (1340170704,), (1340170706,), (1340170714,), (1340170791,), (1340170869,), (1340170960,), (1340171049,), (1340171147,), (1340171240,), (1340171416,), (1340171506,), (1340171532,), (1340171539,), (1340171554,), (1340171608,), (1340172219,), (1340172200,), (1340172205,), (1340172209,), (1340172289,), (1340172292,), (1340172296,), (1340172300,), (1340172305,), (1340172309,), (1340172344,), (1340172347,), (1340172350,), (1340172383,), (1340172386,), (1340172389,), (1340172393,), (1340172395,), (1340172409,), (1340172439,), (1340172441,), (1340172445,), (1340172458,), (1340172494,), (1340172586,), (1340173126,), (1340173133,), (1340173141,), (1340173145,), (1340173437,), (1340173607,), (1340173822,), (1340173992,), (1340174173,), (1340174176,), (1340174179,), (1340174183,), (1340174187,), (1340174199,), (1340174580,), (1340174590,), (1340174763,), (1340174830,), (1340174889,), (1340175498,), (1340175503,), (1340175508,), (1340175603,), (1340175738,), (1340175742,), (1340175750,), (1340175763,), (1340175831,), (1340175954,), (1340175958,), (1340175961,), (1340175967,), (1340175973,), (1340175979,), (1340176003,), (1340176008,), (1340176013,), (1340176020,), (1340176071,), (1340176075,), (1340176079,), (1340176085,), (1340176089,), (1340176095,), (1340176117,), (1340176133,), (1340176144,), (1340176153,), (1340176160,), (1340176271,), (1340176189,), (1340176195,), (1340176206,), (1340176362,), (1340176366,), (1340176381,), (1340176388,), (1340176404,), (1340176437,), (1340176442,), (1340176446,), (1340176529,), (1340176535,), (1340176539,), (1340176542,), (1340176546,), (1340176550,), (1340177358,), (1340177369,), (1340177381,), (1340177386,), (1340177390,), (1340177397,), (1340177790,), (1340177795,), (1340177854,), (1340178023,), (1340178032,), (1340178035,), (1340178041,), (1340178050,), (1340178053,), (1340178073,), (1340178077,), (1340178080,), (1340178084,), (1340178134,), (1340178137,), (1340178145,), (1340178164,), (1340178170,), (1340178177,), (1340178212,), (1340178217,), (1340178222,), (1340178228,), (1340178233,), (1340178285,), (1340178335,), (1340178338,), (1340178340,), (1340178376,), (1340179593,), (1340179226,), (1340179583,), (1340179585,), (1340179587,), (1340179626,), (1340179630,), (1340179633,), (1340179830,), (1340179905,), (1340179910,), (1340179914,), (1340179970,), (1340180018,), (1340180028,), (1340180037,), (1340180197,), (1340180201,), (1340180206,), (1340180210,), (1340180217,), (1340180242,), (1340180245,), (1340180249,), (1340180258,), (1340180264,), (1340180287,), (1340180291,), (1340180294,), (1340180301,), (1340180338,), (1340180348,), (1340180356,), (1340180365,), (1340180374,), (1340180390,), (1340180395,), (1340180398,), (1340180401,), (1340180404,), (1340180440,), (1340180417,), (1340180422,), (1340180426,), (1340180432,), (1340181349,), (1340181353,), (1340181357,), (1340181374,), (1340181391,), (1340181397,), (1340181699,), (1340181709,), (1340181717,), (1340181721,), (1340181756,), (1340181761,), (1340181767,), (1340181772,), (1340181780,), (1340181783,), (1340182560,), (1340182566,), (1340182572,), (1340182880,), (1340182886,), (1340182890,), (1340182898,), (1340182903,), (1340182968,), (1340182972,), (1340182975,), (1340182996,), (1340183055,), (1340183062,), (1340183101,), (1340183104,), (1340183107,), (1340183113,), (1340183117,), (1340183127,), (1340183174,), (1340183177,), (1340183179,), (1340183185,), (1340183188,), (1340183195,), (1340183218,), (1340183223,), (1340183228,), (1340183234,), (1340183271,), (1340183275,), (1340183279,), (1340183285,), (1340183289,), (1340183338,), (1340183342,), (1340183345,), (1340183407,), (1340183411,), (1340183414,), (1340183418,), (1340183455,), (1340183458,), (1340183462,), (1340183470,), (1340183475,), (1340183487,), (1340183562,), (1340183535,), (1340183547,), (1340183551,), (1340183556,), (1340183599,), (1340183608,), (1340183619,), (1340183625,), (1340183631,), (1340183648,), (1340183674,), (1340183676,), (1340183679,), (1340183740,), (1340183744,), (1340183754,), (1340184041,), (1340184224,), (1340184234,), (1340184266,), (1340184270,), (1340184504,), (1340184514,), (1340184671,), (1340184675,), (1340184678,), (1340184686,), (1340184744,), (1340184892,), (1340185115,), (1340185136,), (1340185163,), (1340185166,), (1340185266,), (1340185296,), (1340185317,), (1340185333,), (1340185383,), (1340185426,), (1340185497,), (1340185509,), (1340185522,), (1340185528,), (1340185536,), (1340185605,), (1340185701,), (1340185705,), (1340185709,), (1340185715,), (1340185720,), (1340185772,), (1340185780,), (1340186032,), (1340186036,), (1340186040,), (1340186053,), (1340186058,), (1340186097,), (1340186101,), (1340186105,), (1340186111,), (1340186114,), (1340186120,), (1340186170,), (1340186176,), (1340186179,), (1340186187,), (1340186191,), (1340186321,), (1340190836,), (1340192005,), (1340192145,), (1340192251,), (1340192354,), (1340192472,), (1340192816,), (1340192819,), (1340193049,), (1340193073,), (1340193081,), (1340193230,), (1340193233,), (1340193236,), (1340193241,), (1340193295,), (1340193299,), (1340193303,), (1340193309,), (1340193420,), (1340194620,), (1340194607,), (1340194611,), (1340194614,), (1340194646,), (1340194651,), (1340194654,), (1340194661,), (1340194665,), (1340194669,), (1340195001,), (1340195163,), (1340195366,), (1340195369,), (1340195405,), (1340195411,), (1340195444,), (1340195447,), (1340195450,), (1340195504,), (1340195507,), (1340195510,), (1340195561,), (1340195564,), (1340195566,), (1340195596,), (1340195600,), (1340195603,), (1340195646,), (1340195649,), (1340195653,), (1340195656,), (1340195658,), (1340195664,), (1340195701,), (1340195706,), (1340195709,), (1340195713,), (1340195715,), (1340195719,), (1340195747,), (1340195751,), (1340195754,), (1340195788,), (1340195792,), (1340195797,), (1340195799,), (1340195804,), (1340195829,), (1340195834,), (1340195838,), (1340195847,), (1340195893,), (1340195899,), (1340195906,), (1340195912,), (1340195918,), (1340196149,), (1340196050,), (1340196087,), (1340196097,), (1340196133,), (1340196189,), (1340196194,), (1340196198,), (1340196202,), (1340196239,), (1340196244,), (1340196248,), (1340196254,), (1340196259,), (1340196265,), (1340196280,), (1340196284,), (1340196290,), (1340196296,), (1340196299,), (1340196304,), (1340196328,), (1340196331,), (1340196336,), (1340196342,), (1340196371,), (1340196377,), (1340196381,), (1340196386,), (1340196389,), (1340196394,), (1340196418,), (1340196421,), (1340196426,), (1340196433,), (1340196482,), (1340196487,), (1340196491,), (1340196497,), (1340196502,), (1340196508,), (1340196533,), (1340196537,), (1340196544,), (1340196554,), (1340196573,), (1340196577,), (1340196627,), (1340196631,), (1340196634,), (1340196638,), (1340196681,), (1340196685,), (1340196687,), (1340196692,), (1340196694,), (1340196698,), (1340196726,), (1340196730,), (1340196733,), (1340196737,), (1340196742,), (1340196746,), (1340196795,), (1340196799,), (1340196802,), (1340196806,), (1340196857,), (1340196872,), (1340196885,), (1340196892,), (1340196905,), (1340196909,), (1340196912,), (1340196916,), (1340196941,), (1340196931,), (1340196936,), (1340196995,), (1340197000,), (1340197006,), (1340197010,), (1340197013,), (1340197017,), (1340197038,), (1340197044,), (1340197048,), (1340197052,), (1340197058,), (1340197069,), (1340197106,), (1340197111,), (1340197114,), (1340197117,), (1340197145,), (1340197150,), (1340197154,), (1340197159,), (1340197315,), (1340197564,), (1340198069,), (1340198075,), (1340198166,), (1340198272,), (1340198411,), (1340198415,), (1340198419,), (1340198425,), (1340198429,), (1340198470,), (1340198476,), (1340198479,), (1340198483,), (1340198486,), (1340198490,), (1340198515,), (1340198519,), (1340198524,), (1340198528,), (1340198574,), (1340198577,), (1340198582,), (1340198587,), (1340198590,), (1340198595,), (1340198614,), (1340198618,), (1340198622,), (1340198627,), (1340198630,), (1340198633,), (1340198662,), (1340198666,), (1340198669,), (1340198673,), (1340198707,), (1340198749,), (1340198753,), (1340198759,), (1340198773,), (1340198778,), (1340198799,), (1340198802,), (1340198806,), (1340198811,), (1340198819,), (1340198826,), (1340198854,), (1340198848,), (1340198852,), (1340198897,), (1340198902,), (1340198906,), (1340198911,), (1340198915,), (1340198919,), (1340198946,), (1340198948,), (1340198956,), (1340198967,), (1340198971,), (1340199005,), (1340199009,), (1340199013,), (1340199017,), (1340199020,), (1340199054,), (1340199058,), (1340199061,), (1340199065,), (1340199068,), (1340199071,), (1340199728,), (1340199752,), (1340199757,), (1340199759,), (1340199765,), (1340200088,), (1340200134,), (1340200191,), (1340200299,), (1340200349,), (1340200354,), (1340200492,), (1340200496,), (1340200538,), (1340200655,), (1340200879,), (1340200995,), (1340201000,), (1340201004,), (1340201009,), (1340201012,), (1340201017,), (1340201064,), (1340201071,), (1340201077,), (1340201083,), (1340201088,), (1340201128,), (1340201138,), (1340201142,), (1340201160,), (1340201164,), (1340201175,), (1340201239,), (1340201241,), (1340201277,), (1340201289,), (1340201298,), (1340201305,), (1340201307,), (1340201336,), (1340201345,), (1340201348,), (1340201355,), (1340201358,), (1340201510,), (1340201437,), (1340201501,), (1340201505,), (1340201626,), (1340201631,), (1340201634,), (1340201640,), (1340201643,), (1340201666,), (1340201669,), (1340201674,), (1340201679,), (1340201682,), (1340201749,), (1340201754,), (1340201757,), (1340201762,), (1340201786,), (1340201790,), (1340201796,), (1340201802,), (1340201807,), (1340201842,), (1340201847,), (1340201860,), (1340201865,), (1340202436,), (1340202537,), (1340202610,), (1340202614,), (1340202616,), (1340202886,), (1340202889,), (1340202938,), (1340203021,), (1340203040,), (1340203054,), (1340203520,), (1340203525,), (1340203528,), (1340203532,), (1340203779,), (1340203783,), (1340203786,), (1340203790,), (1340203793,), (1340203798,), (1340203820,), (1340203824,), (1340203833,), (1340203840,), (1340203911,), (1340203915,), (1340203918,), (1340203922,), (1340203924,), (1340205846,), (1340205720,), (1340205974,), (1340205978,), (1340205982,), (1340205987,), (1340205989,), (1340206369,), (1340206374,), (1340206382,), (1340206386,), (1340206391,), (1340206396,), (1340206418,), (1340206421,), (1340206467,), (1340206471,), (1340206474,), (1340206479,), (1340206482,), (1340206510,), (1340206514,), (1340206524,), (1340206528,), (1340206538,), (1340206577,), (1340206581,), (1340206585,), (1340206589,), (1340207232,), (1340207239,), (1340207246,), (1340207253,), (1340207296,), (1340207390,), (1340207398,), (1340207400,), (1340207404,), (1340207452,), (1340207429,), (1340207434,), (1340207437,), (1340207441,), (1340207445,), (1340207483,), (1340207493,), (1340207504,), (1340207508,), (1340207511,), (1340207516,), (1340207576,), (1340207579,), (1340207582,), (1340207586,), (1340207589,), (1340207626,), (1340207630,), (1340207632,), (1340207639,), (1340207650,), (1340207654,), (1340208802,), (1340208805,), (1340208807,), (1340209330,), (1340209410,), (1340209446,), (1340209518,), (1340209540,), (1340209573,), (1340209692,), (1340209865,), (1340209868,), (1340209918,), (1340209937,), (1340209941,), (1340209944,), (1340209947,), (1340209954,), (1340209975,), (1340209978,), (1340209980,), (1340209983,), (1340209986,), (1340209996,), (1340210128,), (1340210131,), (1340210134,), (1340210138,), (1340210298,), (1340210301,), (1340210309,), (1340210315,), (1340210318,), (1340210325,), (1340210348,), (1340210351,), (1340210353,), (1340210356,), (1340210402,), (1340210405,), (1340210407,), (1340210410,), (1340210413,), (1340210420,), (1340210456,), (1340210458,), (1340210461,), (1340210464,), (1340210991,), (1340210995,), (1340210999,), (1340211003,), (1340211007,), (1340211380,), (1340211252,), (1340211266,), (1340211273,), (1340211281,), (1340211287,), (1340211466,), (1340211469,), (1340211475,), (1340211486,), (1340211550,), (1340211554,), (1340211558,), (1340211562,), (1340211565,), (1340211567,), (1340211593,), (1340211598,), (1340211602,), (1340211607,), (1340211658,), (1340211663,), (1340211670,), (1340211675,), (1340211680,), (1340211686,), (1340212006,), (1340212118,), (1340212153,), (1340212171,), (1340212197,), (1340212203,), (1340212462,), (1340212466,), (1340212469,), (1340212473,), (1340212483,), (1340212769,), (1340212772,), (1340212776,), (1340212780,), (1340212783,), (1340212822,), (1340212833,), (1340212847,), (1340212850,), (1340212857,), (1340212863,), (1340212879,), (1340212884,), (1340212889,), (1340212894,), (1340212901,), (1340212907,), (1340212933,), (1340212937,), (1340212949,), (1340212961,), (1340212970,), (1340212977,), (1340212998,), (1340213002,), (1340213008,), (1340213015,), (1340213056,), (1340213063,), (1340213075,), (1340213083,), (1340213089,), (1340213093,), (1340213107,), (1340213111,), (1340213114,), (1340213119,), (1340213175,), (1340213180,), (1340213184,), (1340213189,), (1340213193,), (1340213209,), (1340213343,), (1340213237,), (1340213241,), (1340213243,), (1340213528,), (1340213531,), (1340213534,), (1340213539,), (1340213552,), (1340213567,), (1340213587,), (1340213591,), (1340213595,), (1340213600,), (1340213606,), (1340213687,), (1340213709,), (1340213716,), (1340213892,), (1340213895,), (1340214037,), (1340214041,), (1340214045,), (1340214050,), (1340214057,), (1340214071,), (1340214230,), (1340214233,), (1340214299,), (1340214320,), (1340214343,), (1340214434,), (1340214438,), (1340214470,), (1340214474,), (1340214477,), (1340214481,), (1340214522,), (1340214534,), (1340214537,), (1340214543,), (1340214545,), (1340214600,), (1340214605,), (1340214609,), (1340214614,), (1340214708,), (1340218135,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20901042]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] map_info['map_portfolio_photo'] : {20901042: [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384]} final : True mtd_id 4302 list_pids : [1340026025, 1340018460, 1340018407, 1340018403, 1340018400, 1340018374, 1340018371, 1340018367, 1340018363, 1340018360, 1340018357, 1340018335, 1340018332, 1340018329, 1340018325, 1340018323, 1340018320, 1340018280, 1340018275, 1340018271, 1340018247, 1340018242, 1340018238, 1340018233, 1340018230, 1340018225, 1340018025, 1340018020, 1340017938, 1340017750, 1340017464, 1340017462, 1340017460, 1340017457, 1340017456, 1340017394, 1340017391, 1340017388, 1340017386, 1340017384] Looping around the photos to save general results len do output : 1 /20901042Didn'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, '2625806') ('4302', '20901042', '1340026025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018407', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018403', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018400', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018374', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018371', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018367', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018363', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018360', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018357', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018335', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018332', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018329', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018325', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018323', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018320', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018280', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018275', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018271', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018247', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018242', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018238', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018233', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018230', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018225', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018025', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340018020', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017938', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017750', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017464', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017462', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017460', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017457', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017456', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017394', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017391', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017388', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017386', None, None, None, None, None, '2625806') ('4302', None, None, None, None, None, None, None, '2625806') ('4302', '20901042', '1340017384', None, None, None, None, None, '2625806') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '20901042', 'None', None, None, None, None, '2625806'), ('4302', '20901042', '1340026025', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018460', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018407', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018403', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018400', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018374', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018371', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018367', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018363', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018360', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018357', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018335', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018332', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018329', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018325', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018323', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018320', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018280', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018275', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018271', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018247', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018242', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018238', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018233', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018230', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018225', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018025', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340018020', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017938', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017750', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017464', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017462', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017460', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017457', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017456', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017394', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017391', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017388', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017386', None, None, None, None, None, '2625806'), ('4302', '20901042', '1340017384', None, None, None, None, None, '2625806')] time used for this insertion : 0.031000375747680664 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.474016189575195 time spend to save output : 0.031366586685180664 total time spend for step 5 : 4.505382776260376 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 (2625806) 3.47user 2.56system 0:22.35elapsed 26%CPU (0avgtext+0avgdata 163768maxresident)k 888inputs+39720outputs (0major+88005minor)pagefaults 0swaps