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 : 1911049 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 (2578441) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2578441) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439280 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2578441'] with mtr_portfolio_ids : ['20439280'] and first list_photo_ids : [] new path : /proc/1911049/ Name: python3 Umask: 0002 State: R (running) Tgid: 1911049 Ngid: 0 Pid: 1911049 PPid: 1911047 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1911049 NSpid: 1911049 NSpgid: 1910330 NSsid: 1910330 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99704 kB VmRSS: 99704 kB RssAnon: 59756 kB RssFile: 39948 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 572 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/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: 38 nonvoluntary_ctxt_switches: 186 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1911049', 'Ngid': '0', 'Pid': '1911049', 'PPid': '1911047', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1911049', 'NSpid': '1911049', 'NSpgid': '1910330', 'NSsid': '1910330', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99704 kB', 'VmRSS': '99704 kB', 'RssAnon': '59756 kB', 'RssFile': '39948 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '572 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/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': '38', 'nonvoluntary_ctxt_switches': '186'} ('datou_batch_current', '1911049', '1106928', '0', '1106928', '865680', '99704', b'', 'marlene', '2578441') 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 (20439280) 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 (2578441 ) ) 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 (20439280) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1336782129, 'portfolio_id': 20439280}, {'photo_id': 1336782026, 'portfolio_id': 20439280}, {'photo_id': 1336781965, 'portfolio_id': 20439280}, {'photo_id': 1336781960, 'portfolio_id': 20439280}, {'photo_id': 1336781471, 'portfolio_id': 20439280}, {'photo_id': 1336780895, 'portfolio_id': 20439280}, {'photo_id': 1336780892, 'portfolio_id': 20439280}, {'photo_id': 1336780890, 'portfolio_id': 20439280}, {'photo_id': 1336780889, 'portfolio_id': 20439280}, {'photo_id': 1336779693, 'portfolio_id': 20439280}, {'photo_id': 1336779665, 'portfolio_id': 20439280}, {'photo_id': 1336779602, 'portfolio_id': 20439280}, {'photo_id': 1336779499, 'portfolio_id': 20439280}, {'photo_id': 1336779490, 'portfolio_id': 20439280}, {'photo_id': 1336779487, 'portfolio_id': 20439280}, {'photo_id': 1336779483, 'portfolio_id': 20439280}, {'photo_id': 1336779482, 'portfolio_id': 20439280}, {'photo_id': 1336779449, 'portfolio_id': 20439280}, {'photo_id': 1336779443, 'portfolio_id': 20439280}, {'photo_id': 1336779431, 'portfolio_id': 20439280}, {'photo_id': 1336779428, 'portfolio_id': 20439280}, {'photo_id': 1336779426, 'portfolio_id': 20439280}, {'photo_id': 1336779418, 'portfolio_id': 20439280}, {'photo_id': 1336779212, 'portfolio_id': 20439280}, {'photo_id': 1336779210, 'portfolio_id': 20439280}, {'photo_id': 1336779207, 'portfolio_id': 20439280}, {'photo_id': 1336779205, 'portfolio_id': 20439280}, {'photo_id': 1336779169, 'portfolio_id': 20439280}, {'photo_id': 1336779165, 'portfolio_id': 20439280}, {'photo_id': 1336779164, 'portfolio_id': 20439280}, {'photo_id': 1336779163, 'portfolio_id': 20439280}, {'photo_id': 1336779161, 'portfolio_id': 20439280}, {'photo_id': 1336778994, 'portfolio_id': 20439280}, {'photo_id': 1336778992, 'portfolio_id': 20439280}, {'photo_id': 1336778990, 'portfolio_id': 20439280}, {'photo_id': 1336778987, 'portfolio_id': 20439280}, {'photo_id': 1336778983, 'portfolio_id': 20439280}, {'photo_id': 1336778683, 'portfolio_id': 20439280}, {'photo_id': 1336778678, 'portfolio_id': 20439280}] map_portfolio_id_photo_id: {20439280: [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678]} ##### 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.9680795669555664 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Feb 12 05:45: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20439280) 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 : 20439280 get user id for portfolio 20439280 get sub ptf for main ptf 20439280, type 3726 and hashtags ['Teint_Dans_La_Masse', 'Carton_gris', 'Carton_brun', 'autre_refus', 'environnement', 'cartonnette', 'kraft', 'plastique', 'metal', 'flou', 'papier', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20439280 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','kraft','plastique','metal','flou','papier','mal_croppe')) 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`=20439280 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','kraft','plastique','metal','flou','papier','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 20439280, 'sub_port_id': 20439312, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114714, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'Carton_brun': {'main_port_id': 20439280, 'sub_port_id': 20439313, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114715, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 20439280, 'sub_port_id': 20439314, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114716, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'kraft': {'main_port_id': 20439280, 'sub_port_id': 20439315, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114717, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'environnement': {'main_port_id': 20439280, 'sub_port_id': 20439316, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114718, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'mal_croppe': {'main_port_id': 20439280, 'sub_port_id': 20439317, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114719, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'cartonnette': {'main_port_id': 20439280, 'sub_port_id': 20439318, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114720, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'papier': {'main_port_id': 20439280, 'sub_port_id': 20439319, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114721, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'autre_refus': {'main_port_id': 20439280, 'sub_port_id': 20439320, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114722, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'metal': {'main_port_id': 20439280, 'sub_port_id': 20439321, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114723, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'flou': {'main_port_id': 20439280, 'sub_port_id': 20439322, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114724, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}, 'plastique': {'main_port_id': 20439280, 'sub_port_id': 20439323, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114725, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439312 , 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=20439280 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 (20439312) result : ((1336779420,), (1336780793,), (1336781420,), (1336781421,), (1336781607,), (1336782136,), (1336791302,), (1336792333,), (1336792334,), (1336792422,), (1336792423,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439313 , 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=20439280 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 (20439313) result : ((1336779423,), (1336779424,), (1336779425,), (1336779432,), (1336779434,), (1336779435,), (1336780887,), (1336780888,), (1336781423,), (1336781617,), (1336781618,), (1336781619,), (1336791660,), (1336792339,), (1336792424,), (1336792425,), (1336792426,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439314 , 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=20439280 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 (20439314) result : ((1336779416,), (1336779429,), (1336780743,), (1336781377,), (1336781379,), (1336781381,), (1336781383,), (1336781573,), (1336781574,), (1336781576,), (1336781578,), (1336781579,), (1336781581,), (1336781592,), (1336781692,), (1336781761,), (1336781762,), (1336781764,), (1336781765,), (1336781767,), (1336781768,), (1336791284,), (1336791654,), (1336791655,), (1336791656,), (1336792328,), (1336792329,), (1336792330,), (1336792331,), (1336792416,), (1336792417,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439315 , 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=20439280 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 (20439315) result : ((1336779438,), (1336779439,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439316 , 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=20439280 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 (20439316) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439317 , 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=20439280 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 (20439317) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439318 , 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=20439280 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 (20439318) result : ((1336779430,), (1336780840,), (1336781422,), (1336781611,), (1336781699,), (1336781700,), (1336781701,), (1336781810,), (1336791304,), (1336791305,), (1336791306,), (1336791659,), (1336792337,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439319 , 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=20439280 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 (20439319) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439320 , 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=20439280 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 (20439320) result : ((1336779417,), (1336781606,), (1336781697,), (1336781698,), (1336781788,), (1336782135,), (1336791294,), (1336791295,), (1336791297,), (1336791657,), (1336792419,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439321 , 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=20439280 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 (20439321) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439322 , 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=20439280 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 (20439322) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20439323 , 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=20439280 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 (20439323) result : ((1336779436,), (1336781620,), (1336781621,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20439280) result : ((1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20439280 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','kraft','plastique','metal','flou','papier','mal_croppe')) 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`=20439280 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','kraft','plastique','metal','flou','papier','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 20439280, 'sub_port_id': 20439324, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114726, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'Carton_brun': {'main_port_id': 20439280, 'sub_port_id': 20439325, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114727, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20439280, 'sub_port_id': 20439326, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114728, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'kraft': {'main_port_id': 20439280, 'sub_port_id': 20439327, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114729, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'environnement': {'main_port_id': 20439280, 'sub_port_id': 20439328, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114730, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'mal_croppe': {'main_port_id': 20439280, 'sub_port_id': 20439329, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114731, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'cartonnette': {'main_port_id': 20439280, 'sub_port_id': 20439330, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114732, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'papier': {'main_port_id': 20439280, 'sub_port_id': 20439331, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114733, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'autre_refus': {'main_port_id': 20439280, 'sub_port_id': 20439332, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114734, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'metal': {'main_port_id': 20439280, 'sub_port_id': 20439333, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114735, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'flou': {'main_port_id': 20439280, 'sub_port_id': 20439334, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114736, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}, 'plastique': {'main_port_id': 20439280, 'sub_port_id': 20439335, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13114737, 'last_updated_at': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_desc': datetime.datetime(2025, 2, 11, 10, 47), 'last_updated_at_asc': datetime.datetime(2025, 2, 11, 10, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439324,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439312 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439325,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439313 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439326,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439314 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439327,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439315 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439328,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439316 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439329,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439317 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439330,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439318 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439331,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439319 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439332,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439320 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439333,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439321 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439334,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439322 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20439335,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20439323 lien utilise dans velours : https://www.fotonower.com/velours/20439324,20439325,20439326,20439327,20439328,20439329,20439330,20439331,20439332,20439333,20439334,20439335?tags=Carton_gris,Carton_brun,Teint_Dans_La_Masse,kraft,environnement,mal_croppe,cartonnette,papier,autre_refus,metal,flou,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20439280]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] map_info['map_portfolio_photo'] : {20439280: [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678]} final : False mtd_id 4302 list_pids : [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] Looping around the photos to save general results len do output : 1 /20439280. 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, '2578441') ('4302', '20439280', '1336782129', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336782026', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781965', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781960', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781471', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780895', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780892', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780890', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780889', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779693', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779665', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779602', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779499', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779490', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779487', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779483', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779482', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779449', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779443', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779431', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779428', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779426', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779418', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779212', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779210', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779207', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779205', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779169', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779165', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779164', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779163', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779161', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778994', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778992', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778990', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778987', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778983', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778683', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778678', None, None, None, None, None, '2578441') 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', None, '20439280', "{'Carton_gris': 20439312, 'Carton_brun': 20439313, 'Teint_Dans_La_Masse': 20439314, 'kraft': 20439315, 'environnement': 20439316, 'mal_croppe': 20439317, 'cartonnette': 20439318, 'papier': 20439319, 'autre_refus': 20439320, 'metal': 20439321, 'flou': 20439322, 'plastique': 20439323}", None, None, None, None, '2578441'), ('4302', '20439280', '1336782129', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336782026', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781965', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781960', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781471', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780895', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780892', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780890', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780889', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779693', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779665', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779602', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779499', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779490', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779487', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779483', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779482', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779449', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779443', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779431', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779428', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779426', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779418', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779212', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779210', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779207', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779205', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779169', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779165', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779164', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779163', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779161', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778994', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778992', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778990', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778987', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778983', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778683', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778678', None, None, None, None, None, '2578441')] time used for this insertion : 0.020211219787597656 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0837514400482178 time spend to save output : 0.020655155181884766 total time spend for step 1 : 2.1044065952301025 step2:final Wed Feb 12 05:45:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (20439280) 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 20439280 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1336778683,1336778678,1336778994,1336778992,1336778990,1336778987,1336778983,1336779169,1336779165,1336779164,1336779163,1336779161,1336779212,1336779210,1336779207,1336779205,1336779449,1336779443,1336779431,1336779428,1336779426,1336779418,1336779499,1336779490,1336779487,1336779483,1336779482,1336779693,1336779665,1336779602,1336780895,1336780892,1336780890,1336780889,1336781471,1336781965,1336781960,1336782026,1336782129); 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([20439280]) Inside saveOutput : final : False verbose : True original output for save of step final : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} new output for save of step final : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] map_info['map_portfolio_photo'] : {20439280: [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678]} final : False mtd_id 4302 list_pids : [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] Looping around the photos to save general results len do output : 39 /1336782129.Didn't retrieve data . /1336782026.Didn't retrieve data . /1336781965.Didn't retrieve data . /1336781960.Didn't retrieve data . /1336781471.Didn't retrieve data . /1336780895.Didn't retrieve data . /1336780892.Didn't retrieve data . /1336780890.Didn't retrieve data . /1336780889.Didn't retrieve data . /1336779693.Didn't retrieve data . /1336779665.Didn't retrieve data . /1336779602.Didn't retrieve data . /1336779499.Didn't retrieve data . /1336779490.Didn't retrieve data . /1336779487.Didn't retrieve data . /1336779483.Didn't retrieve data . /1336779482.Didn't retrieve data . /1336779449.Didn't retrieve data . /1336779443.Didn't retrieve data . /1336779431.Didn't retrieve data . /1336779428.Didn't retrieve data . /1336779426.Didn't retrieve data . /1336779418.Didn't retrieve data . /1336779212.Didn't retrieve data . /1336779210.Didn't retrieve data . /1336779207.Didn't retrieve data . /1336779205.Didn't retrieve data . /1336779169.Didn't retrieve data . /1336779165.Didn't retrieve data . /1336779164.Didn't retrieve data . /1336779163.Didn't retrieve data . /1336779161.Didn't retrieve data . /1336778994.Didn't retrieve data . /1336778992.Didn't retrieve data . /1336778990.Didn't retrieve data . /1336778987.Didn't retrieve data . /1336778983.Didn't retrieve data . /1336778683.Didn't retrieve data . /1336778678.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, '2578441') ('4302', '20439280', '1336782129', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336782026', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781965', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781960', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781471', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780895', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780892', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780890', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780889', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779693', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779665', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779602', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779499', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779490', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779487', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779483', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779482', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779449', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779443', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779431', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779428', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779426', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779418', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779212', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779210', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779207', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779205', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779169', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779165', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779164', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779163', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779161', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778994', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778992', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778990', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778987', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778983', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778683', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778678', None, None, None, None, None, '2578441') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 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', '20439280', '1336782129', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336782026', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336781965', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336781960', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336781471', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336780895', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336780892', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336780890', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336780889', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779693', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779665', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779602', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779499', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779490', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779487', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779483', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779482', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779449', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779443', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779431', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779428', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779426', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779418', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779212', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779210', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779207', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779205', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779169', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779165', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779164', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779163', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336779161', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336778994', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336778992', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336778990', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336778987', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336778983', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336778683', '0.0608029355690539', None, None, None, None, '2578441'), ('4302', '20439280', '1336778678', '0.0608029355690539', None, None, None, None, '2578441')] time used for this insertion : 0.02094268798828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0671694278717041 time spend to save output : 0.02255702018737793 total time spend for step 2 : 0.08972644805908203 step3:velours_tree Wed Feb 12 05:45:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20439280: [{'Carton_gris': 20439312, 'Carton_brun': 20439313, 'Teint_Dans_La_Masse': 20439314, 'kraft': 20439315, 'environnement': 20439316, 'mal_croppe': 20439317, 'cartonnette': 20439318, 'papier': 20439319, 'autre_refus': 20439320, 'metal': 20439321, 'flou': 20439322, 'plastique': 20439323}]} input_args_next_step : {20439280: ()} output_args : {20439280: [{'Carton_gris': 20439312, 'Carton_brun': 20439313, 'Teint_Dans_La_Masse': 20439314, 'kraft': 20439315, 'environnement': 20439316, 'mal_croppe': 20439317, 'cartonnette': 20439318, 'papier': 20439319, 'autre_refus': 20439320, 'metal': 20439321, 'flou': 20439322, 'plastique': 20439323}]} args : 20439280 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 : ({'Carton_gris': 20439312, 'Carton_brun': 20439313, 'Teint_Dans_La_Masse': 20439314, 'kraft': 20439315, 'environnement': 20439316, 'mal_croppe': 20439317, 'cartonnette': 20439318, 'papier': 20439319, 'autre_refus': 20439320, 'metal': 20439321, 'flou': 20439322, 'plastique': 20439323},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20439280) 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([20439280]) 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.3161795139312744 time spend to save output : 5.5789947509765625e-05 total time spend for step 3 : 0.3162353038787842 step4:send_mail_cod Wed Feb 12 05:45:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} input_args_next_step : {1336782129: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336782129 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336782026 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336781965 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336781960 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336781471 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336780895 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336780892 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336780890 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336780889 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779693 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779665 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779602 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779499 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779490 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779487 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779483 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779482 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779449 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779443 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779431 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779428 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779426 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779418 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779212 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779210 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779207 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779205 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779169 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779165 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779164 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779163 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336779161 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336778994 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336778992 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336778990 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336778987 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336778983 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336778683 depend.output_id : 0 input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ()} output_args : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',)} args : 1336778678 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 : {20439280: [{'Carton_gris': 20439312, 'Carton_brun': 20439313, 'Teint_Dans_La_Masse': 20439314, 'kraft': 20439315, 'environnement': 20439316, 'mal_croppe': 20439317, 'cartonnette': 20439318, 'papier': 20439319, 'autre_refus': 20439320, 'metal': 20439321, 'flou': 20439322, 'plastique': 20439323}]} input_args_next_step : {1336782129: ('0.0608029355690539',), 1336782026: ('0.0608029355690539',), 1336781965: ('0.0608029355690539',), 1336781960: ('0.0608029355690539',), 1336781471: ('0.0608029355690539',), 1336780895: ('0.0608029355690539',), 1336780892: ('0.0608029355690539',), 1336780890: ('0.0608029355690539',), 1336780889: ('0.0608029355690539',), 1336779693: ('0.0608029355690539',), 1336779665: ('0.0608029355690539',), 1336779602: ('0.0608029355690539',), 1336779499: ('0.0608029355690539',), 1336779490: ('0.0608029355690539',), 1336779487: ('0.0608029355690539',), 1336779483: ('0.0608029355690539',), 1336779482: ('0.0608029355690539',), 1336779449: ('0.0608029355690539',), 1336779443: ('0.0608029355690539',), 1336779431: ('0.0608029355690539',), 1336779428: ('0.0608029355690539',), 1336779426: ('0.0608029355690539',), 1336779418: ('0.0608029355690539',), 1336779212: ('0.0608029355690539',), 1336779210: ('0.0608029355690539',), 1336779207: ('0.0608029355690539',), 1336779205: ('0.0608029355690539',), 1336779169: ('0.0608029355690539',), 1336779165: ('0.0608029355690539',), 1336779164: ('0.0608029355690539',), 1336779163: ('0.0608029355690539',), 1336779161: ('0.0608029355690539',), 1336778994: ('0.0608029355690539',), 1336778992: ('0.0608029355690539',), 1336778990: ('0.0608029355690539',), 1336778987: ('0.0608029355690539',), 1336778983: ('0.0608029355690539',), 1336778683: ('0.0608029355690539',), 1336778678: ('0.0608029355690539',), 20439280: ()} output_args : {20439280: [{'Carton_gris': 20439312, 'Carton_brun': 20439313, 'Teint_Dans_La_Masse': 20439314, 'kraft': 20439315, 'environnement': 20439316, 'mal_croppe': 20439317, 'cartonnette': 20439318, 'papier': 20439319, 'autre_refus': 20439320, 'metal': 20439321, 'flou': 20439322, 'plastique': 20439323}]} args : 20439280 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 :40, first value : ('0.0608029355690539',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20439280) 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 (1336782129,1336782026,1336781965,1336781960,1336781471,1336780895,1336780892,1336780890,1336780889,1336779693,1336779665,1336779602,1336779499,1336779490,1336779487,1336779483,1336779482,1336779449,1336779443,1336779431,1336779428,1336779426,1336779418,1336779212,1336779210,1336779207,1336779205,1336779169,1336779165,1336779164,1336779163,1336779161,1336778994,1336778992,1336778990,1336778987,1336778983,1336778683,1336778678) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1336778678 begin to download photo : 1336779163 begin to download photo : 1336779418 begin to download photo : 1336779487 begin to download photo : 1336780892 download finish for photo 1336779487 begin to download photo : 1336779490 download finish for photo 1336780892 begin to download photo : 1336780895 download finish for photo 1336779163 begin to download photo : 1336779164 download finish for photo 1336778678 begin to download photo : 1336778683 download finish for photo 1336779418 begin to download photo : 1336779426 download finish for photo 1336779490 begin to download photo : 1336779499 download finish for photo 1336779426 begin to download photo : 1336779428 download finish for photo 1336780895 begin to download photo : 1336781471 download finish for photo 1336779164 begin to download photo : 1336779165 download finish for photo 1336778683 begin to download photo : 1336778983 download finish for photo 1336779428 begin to download photo : 1336779431 download finish for photo 1336779499 begin to download photo : 1336779602 download finish for photo 1336779165 begin to download photo : 1336779169 download finish for photo 1336781471 begin to download photo : 1336781960 download finish for photo 1336778983 begin to download photo : 1336778987 download finish for photo 1336779602 begin to download photo : 1336779665 download finish for photo 1336779431 begin to download photo : 1336779443 download finish for photo 1336781960 begin to download photo : 1336781965 download finish for photo 1336778987 begin to download photo : 1336778990 download finish for photo 1336779169 begin to download photo : 1336779205 download finish for photo 1336779665 begin to download photo : 1336779693 download finish for photo 1336779443 begin to download photo : 1336779449 download finish for photo 1336781965 begin to download photo : 1336782026 download finish for photo 1336778990 begin to download photo : 1336778992 download finish for photo 1336779693 begin to download photo : 1336780889 download finish for photo 1336779449 begin to download photo : 1336779482 download finish for photo 1336779205 begin to download photo : 1336779207 download finish for photo 1336780889 begin to download photo : 1336780890 download finish for photo 1336779207 begin to download photo : 1336779210 download finish for photo 1336782026 begin to download photo : 1336782129 download finish for photo 1336778992 begin to download photo : 1336778994 download finish for photo 1336779482 begin to download photo : 1336779483 download finish for photo 1336779210 begin to download photo : 1336779212 download finish for photo 1336782129 download finish for photo 1336780890 download finish for photo 1336779483 download finish for photo 1336778994 begin to download photo : 1336779161 download finish for photo 1336779212 download finish for photo 1336779161 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P20439280_12-02-2025_05_45_33.pdf 20439315 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=20439315 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336779438: '1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754405_0.png', 1336779439: '1739266471_1814678_1336778678_1841d37a1ef74dc1fbd858473a6e8691_rle_crop_3669754427_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/12b2d9559e6f34cefcb32e811f5b91b6_46979354.png change filename to text .imagette204393151739335533/ imagette204393151739335533/1739266471_1814678_1336778678_1841d37a1ef74dc1fbd858473a6e8691_rle_crop_3669754427_0.png.png imagette204393151739335533/1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754405_0.png.png imagette204393171739335533/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/78d71c3ce808e444d92326cc5505c92d_79179051.png imagette204393151739335533 20439317 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=20439317 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette204393171739335533 20439318 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=20439318 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336779430: '1739266471_1814678_1336778678_1841d37a1ef74dc1fbd858473a6e8691_rle_crop_3669754429_0.png', 1336780840: '1739266593_1818229_1336779165_72e8ff5657f92729de7fa62748762afd_rle_crop_3669756535_0.png', 1336781422: '1739266672_1820188_1336779482_ec9a0ee784462226e2c3ba03450db61d_rle_crop_3669757260_0.png', 1336781611: '1739266693_1820413_1336779418_3a768728d468119677f11f40a206ef50_rle_crop_3669757548_0.png', 1336781699: '1739266792_1822182_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758345_0.png', 1336781700: '1739266792_1822182_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758346_0.png', 1336781701: '1739266792_1822182_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758433_0.png', 1336781810: '1739266814_1822521_1336779665_535bf2cc2d9ab02d66f1235d4c3e5e39_rle_crop_3669759640_0.png', 1336791304: '1739269275_1897438_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758345_0.png', 1336791305: '1739269275_1897438_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758346_0.png', 1336791306: '1739269275_1897438_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758433_0.png', 1336791659: '1739269394_1898653_1336779205_1ad384ea9b4ae0ec0faea33072e14fda_rle_crop_3669821631_0.png', 1336792337: '1739269631_1908988_1336779482_ec9a0ee784462226e2c3ba03450db61d_rle_crop_3669757260_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/a3b9c03c5541c164f3163aaf476cead5_96014230.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/185aa89a25586ed21a01c02c6600fde8_21708610.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/d5c9769c4f6b15f589197b788b30788c_63496670.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/0c0ace2e0b6f516582258b1b233e5455_74613261.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/d0dd2af5a6a8b1c7656742016bff875c_1036310.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/81237536dc7493c6f9aeff914ba045bf_53608095.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/3813abbae6a6fed18cca3147445a111e_23676958.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/86319a866c7ee222eb6fc10a837607c0_5218833.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/d0dd2af5a6a8b1c7656742016bff875c_44441906.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/81237536dc7493c6f9aeff914ba045bf_19637977.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/3813abbae6a6fed18cca3147445a111e_56516132.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/2abd09b8deb1635aaa6e17e1f00078ed_63623841.png change filename to text .imagette204393181739335533/ imagette204393181739335533/1739266672_1820188_1336779482_ec9a0ee784462226e2c3ba03450db61d_rle_crop_3669757260_0.png.png imagette204393181739335533/1739266593_1818229_1336779165_72e8ff5657f92729de7fa62748762afd_rle_crop_3669756535_0.png.png imagette204393181739335533/1739266792_1822182_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758345_0.png.png imagette204393181739335533/1739266792_1822182_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758346_0.png.png imagette204393181739335533/1739266814_1822521_1336779665_535bf2cc2d9ab02d66f1235d4c3e5e39_rle_crop_3669759640_0.png.png imagette204393181739335533/1739269275_1897438_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758345_0.png.png imagette204393181739335533/1739266792_1822182_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758433_0.png.png imagette204393181739335533/1739266471_1814678_1336778678_1841d37a1ef74dc1fbd858473a6e8691_rle_crop_3669754429_0.png.png imagette204393181739335533/1739269275_1897438_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758346_0.png.png imagette204393181739335533/1739266693_1820413_1336779418_3a768728d468119677f11f40a206ef50_rle_crop_3669757548_0.png.png imagette204393181739335533/1739269275_1897438_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758433_0.png.png imagette204393181739335533/1739269631_1908988_1336779482_ec9a0ee784462226e2c3ba03450db61d_rle_crop_3669757260_0.png.png imagette204393181739335533/1739269394_1898653_1336779205_1ad384ea9b4ae0ec0faea33072e14fda_rle_crop_3669821631_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/d5c9769c4f6b15f589197b788b30788c_48438523.png imagette204393181739335533 20439320 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=20439320 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336779417: '1739266452_1814453_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754302_0.png', 1336781606: '1739266693_1820413_1336779499_b7eee93f4c68d22240ae57f2a3100aa8_rle_crop_3669757271_0.png', 1336781697: '1739266792_1822182_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758339_0.png', 1336781698: '1739266792_1822182_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758434_0.png', 1336781788: '1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759587_0.png', 1336782135: '1739267132_1833736_1336781960_4130a97d852c44b61ee9a07594ce1b33_rle_crop_3669765111_0.png', 1336791294: '1739269275_1897438_1336781471_76307b5c828f6621df68b8560abfd8be_rle_crop_3669819270_0.png', 1336791295: '1739269275_1897438_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758339_0.png', 1336791297: '1739269275_1897438_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758434_0.png', 1336791657: '1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821612_0.png', 1336792419: '1739269732_1910341_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754302_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/21e21ef81c9b554ef432bcba56868445_84156380.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/2940b024dc545c90112712e285a514a1_38528476.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/6d4bc3870208e8a3046548508b1845cd_65707146.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/1b7a989ea00f3dd8fcbb0d7bd2c40146_50442218.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/288b5cf0285220aeb7db25cef59f5c5a_51007442.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/109194cd2df0e01b7196ee26bc0287f3_58889830.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/9017db7a04826c16da151202954601d8_85677071.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/6d4bc3870208e8a3046548508b1845cd_1787903.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/1b7a989ea00f3dd8fcbb0d7bd2c40146_48423976.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/f9b5827e23257473ca555cb09098d272_38116840.png change filename to text .imagette204393201739335535/ imagette204393201739335535/1739269275_1897438_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758339_0.png.png imagette204393201739335535/1739267132_1833736_1336781960_4130a97d852c44b61ee9a07594ce1b33_rle_crop_3669765111_0.png.png imagette204393201739335535/1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821612_0.png.png imagette204393201739335535/1739269732_1910341_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754302_0.png.png imagette204393201739335535/1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759587_0.png.png imagette204393201739335535/1739269275_1897438_1336781471_76307b5c828f6621df68b8560abfd8be_rle_crop_3669819270_0.png.png imagette204393201739335535/1739269275_1897438_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758434_0.png.png imagette204393201739335535/1739266792_1822182_1336780890_8b8bb18700041831a90dc54353721ceb_rle_crop_3669758434_0.png.png imagette204393201739335535/1739266452_1814453_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754302_0.png.png imagette204393201739335535/1739266792_1822182_1336780892_9bc069fd40153e851a699c31ac38c0da_rle_crop_3669758339_0.png.png imagette204393201739335535/1739266693_1820413_1336779499_b7eee93f4c68d22240ae57f2a3100aa8_rle_crop_3669757271_0.png.png imagette204393211739335536/ imagette204393221739335536/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/21e21ef81c9b554ef432bcba56868445_11777928.png imagette204393201739335535 20439321 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=20439321 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette204393211739335536 20439322 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=20439322 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette204393221739335536 20439323 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=20439323 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336779436: '1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754404_0.png', 1336781620: '1739266693_1820413_1336779431_59932cbc4b58bce2a0b449dc54bab406_rle_crop_3669757467_0.png', 1336781621: '1739266693_1820413_1336779428_399084c427c7dc1f8ecde5f1d40e27cb_rle_crop_3669757490_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/4b6df0c32c272b4b375e0ebe95118812_15258865.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/148ed560b05a7c934709424fd4221a71_35958975.png change filename to text .imagette204393231739335536/ imagette204393231739335536/1739266693_1820413_1336779431_59932cbc4b58bce2a0b449dc54bab406_rle_crop_3669757467_0.png.png imagette204393231739335536/1739266693_1820413_1336779428_399084c427c7dc1f8ecde5f1d40e27cb_rle_crop_3669757490_0.png.png imagette204393231739335536/1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754404_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/84db015b3012ed98ea8d6d9ad7ac8afd_14800539.png imagette204393231739335536 20439312 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=20439312 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336779420: '1739266452_1814453_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754380_0.png', 1336780793: '1739266593_1818229_1336779163_ff5743ae1410f1b2aa9264dd021fda5f_rle_crop_3669756564_0.png', 1336781420: '1739266672_1820188_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757118_0.png', 1336781421: '1739266672_1820188_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757106_0.png', 1336781607: '1739266693_1820413_1336779426_a7f060e4851ebdfb5f8ca0ea080076b5_rle_crop_3669757525_0.png', 1336782136: '1739267132_1833736_1336781960_4130a97d852c44b61ee9a07594ce1b33_rle_crop_3669765107_0.png', 1336791302: '1739269275_1897438_1336781471_76307b5c828f6621df68b8560abfd8be_rle_crop_3669819276_0.png', 1336792333: '1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757118_0.png', 1336792334: '1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757106_0.png', 1336792422: '1739269732_1910341_1336779169_4a4cc01a7ea5c050554785ef31cdb8c9_rle_crop_3669835591_0.png', 1336792423: '1739269732_1910341_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754380_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/794e87c0fafc2891756e84058d6f6eb5_63739383.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/5db632939eb2457def502a554db55d5c_35995651.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/4d6541458df75c602814c84ea3413248_29047783.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/8526bb814c8614cd0d16c50409cf5588_13605299.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/1e761a4b1c6206e30ac54134e8516cf9_51153189.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/20f6ccde6293568a9e08b3d84ff07e0f_77383082.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/5c0c67b23fb3b70b19c57047d00823eb_26385088.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/4d6541458df75c602814c84ea3413248_98080501.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/8526bb814c8614cd0d16c50409cf5588_64909003.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/4a32515be79afa10d03f0e68e7896ae3_9046292.png change filename to text .imagette204393121739335537/ imagette204393121739335537/1739269275_1897438_1336781471_76307b5c828f6621df68b8560abfd8be_rle_crop_3669819276_0.png.png imagette204393121739335537/1739269732_1910341_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754380_0.png.png imagette204393121739335537/1739266672_1820188_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757106_0.png.png imagette204393121739335537/1739266452_1814453_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754380_0.png.png imagette204393121739335537/1739267132_1833736_1336781960_4130a97d852c44b61ee9a07594ce1b33_rle_crop_3669765107_0.png.png imagette204393121739335537/1739266593_1818229_1336779163_ff5743ae1410f1b2aa9264dd021fda5f_rle_crop_3669756564_0.png.png imagette204393121739335537/1739266693_1820413_1336779426_a7f060e4851ebdfb5f8ca0ea080076b5_rle_crop_3669757525_0.png.png imagette204393121739335537/1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757118_0.png.png imagette204393121739335537/1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757106_0.png.png imagette204393121739335537/1739266672_1820188_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757118_0.png.png imagette204393121739335537/1739269732_1910341_1336779169_4a4cc01a7ea5c050554785ef31cdb8c9_rle_crop_3669835591_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/794e87c0fafc2891756e84058d6f6eb5_44935939.png imagette204393121739335537 20439313 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=20439313 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336781423: '1739266672_1820188_1336779483_0dd2d2fe3133d4dc52a97a372018de3f_rle_crop_3669757131_0.png', 1336792426: '1739269732_1910341_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754388_0.png', 1336792425: '1739269732_1910341_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754306_0.png', 1336792424: '1739269732_1910341_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754308_0.png', 1336792339: '1739269631_1908988_1336779483_0dd2d2fe3133d4dc52a97a372018de3f_rle_crop_3669757131_0.png', 1336791660: '1739269394_1898653_1336779205_1ad384ea9b4ae0ec0faea33072e14fda_rle_crop_3669821633_0.png', 1336781619: '1739266693_1820413_1336779426_a7f060e4851ebdfb5f8ca0ea080076b5_rle_crop_3669757528_0.png', 1336781618: '1739266693_1820413_1336779428_399084c427c7dc1f8ecde5f1d40e27cb_rle_crop_3669757494_0.png', 1336781617: '1739266693_1820413_1336779431_59932cbc4b58bce2a0b449dc54bab406_rle_crop_3669757470_0.png', 1336779423: '1739266452_1814453_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754308_0.png', 1336780888: '1739266593_1818229_1336779163_ff5743ae1410f1b2aa9264dd021fda5f_rle_crop_3669756571_0.png', 1336780887: '1739266593_1818229_1336779164_29e2dd14a5b360e7d55d385b3925c7ca_rle_crop_3669756553_0.png', 1336779435: '1739266471_1814678_1336778678_1841d37a1ef74dc1fbd858473a6e8691_rle_crop_3669754426_0.png', 1336779434: '1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754402_0.png', 1336779432: '1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754406_0.png', 1336779425: '1739266452_1814453_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754388_0.png', 1336779424: '1739266452_1814453_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754306_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/40c04f78004168018f460871f8825076_97087372.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/efe91ed4953d3ba28dbfe05fdbb5e2fa_81058440.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/438a2c8ac3da413750c5c12b0c860fed_29535537.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/6468bdd363b2cec554c8513105d76a47_67455250.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/40c04f78004168018f460871f8825076_32089792.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/0ef807c236c665a2c56fe6da3c4ba900_23561944.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/368f51b8734ad4b4b7d9a872e88595e0_23053817.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/485a235def1ec9b527adb9bc756b052b_21329528.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/f8d286543f18c48e3ab0359419138ab5_23064183.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/6468bdd363b2cec554c8513105d76a47_48089038.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/e215e611df1e4abea4dc737af1f57840_9818532.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/b5b8743929a7d1d79939824d3c95ecc2_44106116.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/b9b739c95f91afbb8962f2ea3c039334_97247550.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/10f89d033604a7fa1204ee3842d4b25c_3849956.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/84591001b84481b63acf493ec2e36059_65713938.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/efe91ed4953d3ba28dbfe05fdbb5e2fa_90753752.png change filename to text .imagette204393131739335538/ imagette204393131739335538/1739266452_1814453_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754308_0.png.png imagette204393131739335538/1739269394_1898653_1336779205_1ad384ea9b4ae0ec0faea33072e14fda_rle_crop_3669821633_0.png.png imagette204393131739335538/1739269732_1910341_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754388_0.png.png imagette204393131739335538/1739266452_1814453_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754306_0.png.png imagette204393131739335538/1739266471_1814678_1336778678_1841d37a1ef74dc1fbd858473a6e8691_rle_crop_3669754426_0.png.png imagette204393131739335538/1739266672_1820188_1336779483_0dd2d2fe3133d4dc52a97a372018de3f_rle_crop_3669757131_0.png.png imagette204393131739335538/1739269631_1908988_1336779483_0dd2d2fe3133d4dc52a97a372018de3f_rle_crop_3669757131_0.png.png imagette204393131739335538/1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754402_0.png.png imagette204393131739335538/1739266693_1820413_1336779431_59932cbc4b58bce2a0b449dc54bab406_rle_crop_3669757470_0.png.png imagette204393131739335538/1739266452_1814453_1336778983_6ace3d7a3dce776917611328198c3782_rle_crop_3669754388_0.png.png imagette204393131739335538/1739269732_1910341_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754308_0.png.png imagette204393131739335538/1739266593_1818229_1336779163_ff5743ae1410f1b2aa9264dd021fda5f_rle_crop_3669756571_0.png.png imagette204393131739335538/1739269732_1910341_1336778987_6615f6d64767b9832d47919dd4c9bb0c_rle_crop_3669754306_0.png.png imagette204393131739335538/1739266471_1814678_1336778994_f17307d6a0c547aac78fc34163a6f3cc_rle_crop_3669754406_0.png.png imagette204393131739335538/1739266593_1818229_1336779164_29e2dd14a5b360e7d55d385b3925c7ca_rle_crop_3669756553_0.png.png imagette204393131739335538/1739266693_1820413_1336779426_a7f060e4851ebdfb5f8ca0ea080076b5_rle_crop_3669757528_0.png.png imagette204393131739335538/1739266693_1820413_1336779428_399084c427c7dc1f8ecde5f1d40e27cb_rle_crop_3669757494_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/438a2c8ac3da413750c5c12b0c860fed_76584447.png imagette204393131739335538 20439314 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=20439314 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336781761: '1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759593_0.png', 1336792417: '1739269732_1910341_1336778990_a24f21498e09d132fc88a5f3b5bf0728_rle_crop_3669754274_0.png', 1336792416: '1739269732_1910341_1336779169_4a4cc01a7ea5c050554785ef31cdb8c9_rle_crop_3669835597_0.png', 1336792331: '1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757116_0.png', 1336792330: '1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757112_0.png', 1336792329: '1739269631_1908988_1336779490_ff8e760eeb35260cac0456519deef79c_rle_crop_3669757096_0.png', 1336792328: '1739269631_1908988_1336779490_ff8e760eeb35260cac0456519deef79c_rle_crop_3669757098_0.png', 1336791656: '1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821620_0.png', 1336791655: '1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821617_0.png', 1336791654: '1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821621_0.png', 1336791284: '1739269275_1897438_1336780889_a23200a4d78a6870e4d6187dae8010ad_rle_crop_3669758448_0.png', 1336781768: '1739266814_1822521_1336779602_a2a13f1632062c50276834e064a06e85_rle_crop_3669759658_0.png', 1336781767: '1739266814_1822521_1336779602_a2a13f1632062c50276834e064a06e85_rle_crop_3669759657_0.png', 1336781765: '1739266814_1822521_1336779665_535bf2cc2d9ab02d66f1235d4c3e5e39_rle_crop_3669759645_0.png', 1336781764: '1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759595_0.png', 1336781762: '1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759592_0.png', 1336779416: '1739266452_1814453_1336778990_a24f21498e09d132fc88a5f3b5bf0728_rle_crop_3669754274_0.png', 1336781692: '1739266792_1822182_1336780889_a23200a4d78a6870e4d6187dae8010ad_rle_crop_3669758448_0.png', 1336781592: '1739266693_1820413_1336779418_3a768728d468119677f11f40a206ef50_rle_crop_3669757555_0.png', 1336781581: '1739266693_1820413_1336779418_3a768728d468119677f11f40a206ef50_rle_crop_3669757556_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/476bf3cf100fbbf78c8c26d669d74524_56493277.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/78b4d3d0e32070a67c6afd54a2bcc43f_11715687.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/bdfb7fde7310c878683a3eb4f33706b3_45962829.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/bdac8702534a8e42eb8e1c062f232eb9_93158587.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/28f05d5466a38a91f8ab16ccbc3a587f_19064592.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/6f23348e479e7b05472bf19a0c82cd14_37014449.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/d5d8524680fb0913193321deba51129d_66687686.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/5e10bcb6291909edf1866b00909321dc_57654763.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/a57ffcd3c0d90aca5cd0c174f48401b0_74790606.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/33316ce35d9a0f2ed897aafeb9d0a35d_13373789.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/68591178b423d862be6f231970a01ba0_80135030.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/af8dcea5bd05f3e2cbcd20445ab55b10_75618655.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/469a707ec5a9a7f9f05147a31950a499_66357555.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/0a8164c7cba708ce6a33a1bccd4f0d23_76405323.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/8deea824334de18f324ec84fa00e539d_42078422.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/05021d95359061acd9a413ea835568fa_35737243.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/78b4d3d0e32070a67c6afd54a2bcc43f_70500939.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/68591178b423d862be6f231970a01ba0_31184052.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/371805c0f468b21e158130a3bd14c9c6_14727295.png change filename to text .imagette204393141739335540/ imagette204393141739335540/1739266814_1822521_1336779602_a2a13f1632062c50276834e064a06e85_rle_crop_3669759657_0.png.png imagette204393141739335540/1739266792_1822182_1336780889_a23200a4d78a6870e4d6187dae8010ad_rle_crop_3669758448_0.png.png imagette204393141739335540/1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757112_0.png.png imagette204393141739335540/1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759595_0.png.png imagette204393141739335540/1739266814_1822521_1336779602_a2a13f1632062c50276834e064a06e85_rle_crop_3669759658_0.png.png imagette204393141739335540/1739269275_1897438_1336780889_a23200a4d78a6870e4d6187dae8010ad_rle_crop_3669758448_0.png.png imagette204393141739335540/1739269631_1908988_1336779490_ff8e760eeb35260cac0456519deef79c_rle_crop_3669757096_0.png.png imagette204393141739335540/1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759593_0.png.png imagette204393141739335540/1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821617_0.png.png imagette204393141739335540/1739266814_1822521_1336779665_535bf2cc2d9ab02d66f1235d4c3e5e39_rle_crop_3669759645_0.png.png imagette204393141739335540/1739269631_1908988_1336779490_ff8e760eeb35260cac0456519deef79c_rle_crop_3669757098_0.png.png imagette204393141739335540/1739266693_1820413_1336779418_3a768728d468119677f11f40a206ef50_rle_crop_3669757556_0.png.png imagette204393141739335540/1739266693_1820413_1336779418_3a768728d468119677f11f40a206ef50_rle_crop_3669757555_0.png.png imagette204393141739335540/1739269732_1910341_1336779169_4a4cc01a7ea5c050554785ef31cdb8c9_rle_crop_3669835597_0.png.png imagette204393141739335540/1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821621_0.png.png imagette204393141739335540/1739269394_1898653_1336779207_355d51e5d2a9294d24b3eb165df4531d_rle_crop_3669821620_0.png.png imagette204393141739335540/1739266814_1822521_1336780895_f860a1db6a7665d635b2e014e409b369_rle_crop_3669759592_0.png.png imagette204393141739335540/1739266452_1814453_1336778990_a24f21498e09d132fc88a5f3b5bf0728_rle_crop_3669754274_0.png.png imagette204393141739335540/1739269732_1910341_1336778990_a24f21498e09d132fc88a5f3b5bf0728_rle_crop_3669754274_0.png.png imagette204393141739335540/1739269631_1908988_1336779487_8c76c4ff21eb61126b7baba2b0789497_rle_crop_3669757116_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/dadc74588a03e663872d3d134fc88381_67083781.png imagette204393141739335540 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20439280 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20439324,20439325,20439326,20439327,20439328,20439329,20439330,20439331,20439332,20439333,20439334,20439335?tags=Carton_gris,Carton_brun,Teint_Dans_La_Masse,kraft,environnement,mal_croppe,cartonnette,papier,autre_refus,metal,flou,plastique your option no_mail is active, we will not send the real mail to your client args[1336782129] : ('0.0608029355690539',) no score found for photo 1336782129 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336782026] : ('0.0608029355690539',) no score found for photo 1336782026 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336781965] : ('0.0608029355690539',) no score found for photo 1336781965 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336781960] : ('0.0608029355690539',) no score found for photo 1336781960 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336781471] : ('0.0608029355690539',) no score found for photo 1336781471 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336780895] : ('0.0608029355690539',) no score found for photo 1336780895 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336780892] : ('0.0608029355690539',) no score found for photo 1336780892 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336780890] : ('0.0608029355690539',) no score found for photo 1336780890 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336780889] : ('0.0608029355690539',) no score found for photo 1336780889 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779693] : ('0.0608029355690539',) no score found for photo 1336779693 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779665] : ('0.0608029355690539',) no score found for photo 1336779665 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779602] : ('0.0608029355690539',) no score found for photo 1336779602 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779499] : ('0.0608029355690539',) no score found for photo 1336779499 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779490] : ('0.0608029355690539',) no score found for photo 1336779490 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779487] : ('0.0608029355690539',) no score found for photo 1336779487 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779483] : ('0.0608029355690539',) no score found for photo 1336779483 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779482] : ('0.0608029355690539',) no score found for photo 1336779482 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779449] : ('0.0608029355690539',) no score found for photo 1336779449 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779443] : ('0.0608029355690539',) no score found for photo 1336779443 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779431] : ('0.0608029355690539',) no score found for photo 1336779431 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779428] : ('0.0608029355690539',) no score found for photo 1336779428 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779426] : ('0.0608029355690539',) no score found for photo 1336779426 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779418] : ('0.0608029355690539',) no score found for photo 1336779418 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779212] : ('0.0608029355690539',) no score found for photo 1336779212 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779210] : ('0.0608029355690539',) no score found for photo 1336779210 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779207] : ('0.0608029355690539',) no score found for photo 1336779207 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779205] : ('0.0608029355690539',) no score found for photo 1336779205 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779169] : ('0.0608029355690539',) no score found for photo 1336779169 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779165] : ('0.0608029355690539',) no score found for photo 1336779165 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779164] : ('0.0608029355690539',) no score found for photo 1336779164 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779163] : ('0.0608029355690539',) no score found for photo 1336779163 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336779161] : ('0.0608029355690539',) no score found for photo 1336779161 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336778994] : ('0.0608029355690539',) no score found for photo 1336778994 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336778992] : ('0.0608029355690539',) no score found for photo 1336778992 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336778990] : ('0.0608029355690539',) no score found for photo 1336778990 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336778987] : ('0.0608029355690539',) no score found for photo 1336778987 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336778983] : ('0.0608029355690539',) no score found for photo 1336778983 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336778683] : ('0.0608029355690539',) no score found for photo 1336778683 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com args[1336778678] : ('0.0608029355690539',) no score found for photo 1336778678 apple ('0.0608029355690539',) We are sending mail with results at report@fotonower.com refus_total : 0.0608029355690539 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=20439280 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_P20439280_12-02-2025_05_45_33.pdf results_Auto_P20439280_12-02-2025_05_45_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20439280_12-02-2025_05_45_33.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','20439280','results_Auto_P20439280_12-02-2025_05_45_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20439280_12-02-2025_05_45_33.pdf','pdf','','0.45','0.0608029355690539') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20439280]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] map_info['map_portfolio_photo'] : {20439280: [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678]} final : False mtd_id 4302 list_pids : [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] 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, '2578441') ('4302', '20439280', '1336782129', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336782026', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781965', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781960', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781471', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780895', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780892', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780890', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780889', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779693', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779665', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779602', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779499', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779490', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779487', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779483', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779482', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779449', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779443', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779431', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779428', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779426', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779418', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779212', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779210', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779207', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779205', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779169', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779165', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779164', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779163', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779161', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778994', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778992', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778990', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778987', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778983', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778683', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778678', None, None, None, None, None, '2578441') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20439280', '1336782129', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336782026', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781965', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781960', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781471', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780895', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780892', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780890', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780889', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779693', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779665', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779602', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779499', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779490', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779487', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779483', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779482', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779449', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779443', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779431', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779428', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779426', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779418', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779212', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779210', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779207', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779205', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779169', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779165', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779164', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779163', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779161', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778994', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778992', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778990', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778987', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778983', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778683', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778678', None, None, None, None, None, '2578441')] time used for this insertion : 0.22371482849121094 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.418932676315308 time spend to save output : 0.22400450706481934 total time spend for step 4 : 12.642937183380127 step5:split_time_score Wed Feb 12 05:45:44 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 : ['20439280'] 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 : [('20439280',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20439280) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1336780892: {'path': 'temp/1739335532_1911049_1336780892_9bc069fd40153e851a699c31ac38c0da.jpg', 'extension': 'jpg'}, 1336780895: {'path': 'temp/1739335532_1911049_1336780895_f860a1db6a7665d635b2e014e409b369.jpg', 'extension': 'jpg'}, 1336781471: {'path': 'temp/1739335532_1911049_1336781471_76307b5c828f6621df68b8560abfd8be.jpg', 'extension': 'jpg'}, 1336781960: {'path': 'temp/1739335532_1911049_1336781960_4130a97d852c44b61ee9a07594ce1b33.jpg', 'extension': 'jpg'}, 1336781965: {'path': 'temp/1739335532_1911049_1336781965_22437bd182e7703bba5b790d95ac6503.jpg', 'extension': 'jpg'}, 1336782026: {'path': 'temp/1739335532_1911049_1336782026_2d7c2bb1079eee6209c210e889ad7a9b.jpg', 'extension': 'jpg'}, 1336782129: {'path': 'temp/1739335532_1911049_1336782129_dc7b473e32cedd9e182cdd9d7a2a3298.jpg', 'extension': 'jpg'}, 1336779487: {'path': 'temp/1739335532_1911049_1336779487_8c76c4ff21eb61126b7baba2b0789497.jpg', 'extension': 'jpg'}, 1336779490: {'path': 'temp/1739335532_1911049_1336779490_ff8e760eeb35260cac0456519deef79c.jpg', 'extension': 'jpg'}, 1336779499: {'path': 'temp/1739335532_1911049_1336779499_b7eee93f4c68d22240ae57f2a3100aa8.jpg', 'extension': 'jpg'}, 1336779602: {'path': 'temp/1739335532_1911049_1336779602_a2a13f1632062c50276834e064a06e85.jpg', 'extension': 'jpg'}, 1336779665: {'path': 'temp/1739335532_1911049_1336779665_535bf2cc2d9ab02d66f1235d4c3e5e39.jpg', 'extension': 'jpg'}, 1336779693: {'path': 'temp/1739335532_1911049_1336779693_1b169d8126df700ca06e4ac185921868.jpg', 'extension': 'jpg'}, 1336780889: {'path': 'temp/1739335532_1911049_1336780889_a23200a4d78a6870e4d6187dae8010ad.jpg', 'extension': 'jpg'}, 1336780890: {'path': 'temp/1739335532_1911049_1336780890_8b8bb18700041831a90dc54353721ceb.jpg', 'extension': 'jpg'}, 1336779418: {'path': 'temp/1739335532_1911049_1336779418_3a768728d468119677f11f40a206ef50.jpg', 'extension': 'jpg'}, 1336779426: {'path': 'temp/1739335532_1911049_1336779426_a7f060e4851ebdfb5f8ca0ea080076b5.jpg', 'extension': 'jpg'}, 1336779428: {'path': 'temp/1739335532_1911049_1336779428_399084c427c7dc1f8ecde5f1d40e27cb.jpg', 'extension': 'jpg'}, 1336779431: {'path': 'temp/1739335532_1911049_1336779431_59932cbc4b58bce2a0b449dc54bab406.jpg', 'extension': 'jpg'}, 1336779443: {'path': 'temp/1739335532_1911049_1336779443_601a26bdbba211e18bc90fd14412d744.jpg', 'extension': 'jpg'}, 1336779449: {'path': 'temp/1739335532_1911049_1336779449_aaab14ebdc48825598824ee786093a6c.jpg', 'extension': 'jpg'}, 1336779482: {'path': 'temp/1739335532_1911049_1336779482_ec9a0ee784462226e2c3ba03450db61d.jpg', 'extension': 'jpg'}, 1336779483: {'path': 'temp/1739335532_1911049_1336779483_0dd2d2fe3133d4dc52a97a372018de3f.jpg', 'extension': 'jpg'}, 1336779163: {'path': 'temp/1739335532_1911049_1336779163_ff5743ae1410f1b2aa9264dd021fda5f.jpg', 'extension': 'jpg'}, 1336779164: {'path': 'temp/1739335532_1911049_1336779164_29e2dd14a5b360e7d55d385b3925c7ca.jpg', 'extension': 'jpg'}, 1336779165: {'path': 'temp/1739335532_1911049_1336779165_72e8ff5657f92729de7fa62748762afd.jpg', 'extension': 'jpg'}, 1336779169: {'path': 'temp/1739335532_1911049_1336779169_4a4cc01a7ea5c050554785ef31cdb8c9.jpg', 'extension': 'jpg'}, 1336779205: {'path': 'temp/1739335532_1911049_1336779205_1ad384ea9b4ae0ec0faea33072e14fda.jpg', 'extension': 'jpg'}, 1336779207: {'path': 'temp/1739335532_1911049_1336779207_355d51e5d2a9294d24b3eb165df4531d.jpg', 'extension': 'jpg'}, 1336779210: {'path': 'temp/1739335532_1911049_1336779210_943bcf14af7a10009d3e3717992cd011.jpg', 'extension': 'jpg'}, 1336779212: {'path': 'temp/1739335532_1911049_1336779212_eea98c463465214928f3b66045db0e79.jpg', 'extension': 'jpg'}, 1336778678: {'path': 'temp/1739335532_1911049_1336778678_1841d37a1ef74dc1fbd858473a6e8691.jpg', 'extension': 'jpg'}, 1336778683: {'path': 'temp/1739335532_1911049_1336778683_dcdbfd4a7532f59c16da396d9969d1aa.jpg', 'extension': 'jpg'}, 1336778983: {'path': 'temp/1739335532_1911049_1336778983_6ace3d7a3dce776917611328198c3782.jpg', 'extension': 'jpg'}, 1336778987: {'path': 'temp/1739335532_1911049_1336778987_6615f6d64767b9832d47919dd4c9bb0c.jpg', 'extension': 'jpg'}, 1336778990: {'path': 'temp/1739335532_1911049_1336778990_a24f21498e09d132fc88a5f3b5bf0728.jpg', 'extension': 'jpg'}, 1336778992: {'path': 'temp/1739335532_1911049_1336778992_9e67741dc398d56bf0bc6474955bc8ce.jpg', 'extension': 'jpg'}, 1336778994: {'path': 'temp/1739335532_1911049_1336778994_f17307d6a0c547aac78fc34163a6f3cc.jpg', 'extension': 'jpg'}, 1336779161: {'path': 'temp/1739335532_1911049_1336779161_1fecb9282bdb0aa9ac9366e38ac333a3.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 = 20439280; (('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 = 20439280 group by h (('10', 39),) 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=20439280 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 (20439280) 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 (20439280) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11022025 20439280 Nombre de photos uploadées : 39 / 23040 (0%) 11022025 20439280 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 11022025 20439280 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1336778683, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/dcdbfd4a7532f59c16da396d9969d1aa.jpg', 'username': None, 'uploaded_at': 1739266267, 'text': 'image_11022025_10_30_03_010156m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1336778678, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/1841d37a1ef74dc1fbd858473a6e8691.jpg', 'username': None, 'uploaded_at': 1739266267, 'text': 'image_11022025_10_30_44_010133m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1336778994, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/f17307d6a0c547aac78fc34163a6f3cc.jpg', 'username': None, 'uploaded_at': 1739266327, 'text': 'image_11022025_10_30_54_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1336778992, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/11/9e67741dc398d56bf0bc6474955bc8ce.jpg', 'username': None, 'uploaded_at': 1739266327, 'text': 'image_11022025_10_31_03_009137m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019099712371826172 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20439280, '2025-02-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1593540,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03503847122192383 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= 1593540 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20465652, 'dashboard_result_id': 8834119, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20465652_12-02-2025_05_34_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20465653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20465654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20465655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20465656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20465657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20465658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20465659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20465660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20465661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20465662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20465663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20465664, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20426296, 'dashboard_result_id': 8834120, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20426296_12-02-2025_05_35_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20426315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20426316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20426317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20426318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20426319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20426320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20426321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20426322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20426323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20426324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20426325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20426326, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20427074, 'dashboard_result_id': 8834121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427074_12-02-2025_05_36_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20427084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427087, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20427318, 'dashboard_result_id': 8834122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427318_12-02-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20427367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427378, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20427729, 'dashboard_result_id': 8834123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427729_12-02-2025_05_37_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20427760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427768, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20428328, 'dashboard_result_id': 8834124, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428328_12-02-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20428331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20428332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20428333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20428334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20428335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20428336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20428337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20428338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20428339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20428340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20428341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20428342, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20428718, 'dashboard_result_id': 8834125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428718_12-02-2025_05_38_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20428776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20428777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20428778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20428779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20428781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20428782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20428783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20428784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20428785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20428787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20428788, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20429498, 'dashboard_result_id': 8834126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429498_12-02-2025_05_38_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20429502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20429503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20429504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20429505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20429506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20429507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20429508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20429509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20429510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20429511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20429512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20429513, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20429892, 'dashboard_result_id': 8834127, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429892_12-02-2025_05_39_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20429946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20429947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20429948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20429949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20429950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20429951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20429952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20429953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20429954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20429955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20429956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20429957, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20430559, 'dashboard_result_id': 8834128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20430559_12-02-2025_05_39_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20430562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20430563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20430564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20430565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20430566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20430567, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20430568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20430569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20430570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20430571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20430572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20430573, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20431102, 'dashboard_result_id': 8834129, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431102_12-02-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20431160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20431161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20431162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20431163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20431164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20431165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20431166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20431167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20431168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20431169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20431170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20431171, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20431572, 'dashboard_result_id': 8834130, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431572_12-02-2025_05_40_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20431580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20431581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20431582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20431583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20431584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20431585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20431586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20431587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20431588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20431589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20431590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20431591, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20432490, 'dashboard_result_id': 8834131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20432490_12-02-2025_05_41_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20432561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20432562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20432563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20432564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20432565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20432566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20432567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20432568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20432569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20432570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20432571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20432572, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20433352, 'dashboard_result_id': 8834132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433352_12-02-2025_05_41_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20433378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20433379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20433380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20433381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20433382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20433383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20433384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20433385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20433386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20433387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20433388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20433389, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20433719, 'dashboard_result_id': 8834133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433719_12-02-2025_05_41_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20433748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20433749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20433750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20433751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20433752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20433753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20433754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20433755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20433756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20433757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20433758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20433759, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20434269, 'dashboard_result_id': 8834134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434269_12-02-2025_05_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20434322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20434323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20434324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20434325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20434326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20434327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20434328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20434329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20434330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20434331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20434332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20434333, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20434953, 'dashboard_result_id': 8834135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434953_12-02-2025_05_42_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20434960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20434961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20434962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20434963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20434964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20434965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20434966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20434967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20434968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20434969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20434970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20434971, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20435597, 'dashboard_result_id': 8834136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20435597_12-02-2025_05_43_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20435629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20435630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20435631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20435632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20435633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20435634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20435635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20435636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20435637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20435638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20435639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20435640, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20436966, 'dashboard_result_id': 8834137, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20436966_12-02-2025_05_43_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20436974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20436975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20436976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20436977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20436978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20436979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20436980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20436981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20436982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20436983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20436984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20436985, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20437526, 'dashboard_result_id': 8834138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20437526_12-02-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20437558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20437559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20437560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20437561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20437562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20437563, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20437564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20437565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20437566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20437567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20437568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20437569, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20438188, 'dashboard_result_id': 8834139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438188_12-02-2025_05_44_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20438194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20438195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20438196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20438197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20438198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20438199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20438200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20438201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20438202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20438203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20438204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20438205, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20438640, 'dashboard_result_id': 8834140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438640_12-02-2025_05_45_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20438686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20438687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20438688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20438689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20438690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20438691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20438692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20438693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20438694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20438695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20438696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20438697, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20439280, 'dashboard_result_id': 8834141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20439280_11-02-2025_10_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20439312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20439313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20439314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20439315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20439316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20439317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20439318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20439319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20439320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20439321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20439322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20439323, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20440252, 'dashboard_result_id': 8834142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440252_11-02-2025_11_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20440254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20440255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20440256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20440257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20440258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20440259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20440260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20440261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20440262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20440263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20440264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20440265, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20440598, 'dashboard_result_id': 8834143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440598_11-02-2025_11_16_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20440605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20440606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20440607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20440608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20440609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20440610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20440611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20440612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20440613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20440614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20440615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20440616, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20441089, 'dashboard_result_id': 8834144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20441089_11-02-2025_11_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20441120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20441121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20441122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20441123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20441124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20441125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20441126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20441127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20441128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20441129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20441130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20441131, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20442024, 'dashboard_result_id': 8834145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442024_11-02-2025_11_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20442051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442060, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20442566, 'dashboard_result_id': 8834146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442566_11-02-2025_12_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20442569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442580, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20442935, 'dashboard_result_id': 8834147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442935_12-02-2025_02_09_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20442947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442954, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20444624, 'dashboard_result_id': 8834148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20444624_11-02-2025_14_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20444626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20444627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20444628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20444629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20444630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20444631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20444632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20444633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20444634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20444635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20444636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20444637, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20445086, 'dashboard_result_id': 8834149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445086_11-02-2025_14_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445102, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20445427, 'dashboard_result_id': 8834150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445427_11-02-2025_14_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445477, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20445956, 'dashboard_result_id': 8834151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445956_11-02-2025_14_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445974, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20446760, 'dashboard_result_id': 8834152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20446760_11-02-2025_15_08_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20446767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20446768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20446769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20446770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20446771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20446772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20446773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20446774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20446775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20446776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20446777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20446778, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20447544, 'dashboard_result_id': 8834153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447544_11-02-2025_15_17_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20447550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20447551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20447552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20447553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20447554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20447555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20447556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20447557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20447558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20447559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20447560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20447561, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20447901, 'dashboard_result_id': 8834154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447901_11-02-2025_15_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20447918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20447919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20447920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20447921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20447922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20447923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20447924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20447925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20447926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20447927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20447928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20447929, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20448175, 'dashboard_result_id': 8834155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448175_11-02-2025_15_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20448180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20448181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20448182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20448183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20448184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20448185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20448186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20448187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20448188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20448189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20448190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20448191, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20448627, 'dashboard_result_id': 8834156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448627_11-02-2025_16_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20448683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20448684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20448685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20448686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20448687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20448688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20448689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20448690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20448691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20448692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20448693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20448694, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20449327, 'dashboard_result_id': 8834157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449327_11-02-2025_16_20_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20449329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20449330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20449331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20449332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20449333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20449334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20449335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20449336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20449337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20449338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20449339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20449340, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20449835, 'dashboard_result_id': 8834158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449835_11-02-2025_16_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20449839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20449840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20449841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20449842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20449843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20449844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20449845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20449846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20449847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20449848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20449849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20449850, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20450377, 'dashboard_result_id': 8834159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20450377_11-02-2025_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20450430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20450431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20450432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20450433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20450434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20450435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20450436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20450437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20450438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20450439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20450440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20450441, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20451176, 'dashboard_result_id': 8834160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451176_11-02-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20451208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20451209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20451210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20451211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20451212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20451213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20451214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20451215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20451216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20451217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20451218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20451219, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20451822, 'dashboard_result_id': 8834161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451822_11-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20451853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20451854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20451855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20451856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20451857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20451858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20451859, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20451860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20451861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20451862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20451863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20451864, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20452637, 'dashboard_result_id': 8834162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20452637_11-02-2025_17_25_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20452760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20452761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20452762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20452763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20452764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20452765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20452766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20452767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20452768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20452769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20452770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20452771, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20454440, 'dashboard_result_id': 8834163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454440_11-02-2025_18_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20454444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20454445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20454446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20454447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20454448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20454449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20454450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20454451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20454452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20454453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20454454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20454455, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20454659, 'dashboard_result_id': 8834164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454659_11-02-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20454665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20454666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20454667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20454668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20454669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20454670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20454671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20454672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20454673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20454674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20454675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20454676, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20455253, 'dashboard_result_id': 8834165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20455253_11-02-2025_18_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20455320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20455321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20455322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20455323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20455324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20455325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20455326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20455327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20455328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20455329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20455330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20455331, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20456104, 'dashboard_result_id': 8834166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456104_11-02-2025_19_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20456106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20456107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20456108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20456109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20456110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20456111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20456112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20456113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20456114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20456115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20456116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20456117, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20456509, 'dashboard_result_id': 8834167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456509_11-02-2025_19_18_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20456532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20456533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20456534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20456535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20456536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20456537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20456538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20456539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20456540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20456541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20456542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20456543, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20457065, 'dashboard_result_id': 8834168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20457065_11-02-2025_19_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20457114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20457115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20457116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20457117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20457118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20457119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20457120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20457121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20457122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20457123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20457124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20457125, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20458058, 'dashboard_result_id': 8834169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458058_11-02-2025_19_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20458088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20458089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20458090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20458091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20458092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20458093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20458094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20458095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20458096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20458097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20458098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20458099, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20458653, 'dashboard_result_id': 8834170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458653_11-02-2025_20_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20458723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20458724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20458725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20458726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20458727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20458728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20458729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20458730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20458731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20458732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20458733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20458734, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20459213, 'dashboard_result_id': 8834171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459213_11-02-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20459220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20459221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20459222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20459223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20459224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20459225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20459226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20459227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20459228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20459229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20459230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20459231, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20459719, 'dashboard_result_id': 8834172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459719_11-02-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20459812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20459813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20459814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20459815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20459816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20459817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20459818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20459819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20459820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20459821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20459822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20459823, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20460565, 'dashboard_result_id': 8834173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20460565_11-02-2025_21_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20460597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20460598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20460599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20460600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20460601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20460602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20460603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20460604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20460605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20460606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20460607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20460608, 'pht': 3726}}"}, {'dashboat_entry_day': 1593540, 'dashboard_run_id': 1604504, 'mtr_portfolio_id': 20461879, 'dashboard_result_id': 8834174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461879_11-02-2025_21_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20461953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20461954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20461955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20461956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20461957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20461958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20461959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20461960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20461961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20461962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20461963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20461964, '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 = 20465652 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578419, 'mtr_portfolio_id': 20465652, 'created_at': datetime.datetime(2025, 2, 12, 5, 34, 58), 'result': '0.07717115056285011', 'result_long': None, 'result_double': None}] Qualite : 0.07717115056285011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20465652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20465652_12-02-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20465652 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20465652_12-02-2025_05_34_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20465653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20465654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20465655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20465656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20465657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20465658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20465659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20465660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20465661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20465662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20465663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20465664, 'pht': 3726}}" where mtr_portfolio_id = 20465652 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20465652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834119, 0.07717115056285011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20465652_12-02-2025_05_34_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20465653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20465654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20465655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20465656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20465657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20465658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20465659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20465660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20465661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20465662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20465663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20465664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20426296 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578420, 'mtr_portfolio_id': 20426296, 'created_at': datetime.datetime(2025, 2, 12, 5, 35, 30), 'result': '0.2614116584304079', 'result_long': None, 'result_double': None}] Qualite : 0.2614116584304079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20426296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20426296_12-02-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20426296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20426296_12-02-2025_05_35_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20426315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20426316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20426317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20426318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20426319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20426320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20426321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20426322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20426323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20426324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20426325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20426326, 'pht': 3726}}" where mtr_portfolio_id = 20426296 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20426296 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834120, 0.2614116584304079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20426296_12-02-2025_05_35_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20426315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20426316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20426317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20426318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20426319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20426320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20426321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20426322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20426323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20426324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20426325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20426326, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20427074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578421, 'mtr_portfolio_id': 20427074, 'created_at': datetime.datetime(2025, 2, 12, 5, 35, 59), 'result': '0.02269111339324688', 'result_long': None, 'result_double': None}] Qualite : 0.02269111339324688 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20427074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427074_12-02-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20427074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427074_12-02-2025_05_36_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20427084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427087, 'pht': 3726}}" where mtr_portfolio_id = 20427074 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20427074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834121, 0.02269111339324688, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427074_12-02-2025_05_36_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20427084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20427318 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578422, 'mtr_portfolio_id': 20427318, 'created_at': datetime.datetime(2025, 2, 12, 5, 36, 34), 'result': '0.05153608756188404', 'result_long': None, 'result_double': None}] Qualite : 0.05153608756188404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20427318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427318_12-02-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20427318 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427318_12-02-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20427367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427378, 'pht': 3726}}" where mtr_portfolio_id = 20427318 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20427318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834122, 0.05153608756188404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427318_12-02-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20427367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427378, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20427729 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578423, 'mtr_portfolio_id': 20427729, 'created_at': datetime.datetime(2025, 2, 12, 5, 37, 4), 'result': '0.05504807852342538', 'result_long': None, 'result_double': None}] Qualite : 0.05504807852342538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20427729 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427729_12-02-2025_05_37_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20427729 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427729_12-02-2025_05_37_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20427760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427768, 'pht': 3726}}" where mtr_portfolio_id = 20427729 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20427729 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834123, 0.05504807852342538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20427729_12-02-2025_05_37_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20427757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20427758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20427759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20427760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20427761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20427762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20427763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20427764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20427765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20427766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20427767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20427768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20428328 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578424, 'mtr_portfolio_id': 20428328, 'created_at': datetime.datetime(2025, 2, 12, 5, 37, 30), 'result': '0.05002379289874699', 'result_long': None, 'result_double': None}] Qualite : 0.05002379289874699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20428328 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428328_12-02-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20428328 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428328_12-02-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20428331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20428332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20428333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20428334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20428335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20428336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20428337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20428338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20428339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20428340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20428341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20428342, 'pht': 3726}}" where mtr_portfolio_id = 20428328 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20428328 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834124, 0.05002379289874699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428328_12-02-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20428331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20428332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20428333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20428334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20428335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20428336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20428337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20428338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20428339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20428340, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20428341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20428342, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20428718 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578425, 'mtr_portfolio_id': 20428718, 'created_at': datetime.datetime(2025, 2, 12, 5, 38, 2), 'result': '0.04568893602327295', 'result_long': None, 'result_double': None}] Qualite : 0.04568893602327295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20428718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428718_12-02-2025_05_38_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20428718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428718_12-02-2025_05_38_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20428776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20428777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20428778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20428779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20428781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20428782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20428783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20428784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20428785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20428787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20428788, 'pht': 3726}}" where mtr_portfolio_id = 20428718 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20428718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834125, 0.04568893602327295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20428718_12-02-2025_05_38_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20428776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20428777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20428778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20428779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20428781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20428782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20428783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20428784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20428785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20428787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20428788, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20429498 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578426, 'mtr_portfolio_id': 20429498, 'created_at': datetime.datetime(2025, 2, 12, 5, 38, 31), 'result': '0.042106217134310946', 'result_long': None, 'result_double': None}] Qualite : 0.042106217134310946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20429498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429498_12-02-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20429498 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429498_12-02-2025_05_38_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20429502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20429503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20429504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20429505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20429506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20429507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20429508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20429509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20429510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20429511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20429512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20429513, 'pht': 3726}}" where mtr_portfolio_id = 20429498 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20429498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834126, 0.042106217134310946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429498_12-02-2025_05_38_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20429502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20429503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20429504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20429505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20429506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20429507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20429508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20429509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20429510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20429511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20429512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20429513, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20429892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578427, 'mtr_portfolio_id': 20429892, 'created_at': datetime.datetime(2025, 2, 12, 5, 38, 58), 'result': '0.04882549044837604', 'result_long': None, 'result_double': None}] Qualite : 0.04882549044837604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20429892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429892_12-02-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20429892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429892_12-02-2025_05_39_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20429946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20429947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20429948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20429949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20429950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20429951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20429952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20429953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20429954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20429955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20429956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20429957, 'pht': 3726}}" where mtr_portfolio_id = 20429892 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20429892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834127, 0.04882549044837604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20429892_12-02-2025_05_39_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20429946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20429947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20429948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20429949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20429950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20429951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20429952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20429953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20429954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20429955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20429956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20429957, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20430559 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578428, 'mtr_portfolio_id': 20430559, 'created_at': datetime.datetime(2025, 2, 12, 5, 39, 30), 'result': '0.045047279655006205', 'result_long': None, 'result_double': None}] Qualite : 0.045047279655006205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20430559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20430559_12-02-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20430559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20430559_12-02-2025_05_39_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20430562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20430563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20430564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20430565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20430566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20430567, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20430568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20430569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20430570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20430571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20430572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20430573, 'pht': 3726}}" where mtr_portfolio_id = 20430559 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20430559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834128, 0.045047279655006205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20430559_12-02-2025_05_39_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20430562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20430563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20430564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20430565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20430566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20430567, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20430568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20430569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20430570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20430571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20430572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20430573, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20431102 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578429, 'mtr_portfolio_id': 20431102, 'created_at': datetime.datetime(2025, 2, 12, 5, 39, 59), 'result': '0.04130492067656413', 'result_long': None, 'result_double': None}] Qualite : 0.04130492067656413 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20431102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431102_12-02-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20431102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431102_12-02-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20431160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20431161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20431162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20431163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20431164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20431165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20431166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20431167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20431168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20431169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20431170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20431171, 'pht': 3726}}" where mtr_portfolio_id = 20431102 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20431102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834129, 0.04130492067656413, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431102_12-02-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20431160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20431161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20431162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20431163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20431164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20431165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20431166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20431167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20431168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20431169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20431170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20431171, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20431572 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578430, 'mtr_portfolio_id': 20431572, 'created_at': datetime.datetime(2025, 2, 12, 5, 40, 28), 'result': '0.040268050595823446', 'result_long': None, 'result_double': None}] Qualite : 0.040268050595823446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20431572 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431572_12-02-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20431572 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431572_12-02-2025_05_40_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20431580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20431581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20431582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20431583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20431584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20431585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20431586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20431587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20431588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20431589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20431590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20431591, 'pht': 3726}}" where mtr_portfolio_id = 20431572 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20431572 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834130, 0.040268050595823446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20431572_12-02-2025_05_40_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20431580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20431581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20431582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20431583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20431584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20431585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20431586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20431587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20431588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20431589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20431590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20431591, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20432490 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578431, 'mtr_portfolio_id': 20432490, 'created_at': datetime.datetime(2025, 2, 12, 5, 40, 59), 'result': '0.039323802432223456', 'result_long': None, 'result_double': None}] Qualite : 0.039323802432223456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20432490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20432490_12-02-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20432490 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20432490_12-02-2025_05_41_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20432561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20432562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20432563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20432564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20432565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20432566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20432567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20432568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20432569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20432570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20432571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20432572, 'pht': 3726}}" where mtr_portfolio_id = 20432490 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20432490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834131, 0.039323802432223456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20432490_12-02-2025_05_41_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20432561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20432562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20432563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20432564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20432565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20432566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20432567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20432568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20432569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20432570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20432571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20432572, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20433352 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578432, 'mtr_portfolio_id': 20433352, 'created_at': datetime.datetime(2025, 2, 12, 5, 41, 2), 'result': '0.057656953178623065', 'result_long': None, 'result_double': None}] Qualite : 0.057656953178623065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20433352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433352_12-02-2025_05_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20433352 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433352_12-02-2025_05_41_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20433378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20433379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20433380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20433381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20433382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20433383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20433384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20433385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20433386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20433387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20433388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20433389, 'pht': 3726}}" where mtr_portfolio_id = 20433352 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20433352 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834132, 0.057656953178623065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433352_12-02-2025_05_41_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20433378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20433379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20433380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20433381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20433382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20433383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20433384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20433385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20433386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20433387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20433388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20433389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20433719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578433, 'mtr_portfolio_id': 20433719, 'created_at': datetime.datetime(2025, 2, 12, 5, 41, 31), 'result': '0.042083810051920405', 'result_long': None, 'result_double': None}] Qualite : 0.042083810051920405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20433719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433719_12-02-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20433719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433719_12-02-2025_05_41_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20433748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20433749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20433750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20433751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20433752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20433753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20433754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20433755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20433756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20433757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20433758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20433759, 'pht': 3726}}" where mtr_portfolio_id = 20433719 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20433719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834133, 0.042083810051920405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20433719_12-02-2025_05_41_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20433748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20433749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20433750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20433751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20433752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20433753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20433754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20433755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20433756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20433757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20433758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20433759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20434269 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578434, 'mtr_portfolio_id': 20434269, 'created_at': datetime.datetime(2025, 2, 12, 5, 41, 58), 'result': '0.02965846686979327', 'result_long': None, 'result_double': None}] Qualite : 0.02965846686979327 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20434269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434269_12-02-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20434269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434269_12-02-2025_05_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20434322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20434323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20434324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20434325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20434326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20434327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20434328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20434329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20434330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20434331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20434332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20434333, 'pht': 3726}}" where mtr_portfolio_id = 20434269 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20434269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834134, 0.02965846686979327, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434269_12-02-2025_05_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20434322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20434323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20434324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20434325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20434326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20434327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20434328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20434329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20434330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20434331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20434332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20434333, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20434953 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578435, 'mtr_portfolio_id': 20434953, 'created_at': datetime.datetime(2025, 2, 12, 5, 42, 32), 'result': '0.03452732642058138', 'result_long': None, 'result_double': None}] Qualite : 0.03452732642058138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20434953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434953_12-02-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20434953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434953_12-02-2025_05_42_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20434960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20434961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20434962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20434963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20434964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20434965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20434966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20434967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20434968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20434969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20434970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20434971, 'pht': 3726}}" where mtr_portfolio_id = 20434953 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20434953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834135, 0.03452732642058138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20434953_12-02-2025_05_42_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20434960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20434961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20434962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20434963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20434964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20434965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20434966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20434967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20434968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20434969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20434970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20434971, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20435597 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578436, 'mtr_portfolio_id': 20435597, 'created_at': datetime.datetime(2025, 2, 12, 5, 43, 3), 'result': '0.04008636960724381', 'result_long': None, 'result_double': None}] Qualite : 0.04008636960724381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20435597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20435597_12-02-2025_05_43_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20435597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20435597_12-02-2025_05_43_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20435629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20435630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20435631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20435632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20435633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20435634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20435635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20435636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20435637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20435638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20435639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20435640, 'pht': 3726}}" where mtr_portfolio_id = 20435597 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20435597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834136, 0.04008636960724381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20435597_12-02-2025_05_43_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20435629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20435630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20435631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20435632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20435633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20435634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20435635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20435636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20435637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20435638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20435639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20435640, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20436966 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578437, 'mtr_portfolio_id': 20436966, 'created_at': datetime.datetime(2025, 2, 12, 5, 43, 29), 'result': '0.04382724612415628', 'result_long': None, 'result_double': None}] Qualite : 0.04382724612415628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20436966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20436966_12-02-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20436966 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20436966_12-02-2025_05_43_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20436974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20436975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20436976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20436977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20436978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20436979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20436980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20436981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20436982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20436983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20436984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20436985, 'pht': 3726}}" where mtr_portfolio_id = 20436966 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20436966 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834137, 0.04382724612415628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20436966_12-02-2025_05_43_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20436974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20436975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20436976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20436977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20436978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20436979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20436980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20436981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20436982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20436983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20436984, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20436985, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20437526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578438, 'mtr_portfolio_id': 20437526, 'created_at': datetime.datetime(2025, 2, 12, 5, 44), 'result': '0.03986978754736811', 'result_long': None, 'result_double': None}] Qualite : 0.03986978754736811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20437526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20437526_12-02-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20437526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20437526_12-02-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20437558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20437559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20437560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20437561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20437562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20437563, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20437564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20437565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20437566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20437567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20437568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20437569, 'pht': 3726}}" where mtr_portfolio_id = 20437526 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20437526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834138, 0.03986978754736811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20437526_12-02-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20437558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20437559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20437560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20437561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20437562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20437563, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20437564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20437565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20437566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20437567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20437568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20437569, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20438188 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578439, 'mtr_portfolio_id': 20438188, 'created_at': datetime.datetime(2025, 2, 12, 5, 44, 29), 'result': '0.04338987850669616', 'result_long': None, 'result_double': None}] Qualite : 0.04338987850669616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20438188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438188_12-02-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20438188 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438188_12-02-2025_05_44_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20438194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20438195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20438196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20438197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20438198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20438199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20438200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20438201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20438202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20438203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20438204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20438205, 'pht': 3726}}" where mtr_portfolio_id = 20438188 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20438188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834139, 0.04338987850669616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438188_12-02-2025_05_44_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20438194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20438195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20438196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20438197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20438198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20438199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20438200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20438201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20438202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20438203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20438204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20438205, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20438640 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578440, 'mtr_portfolio_id': 20438640, 'created_at': datetime.datetime(2025, 2, 12, 5, 45, 1), 'result': '0.05414251916102837', 'result_long': None, 'result_double': None}] Qualite : 0.05414251916102837 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20438640 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438640_12-02-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20438640 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438640_12-02-2025_05_45_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20438686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20438687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20438688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20438689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20438690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20438691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20438692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20438693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20438694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20438695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20438696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20438697, 'pht': 3726}}" where mtr_portfolio_id = 20438640 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20438640 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834140, 0.05414251916102837, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20438640_12-02-2025_05_45_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20438686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20438687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20438688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20438689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20438690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20438691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20438692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20438693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20438694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20438695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20438696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20438697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20439280 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2578441, 'mtr_portfolio_id': 20439280, 'created_at': datetime.datetime(2025, 2, 12, 5, 45, 31), 'result': '0.0608029355690539', 'result_long': None, 'result_double': None}] Qualite : 0.0608029355690539 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20439280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20439280_12-02-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20439280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20439280_12-02-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20439312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20439313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20439314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20439315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20439316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20439317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20439318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20439319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20439320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20439321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20439322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20439323, 'pht': 3726}}" where mtr_portfolio_id = 20439280 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20439280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834141, 0.0608029355690539, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20439280_12-02-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20439312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20439313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20439314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20439315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20439316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20439317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20439318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20439319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20439320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20439321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20439322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20439323, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20440252 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2575817, 'mtr_portfolio_id': 20440252, 'created_at': datetime.datetime(2025, 2, 11, 11, 2, 57), 'result': '0.04271778023215175', 'result_long': None, 'result_double': None}] Qualite : 0.04271778023215175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20440252 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440252_11-02-2025_11_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20440252 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440252_11-02-2025_11_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20440254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20440255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20440256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20440257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20440258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20440259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20440260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20440261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20440262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20440263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20440264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20440265, 'pht': 3726}}" where mtr_portfolio_id = 20440252 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20440252 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834142, 0.04271778023215175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440252_11-02-2025_11_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20440254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20440255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20440256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20440257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20440258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20440259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20440260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20440261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20440262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20440263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20440264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20440265, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20440598 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2575860, 'mtr_portfolio_id': 20440598, 'created_at': datetime.datetime(2025, 2, 11, 11, 16, 28), 'result': '0.046692216050823264', 'result_long': None, 'result_double': None}] Qualite : 0.046692216050823264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20440598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440598_11-02-2025_11_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20440598 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440598_11-02-2025_11_16_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20440605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20440606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20440607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20440608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20440609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20440610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20440611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20440612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20440613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20440614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20440615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20440616, 'pht': 3726}}" where mtr_portfolio_id = 20440598 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20440598 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834143, 0.046692216050823264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20440598_11-02-2025_11_16_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20440605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20440606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20440607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20440608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20440609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20440610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20440611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20440612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20440613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20440614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20440615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20440616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20441089 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2575922, 'mtr_portfolio_id': 20441089, 'created_at': datetime.datetime(2025, 2, 11, 11, 33, 1), 'result': '0.03391815450464705', 'result_long': None, 'result_double': None}] Qualite : 0.03391815450464705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20441089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20441089_11-02-2025_11_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20441089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20441089_11-02-2025_11_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20441120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20441121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20441122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20441123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20441124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20441125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20441126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20441127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20441128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20441129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20441130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20441131, 'pht': 3726}}" where mtr_portfolio_id = 20441089 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20441089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834144, 0.03391815450464705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20441089_11-02-2025_11_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20441120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20441121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20441122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20441123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20441124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20441125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20441126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20441127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20441128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20441129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20441130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20441131, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20442024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576011, 'mtr_portfolio_id': 20442024, 'created_at': datetime.datetime(2025, 2, 11, 11, 49), 'result': '0.04272643267552371', 'result_long': None, 'result_double': None}] Qualite : 0.04272643267552371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20442024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442024_11-02-2025_11_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20442024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442024_11-02-2025_11_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20442051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442060, 'pht': 3726}}" where mtr_portfolio_id = 20442024 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20442024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834145, 0.04272643267552371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442024_11-02-2025_11_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20442051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442060, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20442566 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576047, 'mtr_portfolio_id': 20442566, 'created_at': datetime.datetime(2025, 2, 11, 12, 2, 58), 'result': '0.04638577998370643', 'result_long': None, 'result_double': None}] Qualite : 0.04638577998370643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20442566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442566_11-02-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20442566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442566_11-02-2025_12_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20442569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442580, 'pht': 3726}}" where mtr_portfolio_id = 20442566 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20442566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834146, 0.04638577998370643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442566_11-02-2025_12_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20442569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20442935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576087, 'mtr_portfolio_id': 20442935, 'created_at': datetime.datetime(2025, 2, 12, 2, 9, 33), 'result': '0.03752438080958495', 'result_long': None, 'result_double': None}] Qualite : 0.03752438080958495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20442935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442935_12-02-2025_02_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20442935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442935_12-02-2025_02_09_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20442947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442954, 'pht': 3726}}" where mtr_portfolio_id = 20442935 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20442935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834147, 0.03752438080958495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20442935_12-02-2025_02_09_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20442943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20442944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20442945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20442946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20442947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20442948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20442949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20442950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20442951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20442952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20442953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20442954, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20444624 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576305, 'mtr_portfolio_id': 20444624, 'created_at': datetime.datetime(2025, 2, 11, 14, 5), 'result': '0.041731256614495484', 'result_long': None, 'result_double': None}] Qualite : 0.041731256614495484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20444624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20444624_11-02-2025_14_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20444624 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20444624_11-02-2025_14_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20444626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20444627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20444628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20444629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20444630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20444631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20444632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20444633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20444634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20444635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20444636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20444637, 'pht': 3726}}" where mtr_portfolio_id = 20444624 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20444624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834148, 0.041731256614495484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20444624_11-02-2025_14_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20444626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20444627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20444628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20444629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20444630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20444631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20444632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20444633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20444634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20444635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20444636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20444637, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20445086 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576339, 'mtr_portfolio_id': 20445086, 'created_at': datetime.datetime(2025, 2, 11, 14, 18, 57), 'result': '0.04085076539270608', 'result_long': None, 'result_double': None}] Qualite : 0.04085076539270608 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20445086 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445086_11-02-2025_14_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20445086 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445086_11-02-2025_14_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445102, 'pht': 3726}}" where mtr_portfolio_id = 20445086 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20445086 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834149, 0.04085076539270608, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445086_11-02-2025_14_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445102, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20445427 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576366, 'mtr_portfolio_id': 20445427, 'created_at': datetime.datetime(2025, 2, 11, 14, 32, 58), 'result': '0.05450807037980681', 'result_long': None, 'result_double': None}] Qualite : 0.05450807037980681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20445427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445427_11-02-2025_14_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20445427 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445427_11-02-2025_14_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445477, 'pht': 3726}}" where mtr_portfolio_id = 20445427 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20445427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834150, 0.05450807037980681, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445427_11-02-2025_14_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445477, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20445956 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576410, 'mtr_portfolio_id': 20445956, 'created_at': datetime.datetime(2025, 2, 11, 14, 46, 58), 'result': '0.05104732242789983', 'result_long': None, 'result_double': None}] Qualite : 0.05104732242789983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20445956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445956_11-02-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20445956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445956_11-02-2025_14_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445974, 'pht': 3726}}" where mtr_portfolio_id = 20445956 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20445956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834151, 0.05104732242789983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20445956_11-02-2025_14_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20445963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20445964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20445965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20445966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20445967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20445968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20445969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20445970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20445971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20445972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20445973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20445974, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20446760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576470, 'mtr_portfolio_id': 20446760, 'created_at': datetime.datetime(2025, 2, 11, 15, 8, 30), 'result': '0.04058344874729765', 'result_long': None, 'result_double': None}] Qualite : 0.04058344874729765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20446760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20446760_11-02-2025_15_08_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20446760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20446760_11-02-2025_15_08_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20446767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20446768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20446769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20446770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20446771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20446772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20446773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20446774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20446775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20446776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20446777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20446778, 'pht': 3726}}" where mtr_portfolio_id = 20446760 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20446760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834152, 0.04058344874729765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20446760_11-02-2025_15_08_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20446767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20446768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20446769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20446770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20446771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20446772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20446773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20446774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20446775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20446776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20446777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20446778, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20447544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576537, 'mtr_portfolio_id': 20447544, 'created_at': datetime.datetime(2025, 2, 11, 15, 17, 28), 'result': '0.01399876051962917', 'result_long': None, 'result_double': None}] Qualite : 0.01399876051962917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20447544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447544_11-02-2025_15_17_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20447544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447544_11-02-2025_15_17_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20447550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20447551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20447552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20447553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20447554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20447555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20447556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20447557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20447558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20447559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20447560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20447561, 'pht': 3726}}" where mtr_portfolio_id = 20447544 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20447544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834153, 0.01399876051962917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447544_11-02-2025_15_17_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20447550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20447551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20447552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20447553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20447554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20447555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20447556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20447557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20447558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20447559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20447560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20447561, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20447901 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576562, 'mtr_portfolio_id': 20447901, 'created_at': datetime.datetime(2025, 2, 11, 15, 45, 29), 'result': '0.028563384805666784', 'result_long': None, 'result_double': None}] Qualite : 0.028563384805666784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20447901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447901_11-02-2025_15_45_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20447901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447901_11-02-2025_15_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20447918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20447919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20447920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20447921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20447922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20447923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20447924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20447925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20447926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20447927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20447928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20447929, 'pht': 3726}}" where mtr_portfolio_id = 20447901 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20447901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834154, 0.028563384805666784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20447901_11-02-2025_15_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20447918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20447919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20447920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20447921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20447922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20447923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20447924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20447925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20447926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20447927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20447928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20447929, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20448175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576587, 'mtr_portfolio_id': 20448175, 'created_at': datetime.datetime(2025, 2, 11, 15, 48, 56), 'result': '0.04792960140558074', 'result_long': None, 'result_double': None}] Qualite : 0.04792960140558074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20448175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448175_11-02-2025_15_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20448175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448175_11-02-2025_15_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20448180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20448181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20448182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20448183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20448184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20448185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20448186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20448187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20448188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20448189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20448190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20448191, 'pht': 3726}}" where mtr_portfolio_id = 20448175 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20448175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834155, 0.04792960140558074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448175_11-02-2025_15_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20448180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20448181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20448182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20448183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20448184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20448185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20448186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20448187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20448188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20448189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20448190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20448191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20448627 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576634, 'mtr_portfolio_id': 20448627, 'created_at': datetime.datetime(2025, 2, 11, 16, 2, 58), 'result': '0.04531151838464206', 'result_long': None, 'result_double': None}] Qualite : 0.04531151838464206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20448627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448627_11-02-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20448627 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448627_11-02-2025_16_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20448683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20448684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20448685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20448686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20448687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20448688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20448689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20448690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20448691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20448692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20448693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20448694, 'pht': 3726}}" where mtr_portfolio_id = 20448627 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20448627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834156, 0.04531151838464206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20448627_11-02-2025_16_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20448683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20448684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20448685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20448686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20448687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20448688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20448689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20448690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20448691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20448692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20448693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20448694, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20449327 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576683, 'mtr_portfolio_id': 20449327, 'created_at': datetime.datetime(2025, 2, 11, 16, 20, 58), 'result': '0.04847627611292365', 'result_long': None, 'result_double': None}] Qualite : 0.04847627611292365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20449327 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449327_11-02-2025_16_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20449327 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449327_11-02-2025_16_20_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20449329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20449330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20449331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20449332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20449333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20449334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20449335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20449336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20449337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20449338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20449339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20449340, 'pht': 3726}}" where mtr_portfolio_id = 20449327 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20449327 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834157, 0.04847627611292365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449327_11-02-2025_16_20_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20449329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20449330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20449331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20449332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20449333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20449334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20449335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20449336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20449337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20449338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20449339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20449340, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20449835 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576719, 'mtr_portfolio_id': 20449835, 'created_at': datetime.datetime(2025, 2, 11, 16, 33), 'result': '0.0489432600348603', 'result_long': None, 'result_double': None}] Qualite : 0.0489432600348603 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20449835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449835_11-02-2025_16_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20449835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449835_11-02-2025_16_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20449839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20449840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20449841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20449842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20449843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20449844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20449845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20449846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20449847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20449848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20449849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20449850, 'pht': 3726}}" where mtr_portfolio_id = 20449835 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20449835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834158, 0.0489432600348603, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20449835_11-02-2025_16_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20449839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20449840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20449841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20449842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20449843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20449844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20449845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20449846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20449847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20449848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20449849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20449850, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20450377 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576775, 'mtr_portfolio_id': 20450377, 'created_at': datetime.datetime(2025, 2, 11, 16, 46, 59), 'result': '0.04188931377183717', 'result_long': None, 'result_double': None}] Qualite : 0.04188931377183717 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20450377 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20450377_11-02-2025_16_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20450377 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20450377_11-02-2025_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20450430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20450431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20450432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20450433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20450434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20450435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20450436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20450437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20450438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20450439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20450440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20450441, 'pht': 3726}}" where mtr_portfolio_id = 20450377 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20450377 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834159, 0.04188931377183717, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20450377_11-02-2025_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20450430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20450431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20450432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20450433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20450434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20450435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20450436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20450437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20450438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20450439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20450440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20450441, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20451176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576837, 'mtr_portfolio_id': 20451176, 'created_at': datetime.datetime(2025, 2, 11, 17, 2, 56), 'result': '0.041651306145888384', 'result_long': None, 'result_double': None}] Qualite : 0.041651306145888384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20451176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451176_11-02-2025_17_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20451176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451176_11-02-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20451208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20451209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20451210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20451211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20451212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20451213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20451214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20451215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20451216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20451217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20451218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20451219, 'pht': 3726}}" where mtr_portfolio_id = 20451176 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20451176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834160, 0.041651306145888384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451176_11-02-2025_17_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20451208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20451209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20451210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20451211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20451212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20451213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20451214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20451215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20451216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20451217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20451218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20451219, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20451822 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576898, 'mtr_portfolio_id': 20451822, 'created_at': datetime.datetime(2025, 2, 11, 17, 18, 58), 'result': '0.04195904118864206', 'result_long': None, 'result_double': None}] Qualite : 0.04195904118864206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20451822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451822_11-02-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20451822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451822_11-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20451853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20451854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20451855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20451856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20451857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20451858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20451859, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20451860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20451861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20451862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20451863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20451864, 'pht': 3726}}" where mtr_portfolio_id = 20451822 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20451822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834161, 0.04195904118864206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20451822_11-02-2025_17_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20451853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20451854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20451855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20451856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20451857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20451858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20451859, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20451860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20451861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20451862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20451863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20451864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20452637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2576950, 'mtr_portfolio_id': 20452637, 'created_at': datetime.datetime(2025, 2, 11, 17, 25), 'result': '0.050784560539385445', 'result_long': None, 'result_double': None}] Qualite : 0.050784560539385445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20452637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20452637_11-02-2025_17_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20452637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20452637_11-02-2025_17_25_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20452760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20452761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20452762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20452763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20452764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20452765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20452766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20452767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20452768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20452769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20452770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20452771, 'pht': 3726}}" where mtr_portfolio_id = 20452637 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20452637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834162, 0.050784560539385445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20452637_11-02-2025_17_25_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20452760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20452761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20452762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20452763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20452764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20452765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20452766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20452767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20452768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20452769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20452770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20452771, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20454440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577076, 'mtr_portfolio_id': 20454440, 'created_at': datetime.datetime(2025, 2, 11, 18, 16, 59), 'result': '0.025259662989294513', 'result_long': None, 'result_double': None}] Qualite : 0.025259662989294513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20454440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454440_11-02-2025_18_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20454440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454440_11-02-2025_18_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20454444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20454445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20454446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20454447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20454448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20454449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20454450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20454451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20454452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20454453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20454454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20454455, 'pht': 3726}}" where mtr_portfolio_id = 20454440 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20454440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834163, 0.025259662989294513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454440_11-02-2025_18_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20454444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20454445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20454446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20454447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20454448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20454449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20454450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20454451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20454452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20454453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20454454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20454455, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20454659 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577092, 'mtr_portfolio_id': 20454659, 'created_at': datetime.datetime(2025, 2, 11, 18, 32, 59), 'result': '0.04700563659956896', 'result_long': None, 'result_double': None}] Qualite : 0.04700563659956896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20454659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454659_11-02-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20454659 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454659_11-02-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20454665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20454666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20454667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20454668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20454669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20454670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20454671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20454672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20454673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20454674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20454675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20454676, 'pht': 3726}}" where mtr_portfolio_id = 20454659 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20454659 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834164, 0.04700563659956896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20454659_11-02-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20454665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20454666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20454667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20454668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20454669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20454670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20454671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20454672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20454673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20454674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20454675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20454676, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20455253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577150, 'mtr_portfolio_id': 20455253, 'created_at': datetime.datetime(2025, 2, 11, 18, 46, 58), 'result': '0.036695581071902315', 'result_long': None, 'result_double': None}] Qualite : 0.036695581071902315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20455253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20455253_11-02-2025_18_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20455253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20455253_11-02-2025_18_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20455320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20455321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20455322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20455323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20455324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20455325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20455326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20455327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20455328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20455329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20455330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20455331, 'pht': 3726}}" where mtr_portfolio_id = 20455253 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20455253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834165, 0.036695581071902315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20455253_11-02-2025_18_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20455320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20455321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20455322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20455323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20455324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20455325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20455326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20455327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20455328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20455329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20455330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20455331, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20456104 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577198, 'mtr_portfolio_id': 20456104, 'created_at': datetime.datetime(2025, 2, 11, 19, 3), 'result': '0.051315534844894366', 'result_long': None, 'result_double': None}] Qualite : 0.051315534844894366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20456104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456104_11-02-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20456104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456104_11-02-2025_19_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20456106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20456107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20456108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20456109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20456110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20456111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20456112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20456113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20456114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20456115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20456116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20456117, 'pht': 3726}}" where mtr_portfolio_id = 20456104 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20456104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834166, 0.051315534844894366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456104_11-02-2025_19_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20456106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20456107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20456108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20456109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20456110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20456111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20456112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20456113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20456114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20456115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20456116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20456117, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20456509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577239, 'mtr_portfolio_id': 20456509, 'created_at': datetime.datetime(2025, 2, 11, 19, 18, 56), 'result': '0.04948644868587224', 'result_long': None, 'result_double': None}] Qualite : 0.04948644868587224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20456509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456509_11-02-2025_19_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20456509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456509_11-02-2025_19_18_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20456532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20456533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20456534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20456535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20456536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20456537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20456538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20456539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20456540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20456541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20456542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20456543, 'pht': 3726}}" where mtr_portfolio_id = 20456509 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20456509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834167, 0.04948644868587224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20456509_11-02-2025_19_18_56.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20456532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20456533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20456534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20456535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20456536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20456537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20456538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20456539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20456540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20456541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20456542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20456543, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20457065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577320, 'mtr_portfolio_id': 20457065, 'created_at': datetime.datetime(2025, 2, 11, 19, 32, 59), 'result': '0.04474138270823142', 'result_long': None, 'result_double': None}] Qualite : 0.04474138270823142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20457065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20457065_11-02-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20457065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20457065_11-02-2025_19_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20457114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20457115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20457116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20457117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20457118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20457119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20457120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20457121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20457122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20457123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20457124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20457125, 'pht': 3726}}" where mtr_portfolio_id = 20457065 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20457065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834168, 0.04474138270823142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20457065_11-02-2025_19_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20457114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20457115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20457116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20457117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20457118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20457119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20457120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20457121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20457122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20457123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20457124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20457125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20458058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577397, 'mtr_portfolio_id': 20458058, 'created_at': datetime.datetime(2025, 2, 11, 19, 49), 'result': '0.050993578559074784', 'result_long': None, 'result_double': None}] Qualite : 0.050993578559074784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20458058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458058_11-02-2025_19_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20458058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458058_11-02-2025_19_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20458088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20458089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20458090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20458091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20458092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20458093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20458094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20458095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20458096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20458097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20458098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20458099, 'pht': 3726}}" where mtr_portfolio_id = 20458058 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20458058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834169, 0.050993578559074784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458058_11-02-2025_19_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20458088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20458089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20458090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20458091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20458092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20458093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20458094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20458095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20458096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20458097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20458098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20458099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20458653 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577444, 'mtr_portfolio_id': 20458653, 'created_at': datetime.datetime(2025, 2, 11, 20, 2, 59), 'result': '0.0337285810261496', 'result_long': None, 'result_double': None}] Qualite : 0.0337285810261496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20458653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458653_11-02-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20458653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458653_11-02-2025_20_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20458723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20458724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20458725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20458726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20458727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20458728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20458729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20458730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20458731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20458732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20458733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20458734, 'pht': 3726}}" where mtr_portfolio_id = 20458653 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20458653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834170, 0.0337285810261496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20458653_11-02-2025_20_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20458723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20458724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20458725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20458726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20458727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20458728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20458729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20458730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20458731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20458732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20458733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20458734, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20459213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577491, 'mtr_portfolio_id': 20459213, 'created_at': datetime.datetime(2025, 2, 11, 20, 19), 'result': '0.03611252098735213', 'result_long': None, 'result_double': None}] Qualite : 0.03611252098735213 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20459213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459213_11-02-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20459213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459213_11-02-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20459220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20459221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20459222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20459223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20459224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20459225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20459226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20459227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20459228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20459229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20459230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20459231, 'pht': 3726}}" where mtr_portfolio_id = 20459213 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20459213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834171, 0.03611252098735213, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459213_11-02-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20459220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20459221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20459222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20459223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20459224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20459225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20459226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20459227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20459228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20459229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20459230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20459231, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20459719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577549, 'mtr_portfolio_id': 20459719, 'created_at': datetime.datetime(2025, 2, 11, 20, 32, 59), 'result': '0.054324736792942134', 'result_long': None, 'result_double': None}] Qualite : 0.054324736792942134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20459719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459719_11-02-2025_20_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20459719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459719_11-02-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20459812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20459813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20459814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20459815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20459816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20459817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20459818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20459819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20459820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20459821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20459822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20459823, 'pht': 3726}}" where mtr_portfolio_id = 20459719 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20459719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834172, 0.054324736792942134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20459719_11-02-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20459812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20459813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20459814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20459815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20459816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20459817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20459818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20459819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20459820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20459821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20459822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20459823, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20460565 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577654, 'mtr_portfolio_id': 20460565, 'created_at': datetime.datetime(2025, 2, 11, 21, 3), 'result': '0.04059826578708426', 'result_long': None, 'result_double': None}] Qualite : 0.04059826578708426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20460565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20460565_11-02-2025_21_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20460565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20460565_11-02-2025_21_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20460597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20460598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20460599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20460600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20460601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20460602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20460603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20460604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20460605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20460606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20460607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20460608, 'pht': 3726}}" where mtr_portfolio_id = 20460565 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20460565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834173, 0.04059826578708426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20460565_11-02-2025_21_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20460597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20460598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20460599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20460600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20460601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20460602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20460603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20460604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20460605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20460606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20460607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20460608, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20461879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2577785, 'mtr_portfolio_id': 20461879, 'created_at': datetime.datetime(2025, 2, 11, 21, 19, 1), 'result': '0.00839304080138889', 'result_long': None, 'result_double': None}] Qualite : 0.00839304080138889 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20461879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461879_11-02-2025_21_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461879_11-02-2025_21_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20461953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20461954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20461955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20461956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20461957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20461958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20461959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20461960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20461961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20461962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20461963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20461964, 'pht': 3726}}" where mtr_portfolio_id = 20461879 and dashboard_run_id = 1604504 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20461879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8834174, 0.00839304080138889, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461879_11-02-2025_21_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20461953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20461954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20461955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20461956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20461957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20461958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20461959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20461960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20461961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20461962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20461963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20461964, '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 (20465652,20426296,20427074,20427318,20427729,20428328,20428718,20429498,20429892,20430559,20431102,20431572,20432490,20433352,20433719,20434269,20434953,20435597,20436966,20437526,20438188,20438640,20439280,20440252,20440598,20441089,20442024,20442566,20442935,20444624,20445086,20445427,20445956,20446760,20447544,20447901,20448175,20448627,20449327,20449835,20450377,20451176,20451822,20452637,20454440,20454659,20455253,20456104,20456509,20457065,20458058,20458653,20459213,20459719,20460565,20461879) result : ((1336683179,), (1336683652,), (1336683655,), (1336683657,), (1336684153,), (1336684158,), (1336684160,), (1336684167,), (1336687043,), (1336698216,), (1336699255,), (1336700160,), (1336700162,), (1336700198,), (1336700998,), (1336701209,), (1336701938,), (1336702004,), (1336703067,), (1336703065,), (1336703323,), (1336703324,), (1336703330,), (1336703351,), (1336703353,), (1336703356,), (1336703359,), (1336703362,), (1336703364,), (1336703376,), (1336705756,), (1336706262,), (1336706301,), (1336706317,), (1336706480,), (1336706534,), (1336706594,), (1336706664,), (1336707123,), (1336707126,), (1336707128,), (1336707130,), (1336707133,), (1336707426,), (1336707466,), (1336707497,), (1336707522,), (1336707524,), (1336707573,), (1336707620,), (1336707627,), (1336707629,), (1336707631,), (1336708287,), (1336708336,), (1336708402,), (1336708440,), (1336708559,), (1336708699,), (1336708703,), (1336708705,), (1336708707,), (1336709153,), (1336709078,), (1336709095,), (1336709098,), (1336709140,), (1336709175,), (1336709180,), (1336709182,), (1336709185,), (1336709197,), (1336709199,), (1336709201,), (1336709203,), (1336709220,), (1336709927,), (1336710007,), (1336710141,), (1336710250,), (1336710755,), (1336710766,), (1336710768,), (1336710841,), (1336710843,), (1336710844,), (1336710846,), (1336710849,), (1336710876,), (1336710879,), (1336710882,), (1336710885,), (1336711021,), (1336711028,), (1336711075,), (1336711077,), (1336711095,), (1336711102,), (1336711106,), (1336711232,), (1336711286,), (1336711355,), (1336711421,), (1336711915,), (1336711918,), (1336711920,), (1336711929,), (1336712248,), (1336712258,), (1336712260,), (1336712308,), (1336712355,), (1336712356,), (1336712444,), (1336712452,), (1336712454,), (1336712472,), (1336712475,), (1336712477,), (1336712479,), (1336712481,), (1336712508,), (1336712496,), (1336712498,), (1336712500,), (1336712502,), (1336712505,), (1336712568,), (1336713295,), (1336713498,), (1336713500,), (1336713502,), (1336713517,), (1336713583,), (1336713655,), (1336713902,), (1336714008,), (1336714185,), (1336714347,), (1336714503,), (1336714676,), (1336715026,), (1336715096,), (1336715176,), (1336715244,), (1336715973,), (1336715975,), (1336715977,), (1336716017,), (1336716109,), (1336716166,), (1336716290,), (1336716292,), (1336716294,), (1336716325,), (1336716418,), (1336716437,), (1336716439,), (1336716441,), (1336716443,), (1336716446,), (1336716750,), (1336716752,), (1336716754,), (1336716755,), (1336716758,), (1336716884,), (1336716886,), (1336716889,), (1336716891,), (1336716894,), (1336716896,), (1336716908,), (1336716910,), (1336717137,), (1336717208,), (1336717271,), (1336717347,), (1336717424,), (1336717672,), (1336717752,), (1336717820,), (1336717895,), (1336717950,), (1336718163,), (1336718152,), (1336718155,), (1336718157,), (1336718159,), (1336718162,), (1336718923,), (1336718985,), (1336719050,), (1336719569,), (1336719606,), (1336719627,), (1336719641,), (1336719644,), (1336719648,), (1336719679,), (1336719682,), (1336719684,), (1336719685,), (1336719688,), (1336720261,), (1336720367,), (1336720379,), (1336720504,), (1336720507,), (1336720508,), (1336720525,), (1336720527,), (1336720529,), (1336720531,), (1336720533,), (1336720536,), (1336720547,), (1336720550,), (1336720552,), (1336720554,), (1336720573,), (1336720575,), (1336720578,), (1336720580,), (1336720845,), (1336721042,), (1336721108,), (1336721567,), (1336721628,), (1336721674,), (1336721677,), (1336721679,), (1336721967,), (1336722013,), (1336722044,), (1336722410,), (1336722479,), (1336722541,), (1336722605,), (1336722820,), (1336722822,), (1336722826,), (1336723214,), (1336723207,), (1336723210,), (1336723238,), (1336723240,), (1336723272,), (1336723277,), (1336723281,), (1336723283,), (1336723285,), (1336723288,), (1336723537,), (1336723555,), (1336723586,), (1336723604,), (1336723655,), (1336723786,), (1336723788,), (1336723790,), (1336723792,), (1336724811,), (1336724847,), (1336725219,), (1336725270,), (1336725272,), (1336725364,), (1336725606,), (1336725664,), (1336725705,), (1336725707,), (1336725711,), (1336725910,), (1336725932,), (1336725961,), (1336726335,), (1336726341,), (1336726344,), (1336726356,), (1336726436,), (1336726439,), (1336726441,), (1336726456,), (1336726458,), (1336726460,), (1336726488,), (1336726491,), (1336726493,), (1336726495,), (1336726497,), (1336726501,), (1336726514,), (1336726516,), (1336726518,), (1336726520,), (1336726523,), (1336726538,), (1336726540,), (1336726542,), (1336726577,), (1336726572,), (1336726575,), (1336726658,), (1336726659,), (1336726664,), (1336726669,), (1336726700,), (1336726701,), (1336726702,), (1336726703,), (1336726722,), (1336726723,), (1336726757,), (1336726919,), (1336727302,), (1336727303,), (1336727351,), (1336727469,), (1336727483,), (1336727559,), (1336727560,), (1336728262,), (1336728328,), (1336728393,), (1336728863,), (1336728868,), (1336728873,), (1336728876,), (1336728891,), (1336729115,), (1336729137,), (1336729205,), (1336729498,), (1336729508,), (1336729515,), (1336729517,), (1336729539,), (1336729540,), (1336729541,), (1336729542,), (1336729573,), (1336729575,), (1336729576,), (1336729596,), (1336729597,), (1336729598,), (1336729599,), (1336729601,), (1336729603,), (1336729622,), (1336729624,), (1336729626,), (1336729644,), (1336729646,), (1336729648,), (1336729650,), (1336729652,), (1336729656,), (1336729787,), (1336729696,), (1336729698,), (1336729715,), (1336729914,), (1336729918,), (1336729922,), (1336729926,), (1336729934,), (1336729962,), (1336729967,), (1336729969,), (1336730045,), (1336730048,), (1336730050,), (1336730052,), (1336730055,), (1336730068,), (1336730070,), (1336730072,), (1336730076,), (1336730081,), (1336730140,), (1336730963,), (1336730965,), (1336730967,), (1336730969,), (1336731117,), (1336731192,), (1336731250,), (1336731272,), (1336731275,), (1336731729,), (1336731731,), (1336731733,), (1336731875,), (1336731888,), (1336731894,), (1336731901,), (1336731903,), (1336731906,), (1336731921,), (1336731923,), (1336731930,), (1336731948,), (1336731998,), (1336732024,), (1336732026,), (1336732028,), (1336732030,), (1336732059,), (1336732062,), (1336732064,), (1336732065,), (1336732069,), (1336732071,), (1336732083,), (1336732088,), (1336732098,), (1336732100,), (1336732103,), (1336732109,), (1336732601,), (1336732605,), (1336732609,), (1336732620,), (1336732625,), (1336732626,), (1336732627,), (1336732659,), (1336732643,), (1336732647,), (1336732651,), (1336732655,), (1336732747,), (1336732881,), (1336732921,), (1336732924,), (1336732927,), (1336733033,), (1336733059,), (1336733064,), (1336733066,), (1336733081,), (1336733083,), (1336733087,), (1336733130,), (1336733138,), (1336733142,), (1336733166,), (1336733169,), (1336733172,), (1336733177,), (1336733215,), (1336733220,), (1336733223,), (1336733226,), (1336733229,), (1336733251,), (1336733253,), (1336733256,), (1336733259,), (1336733289,), (1336733291,), (1336733294,), (1336733332,), (1336733337,), (1336733342,), (1336733348,), (1336733356,), (1336733361,), (1336733376,), (1336733379,), (1336733384,), (1336733400,), (1336733405,), (1336733408,), (1336733409,), (1336733411,), (1336733413,), (1336733478,), (1336733484,), (1336733486,), (1336733488,), (1336733491,), (1336733494,), (1336733496,), (1336733521,), (1336733522,), (1336733527,), (1336733528,), (1336733566,), (1336733571,), (1336733579,), (1336733588,), (1336733595,), (1336733601,), (1336733615,), (1336733619,), (1336733757,), (1336733370,), (1336733371,), (1336733373,), (1336733440,), (1336733444,), (1336733446,), (1336733448,), (1336733450,), (1336733452,), (1336733455,), (1336733458,), (1336733463,), (1336733468,), (1336733473,), (1336733500,), (1336733501,), (1336733505,), (1336733506,), (1336733510,), (1336733511,), (1336733515,), (1336733516,), (1336733535,), (1336733538,), (1336733547,), (1336733549,), (1336733551,), (1336733553,), (1336733605,), (1336733608,), (1336733610,), (1336733612,), (1336733846,), (1336733870,), (1336733904,), (1336733924,), (1336733968,), (1336733971,), (1336733974,), (1336734013,), (1336734017,), (1336734019,), (1336734022,), (1336734038,), (1336734114,), (1336734140,), (1336734155,), (1336734197,), (1336734253,), (1336734277,), (1336734474,), (1336734478,), (1336734488,), (1336734493,), (1336734542,), (1336734543,), (1336734545,), (1336734547,), (1336734597,), (1336734599,), (1336734601,), (1336734603,), (1336734605,), (1336734646,), (1336734647,), (1336734649,), (1336734651,), (1336734690,), (1336734692,), (1336734695,), (1336734731,), (1336734725,), (1336734728,), (1336734785,), (1336734787,), (1336734790,), (1336734793,), (1336734794,), (1336734822,), (1336734824,), (1336734827,), (1336734830,), (1336734832,), (1336734909,), (1336734921,), (1336734930,), (1336734937,), (1336734944,), (1336735019,), (1336735021,), (1336735023,), (1336735064,), (1336735069,), (1336735072,), (1336735075,), (1336736001,), (1336736099,), (1336736156,), (1336736158,), (1336736312,), (1336736314,), (1336736325,), (1336736723,), (1336736797,), (1336736800,), (1336736850,), (1336736897,), (1336736898,), (1336736945,), (1336736957,), (1336736965,), (1336736968,), (1336736971,), (1336736974,), (1336737010,), (1336737013,), (1336737015,), (1336737017,), (1336737020,), (1336737038,), (1336737040,), (1336737079,), (1336737080,), (1336737087,), (1336737089,), (1336737091,), (1336737114,), (1336737116,), (1336737126,), (1336737172,), (1336737214,), (1336737793,), (1336737849,), (1336737863,), (1336737866,), (1336737940,), (1336737941,), (1336737943,), (1336737946,), (1336737979,), (1336737981,), (1336737983,), (1336737985,), (1336738021,), (1336738024,), (1336738029,), (1336738031,), (1336738033,), (1336738036,), (1336738059,), (1336738060,), (1336738064,), (1336739175,), (1336739177,), (1336739180,), (1336739583,), (1336739585,), (1336739588,), (1336739638,), (1336739701,), (1336739703,), (1336739706,), (1336739721,), (1336739728,), (1336739794,), (1336739798,), (1336739803,), (1336739806,), (1336739808,), (1336739829,), (1336739821,), (1336739824,), (1336740007,), (1336740049,), (1336740139,), (1336740141,), (1336740144,), (1336740148,), (1336740162,), (1336740729,), (1336740837,), (1336740851,), (1336740950,), (1336740961,), (1336740967,), (1336741015,), (1336741018,), (1336741021,), (1336741025,), (1336741028,), (1336741148,), (1336741193,), (1336741196,), (1336741543,), (1336741545,), (1336741547,), (1336741550,), (1336741710,), (1336741712,), (1336741727,), (1336741812,), (1336741814,), (1336741817,), (1336741828,), (1336741867,), (1336741870,), (1336741874,), (1336741877,), (1336742068,), (1336742071,), (1336742074,), (1336742399,), (1336742396,), (1336742450,), (1336742454,), (1336742458,), (1336742461,), (1336742490,), (1336742493,), (1336742495,), (1336742537,), (1336742624,), (1336742627,), (1336742629,), (1336742633,), (1336742638,), (1336742642,), (1336743180,), (1336743183,), (1336743187,), (1336743402,), (1336743405,), (1336743409,), (1336743412,), (1336743417,), (1336743420,), (1336743448,), (1336743450,), (1336743452,), (1336743454,), (1336743455,), (1336743457,), (1336743483,), (1336743488,), (1336743501,), (1336743512,), (1336743539,), (1336743541,), (1336743543,), (1336743545,), (1336743546,), (1336743594,), (1336743597,), (1336743612,), (1336743616,), (1336743678,), (1336744648,), (1336744720,), (1336744723,), (1336744770,), (1336744810,), (1336744893,), (1336745230,), (1336745238,), (1336745331,), (1336745675,), (1336745489,), (1336745584,), (1336745796,), (1336745797,), (1336745798,), (1336745833,), (1336745834,), (1336745836,), (1336745873,), (1336746461,), (1336746462,), (1336746464,), (1336746466,), (1336746751,), (1336746752,), (1336746754,), (1336746784,), (1336746786,), (1336746788,), (1336747002,), (1336747137,), (1336747331,), (1336748566,), (1336748638,), (1336748726,), (1336748727,), (1336748736,), (1336749119,), (1336749122,), (1336749351,), (1336749353,), (1336749355,), (1336749357,), (1336749364,), (1336749839,), (1336749862,), (1336749865,), (1336749866,), (1336749870,), (1336750413,), (1336750457,), (1336750529,), (1336750606,), (1336750667,), (1336751333,), (1336751392,), (1336751395,), (1336751408,), (1336751767,), (1336751573,), (1336751676,), (1336751883,), (1336751946,), (1336752025,), (1336752102,), (1336752137,), (1336752373,), (1336752376,), (1336752414,), (1336752513,), (1336752723,), (1336752726,), (1336752729,), (1336752732,), (1336752786,), (1336752789,), (1336752807,), (1336752811,), (1336753824,), (1336753845,), (1336753848,), (1336753851,), (1336753854,), (1336754173,), (1336754175,), (1336754178,), (1336754256,), (1336754257,), (1336754259,), (1336754266,), (1336754272,), (1336754339,), (1336754633,), (1336754635,), (1336754639,), (1336754669,), (1336754997,), (1336755062,), (1336755067,), (1336755080,), (1336755132,), (1336755219,), (1336755225,), (1336755254,), (1336755266,), (1336755272,), (1336755277,), (1336755316,), (1336755325,), (1336755352,), (1336755359,), (1336755363,), (1336755549,), (1336755554,), (1336755559,), (1336755569,), (1336755576,), (1336755580,), (1336755585,), (1336755617,), (1336764647,), (1336764782,), (1336764861,), (1336764958,), (1336765615,), (1336765619,), (1336765623,), (1336766825,), (1336766921,), (1336767041,), (1336767727,), (1336767730,), (1336767738,), (1336767743,), (1336767747,), (1336767776,), (1336767779,), (1336767796,), (1336767847,), (1336767851,), (1336767854,), (1336767857,), (1336767860,), (1336767865,), (1336767891,), (1336767894,), (1336767898,), (1336767903,), (1336767907,), (1336767913,), (1336767942,), (1336767945,), (1336767952,), (1336768034,), (1336768039,), (1336768048,), (1336768051,), (1336768054,), (1336768057,), (1336768128,), (1336768130,), (1336768134,), (1336768137,), (1336768141,), (1336768145,), (1336768198,), (1336768200,), (1336768203,), (1336768206,), (1336768279,), (1336768282,), (1336768322,), (1336768511,), (1336768519,), (1336768522,), (1336768526,), (1336768550,), (1336768583,), (1336768586,), (1336768598,), (1336768605,), (1336768668,), (1336768657,), (1336768660,), (1336768663,), (1336768665,), (1336768881,), (1336768883,), (1336768887,), (1336768916,), (1336768925,), (1336768931,), (1336768934,), (1336769508,), (1336769519,), (1336769527,), (1336769529,), (1336770051,), (1336770195,), (1336770372,), (1336770427,), (1336770671,), (1336770746,), (1336770752,), (1336770834,), (1336770845,), (1336770848,), (1336770853,), (1336770856,), (1336770859,), (1336770885,), (1336770889,), (1336770892,), (1336770895,), (1336770899,), (1336770902,), (1336770923,), (1336770925,), (1336770928,), (1336771209,), (1336771213,), (1336771220,), (1336771262,), (1336771265,), (1336771307,), (1336771309,), (1336771313,), (1336771353,), (1336771360,), (1336771365,), (1336771368,), (1336771374,), (1336771378,), (1336771397,), (1336771399,), (1336771410,), (1336771413,), (1336771417,), (1336771529,), (1336771534,), (1336771540,), (1336771546,), (1336771552,), (1336771623,), (1336771586,), (1336771589,), (1336771593,), (1336771618,), (1336771726,), (1336771728,), (1336771730,), (1336771764,), (1336771766,), (1336771769,), (1336771803,), (1336771968,), (1336771982,), (1336772045,), (1336772174,), (1336773591,), (1336773593,), (1336773601,), (1336773605,), (1336773758,), (1336773932,), (1336773974,), (1336774028,), (1336774123,), (1336774441,), (1336774443,), (1336774444,), (1336774447,), (1336774452,), (1336774456,), (1336774507,), (1336774508,), (1336774511,), (1336774513,), (1336774516,), (1336774555,), (1336774556,), (1336774558,), (1336774561,), (1336774776,), (1336774778,), (1336774781,), (1336774783,), (1336774787,), (1336774790,), (1336774954,), (1336774956,), (1336774958,), (1336774960,), (1336774964,), (1336774968,), (1336775001,), (1336775002,), (1336775004,), (1336776241,), (1336776095,), (1336776192,), (1336776236,), (1336776239,), (1336776273,), (1336776277,), (1336776283,), (1336776298,), (1336776386,), (1336776774,), (1336776776,), (1336776788,), (1336776837,), (1336776855,), (1336776869,), (1336776898,), (1336776899,), (1336776901,), (1336777445,), (1336777486,), (1336777488,), (1336777490,), (1336777613,), (1336777619,), (1336777693,), (1336777695,), (1336777698,), (1336777702,), (1336777706,), (1336777708,), (1336777840,), (1336777846,), (1336777850,), (1336777855,), (1336777858,), (1336777958,), (1336777962,), (1336777967,), (1336777969,), (1336777981,), (1336778029,), (1336778093,), (1336778097,), (1336778102,), (1336778109,), (1336778144,), (1336778149,), (1336778154,), (1336778159,), (1336778162,), (1336778166,), (1336778216,), (1336778218,), (1336778221,), (1336778224,), (1336778254,), (1336778256,), (1336778284,), (1336778287,), (1336778288,), (1336778292,), (1336778327,), (1336778350,), (1336778357,), (1336778361,), (1336778366,), (1336778370,), (1336778451,), (1336778458,), (1336778470,), (1336778472,), (1336778557,), (1336778560,), (1336778563,), (1336778641,), (1336778644,), (1336778647,), (1336778687,), (1336778678,), (1336778683,), (1336778983,), (1336778987,), (1336778990,), (1336778992,), (1336778994,), (1336779161,), (1336779163,), (1336779164,), (1336779165,), (1336779169,), (1336779205,), (1336779207,), (1336779210,), (1336779212,), (1336779418,), (1336779426,), (1336779428,), (1336779431,), (1336779443,), (1336779449,), (1336779482,), (1336779483,), (1336779487,), (1336779490,), (1336779499,), (1336779602,), (1336779665,), (1336779693,), (1336780889,), (1336780890,), (1336780892,), (1336780895,), (1336781471,), (1336781960,), (1336781965,), (1336782026,), (1336782129,), (1336782169,), (1336782183,), (1336782189,), (1336782633,), (1336782634,), (1336782636,), (1336782638,), (1336782677,), (1336782678,), (1336782680,), (1336782682,), (1336782685,), (1336782824,), (1336782857,), (1336782859,), (1336782910,), (1336782911,), (1336782914,), (1336782915,), (1336782918,), (1336782922,), (1336782950,), (1336782952,), (1336782960,), (1336782965,), (1336783079,), (1336783093,), (1336783104,), (1336783108,), (1336783113,), (1336783117,), (1336783226,), (1336783227,), (1336783229,), (1336783233,), (1336783238,), (1336783268,), (1336783360,), (1336783361,), (1336783376,), (1336783378,), (1336783433,), (1336783437,), (1336783439,), (1336783440,), (1336783441,), (1336783475,), (1336783477,), (1336783479,), (1336783480,), (1336783484,), (1336783522,), (1336783524,), (1336783532,), (1336783535,), (1336784079,), (1336784128,), (1336784133,), (1336784142,), (1336784148,), (1336784153,), (1336784262,), (1336784265,), (1336784269,), (1336784559,), (1336784293,), (1336784380,), (1336784468,), (1336785655,), (1336785702,), (1336785703,), (1336785705,), (1336785708,), (1336785823,), (1336785825,), (1336785857,), (1336785944,), (1336786033,), (1336786128,), (1336786228,), (1336786230,), (1336786232,), (1336786233,), (1336786562,), (1336786563,), (1336786565,), (1336786567,), (1336786570,), (1336786575,), (1336786818,), (1336786908,), (1336786989,), (1336787073,), (1336788283,), (1336788342,), (1336788384,), (1336788414,), (1336789520,), (1336789998,), (1336790000,), (1336790002,), (1336790007,), (1336790015,), (1336790026,), (1336790297,), (1336790300,), (1336790305,), (1336790310,), (1336790314,), (1336790339,), (1336790341,), (1336790344,), (1336790347,), (1336790351,), (1336790400,), (1336790401,), (1336790403,), (1336790405,), (1336790407,), (1336790455,), (1336790464,), (1336790469,), (1336790471,), (1336790513,), (1336790516,), (1336790536,), (1336790538,), (1336790539,), (1336790546,), (1336790583,), (1336790577,), (1336790579,), (1336790581,), (1336790678,), (1336790685,), (1336790688,), (1336791036,), (1336791037,), (1336791039,), (1336791041,), (1336791081,), (1336791082,), (1336791084,), (1336791086,), (1336791088,), (1336791115,), (1336791120,), (1336791129,), (1336791216,), (1336791218,), (1336791221,), (1336791224,), (1336791246,), (1336791248,), (1336791251,), (1336791254,), (1336791256,), (1336791340,), (1336791344,), (1336791346,), (1336791439,), (1336791460,), (1336791661,), (1336791662,), (1336791664,), (1336791665,), (1336792020,), (1336792026,), (1336792031,), (1336792033,), (1336792244,), (1336792245,), (1336792247,), (1336792255,), (1336792262,), (1336792347,), (1336792349,), (1336792351,), (1336792354,), (1336792395,), (1336792398,), (1336792403,), (1336792408,), (1336792410,), (1336792453,), (1336792456,), (1336792458,), (1336792459,), (1336792495,), (1336792488,), (1336792492,), (1336792546,), (1336792550,), (1336792554,), (1336792575,), (1336792621,), (1336793445,), (1336794311,), (1336794403,), (1336794472,), (1336794503,), (1336794506,), (1336794510,), (1336794514,), (1336794756,), (1336794886,), (1336794939,), (1336795008,), (1336795408,), (1336795414,), (1336795417,), (1336795474,), (1336796777,), (1336796780,), (1336796782,), (1336797195,), (1336797224,), (1336797232,), (1336797908,), (1336797912,), (1336797926,), (1336798162,), (1336798165,), (1336798168,), (1336798278,), (1336798375,), (1336798466,), (1336798518,), (1336798541,), (1336798544,), (1336798548,), (1336798552,), (1336798619,), (1336799489,), (1336799408,), (1336799484,), (1336799487,), (1336799612,), (1336799683,), (1336799764,), (1336799789,), (1336799968,), (1336799973,), (1336799976,), (1336799979,), (1336799981,), (1336801008,), (1336801010,), (1336801018,), (1336801023,), (1336801238,), (1336801240,), (1336801243,), (1336801246,), (1336801248,), (1336801250,), (1336801272,), (1336802796,), (1336802798,), (1336803256,), (1336803278,), (1336803281,), (1336803283,), (1336803287,), (1336803355,), (1336803509,), (1336803510,), (1336803513,), (1336803872,), (1336803946,), (1336803959,), (1336803970,), (1336804220,), (1336804225,), (1336804230,), (1336804236,), (1336804242,), (1336804249,), (1336804260,), (1336804263,), (1336804268,), (1336804273,), (1336804278,), (1336804300,), (1336804290,), (1336804293,), (1336804296,), (1336804326,), (1336804335,), (1336804341,), (1336804344,), (1336804348,), (1336804350,), (1336804381,), (1336804384,), (1336804388,), (1336804392,), (1336804434,), (1336804437,), (1336804443,), (1336804447,), (1336804474,), (1336804478,), (1336804481,), (1336804485,), (1336804536,), (1336804541,), (1336805122,), (1336805126,), (1336805172,), (1336805189,), (1336805286,), (1336805288,), (1336805291,), (1336805293,), (1336805297,), (1336805373,), (1336805379,), (1336805381,), (1336805385,), (1336805396,), (1336805402,), (1336805480,), (1336805483,), (1336805486,), (1336805489,), (1336805527,), (1336805530,), (1336805533,), (1336805544,), (1336805549,), (1336805575,), (1336805577,), (1336805581,), (1336805583,), (1336805695,), (1336824402,), (1336826174,), (1336826452,), (1336826621,), (1336826626,), (1336826629,), (1336827417,), (1336827419,), (1336827421,), (1336827458,), (1336827460,), (1336827464,), (1336827467,), (1336827535,), (1336827590,), (1336827642,), (1336827644,), (1336827706,), (1336827711,), (1336827715,), (1336828059,), (1336828160,), (1336828252,), (1336828844,), (1336828847,), (1336828851,), (1336828854,), (1336828857,), (1336828929,), (1336828934,), (1336828939,), (1336828943,), (1336829270,), (1336829275,), (1336829279,), (1336829294,), (1336830033,), (1336830028,), (1336830030,), (1336830205,), (1336830207,), (1336830210,), (1336830213,), (1336830217,), (1336830219,), (1336830259,), (1336830261,), (1336830264,), (1336830267,), (1336830269,), (1336830272,), (1336830354,), (1336830355,), (1336830357,), (1336830376,), (1336830413,), (1336830417,), (1336830452,), (1336830453,), (1336830471,), (1336830532,), (1336830546,), (1336830548,), (1336830551,), (1336830593,), (1336830595,), (1336830597,), (1336830603,), (1336830716,), (1336830719,), (1336830730,), (1336830794,), (1336830796,), (1336830798,), (1336830801,), (1336830806,), (1336830848,), (1336830933,), (1336830941,), (1336830945,), (1336830948,), (1336830982,), (1336830983,), (1336830986,), (1336830989,), (1336830992,), (1336830993,), (1336831029,), (1336831031,), (1336831033,), (1336831035,), (1336831107,), (1336831079,), (1336831093,), (1336831099,), (1336831103,), (1336831372,), (1336831441,), (1336831476,), (1336831480,), (1336831659,), (1336831684,), (1336831688,), (1336831728,), (1336831730,), (1336831734,), (1336831738,), (1336831780,), (1336831785,), (1336831797,), (1336831800,), (1336831804,), (1336831998,), (1336832003,), (1336832007,), (1336832246,), (1336832313,), (1336832329,), (1336832346,), (1336832362,), (1336832370,), (1336832455,), (1336832458,), (1336832462,), (1336832464,), (1336832467,), (1336832470,), (1336832514,), (1336832517,), (1336832552,), (1336832557,), (1336832567,), (1336832578,), (1336832583,), (1336832586,), (1336832611,), (1336832615,), (1336832619,), (1336832623,), (1336832627,), (1336832649,), (1336832652,), (1336832657,), (1336832662,), (1336832665,), (1336832707,), (1336832710,), (1336832718,), (1336832727,), (1336832734,), (1336832765,), (1336832769,), (1336832774,), (1336832862,), (1336832866,), (1336832924,), (1336832929,), (1336832933,), (1336833180,), (1336833129,), (1336833153,), (1336833158,), (1336833162,), (1336833176,), (1336833204,), (1336833208,), (1336833212,), (1336833216,), (1336833252,), (1336833256,), (1336833261,), (1336833265,), (1336833270,), (1336833278,), (1336833305,), (1336833307,), (1336833455,), (1336833684,), (1336833811,), (1336833815,), (1336833998,), (1336834001,), (1336834005,), (1336834012,), (1336834065,), (1336834067,), (1336834115,), (1336834121,), (1336834127,), (1336834133,), (1336835072,), (1336835138,), (1336835141,), (1336835143,), (1336835147,), (1336835178,), (1336835182,), (1336835186,), (1336835188,), (1336835690,), (1336835694,), (1336835729,), (1336835815,), (1336835821,), (1336836178,), (1336836328,), (1336836499,), (1336836673,), (1336836807,), (1336836842,), (1336836876,), (1336836880,), (1336836936,), (1336837035,), (1336837127,), (1336837308,), (1336837311,), (1336837315,), (1336837318,), (1336837320,), (1336837360,), (1336837507,), (1336837510,), (1336837585,), (1336837587,), (1336837590,), (1336837639,), (1336837674,), (1336837685,), (1336837692,), (1336837695,), (1336837699,), (1336837707,), (1336837783,), (1336837765,), (1336837770,), (1336837776,), (1336837779,), (1336837929,), (1336837932,), (1336837987,), (1336837990,), (1336837993,), (1336838099,), (1336838112,), (1336838127,), (1336838161,), (1336838165,), (1336838169,), (1336838508,), (1336838510,), (1336838531,), (1336838537,), (1336838545,), (1336838550,), (1336838609,), (1336838612,), (1336838617,), (1336838626,), (1336838674,), (1336838676,), (1336838680,), (1336838683,), (1336838687,), (1336838745,), (1336838747,), (1336838751,), (1336838754,), (1336838759,), (1336838762,), (1336838787,), (1336838789,), (1336838792,), (1336839422,), (1336839492,), (1336839563,), (1336839621,), (1336839652,), (1336839836,), (1336839840,), (1336839844,), (1336839847,), (1336839858,), (1336840286,), (1336840294,), (1336840310,), (1336840345,), (1336840347,), (1336840351,), (1336840356,), (1336840361,), (1336840368,), (1336840468,), (1336840479,), (1336840485,), (1336840500,), (1336840506,), (1336843346,), (1336843123,), (1336843208,), (1336843514,), (1336843517,), (1336843532,), (1336843589,), (1336843612,), (1336843618,), (1336843651,), (1336843653,), (1336843656,), (1336843663,), (1336843666,), (1336843687,), (1336843689,), (1336843692,), (1336843695,), (1336843697,), (1336843720,), (1336843723,), (1336843726,), (1336843729,), (1336843731,), (1336843739,), (1336844217,), (1336844291,), (1336844294,), (1336844296,), (1336844297,), (1336844298,), (1336844304,), (1336844306,), (1336844307,), (1336844312,), (1336844317,), (1336844321,), (1336844464,), (1336844465,), (1336844469,), (1336844473,), (1336844476,), (1336844480,), (1336844503,), (1336844505,), (1336844509,), (1336844513,), (1336844840,), (1336844850,), (1336844875,), (1336844879,), (1336845888,), (1336845824,), (1336845879,), (1336845882,), (1336845885,), (1336845887,), (1336845975,), (1336845977,), (1336846032,), (1336846036,), (1336846039,), (1336846043,), (1336846071,), (1336846075,), (1336846079,), (1336846085,), (1336846109,), (1336846178,), (1336846187,), (1336846191,), (1336846195,), (1336846198,), (1336846240,), (1336846242,), (1336846248,), (1336846252,), (1336846259,), (1336846263,), (1336846294,), (1336847248,), (1336847309,), (1336846286,), (1336846289,), (1336846334,), (1336846335,), (1336846336,), (1336846339,), (1336846342,), (1336846347,), (1336846380,), (1336846382,), (1336846384,), (1336846476,), (1336846736,), (1336846956,), (1336846978,), (1336846981,), (1336846984,), (1336847043,), (1336847122,), (1336847124,), (1336847160,), (1336847161,), (1336847165,), (1336847168,), (1336847174,), (1336847178,), (1336847189,), (1336847194,), (1336847244,), (1336847294,), (1336847297,), (1336847300,), (1336847303,), (1336847306,), (1336847336,), (1336847338,), (1336847358,), (1336847359,), (1336847361,), (1336847362,), (1336847363,), (1336847364,), (1336847381,), (1336847383,), (1336847654,), (1336847744,), (1336847729,), (1336847732,), (1336847739,), (1336847741,), (1336847743,), (1336847773,), (1336847775,), (1336847854,), (1336847859,), (1336847863,), (1336847868,), (1336847874,), (1336847878,), (1336847937,), (1336847942,), (1336847947,), (1336847956,), (1336847961,), (1336847964,), (1336848403,), (1336848406,), (1336848471,), (1336848475,), (1336848571,), (1336848573,), (1336848583,), (1336848627,), (1336848633,), (1336848664,), (1336848713,), (1336848717,), (1336848722,), (1336848730,), (1336848778,), (1336848785,), (1336848791,), (1336848873,), (1336849039,), (1336849078,), (1336849083,), (1336849127,), (1336849129,), (1336849178,), (1336849182,), (1336849188,), (1336849201,), (1336849206,), (1336849258,), (1336849261,), (1336849264,), (1336849377,), (1336849457,), (1336849458,), (1336849470,), (1336849475,), (1336849477,), (1336849543,), (1336849546,), (1336849550,), (1336849553,), (1336849555,), (1336849558,), (1336849593,), (1336849599,), (1336849605,), (1336849610,), (1336849614,), (1336849619,), (1336849627,), (1336849632,), (1336849638,), (1336849644,), (1336850309,), (1336849658,), (1336849835,), (1336850067,), (1336850673,), (1336850675,), (1336850679,), (1336850682,), (1336850683,), (1336850812,), (1336850823,), (1336850827,), (1336850831,), (1336850853,), (1336850855,), (1336850857,), (1336850859,), (1336850860,), (1336850862,), (1336851568,), (1336851569,), (1336851572,), (1336851575,), (1336851581,), (1336851587,), (1336851783,), (1336851787,), (1336851811,), (1336851813,), (1336851849,), (1336851851,), (1336851864,), (1336851867,), (1336851871,), (1336851875,), (1336851879,), (1336851884,), (1336851898,), (1336851899,), (1336851914,), (1336851917,), (1336851921,), (1336851923,), (1336851966,), (1336851968,), (1336852009,), (1336852011,), (1336852013,), (1336852016,), (1336852031,), (1336852034,), (1336852083,), (1336852091,), (1336852094,), (1336852097,), (1336852099,), (1336852102,), (1336852132,), (1336852134,), (1336852137,), (1336852146,), (1336852357,), (1336852837,), (1336853331,), (1336852820,), (1336852826,), (1336852936,), (1336852981,), (1336853040,), (1336853090,), (1336853164,), (1336853223,), (1336853274,), (1336853276,), (1336853415,), (1336853417,), (1336853445,), (1336853487,), (1336854302,), (1336854304,), (1336854307,), (1336854310,), (1336854400,), (1336854442,), (1336854544,), (1336854545,), (1336854547,), (1336854549,), (1336854551,), (1336854585,), (1336854587,), (1336854590,), (1336854593,), (1336854784,), (1336854786,), (1336854790,), (1336854794,), (1336854796,), (1336854828,), (1336854831,), (1336854835,), (1336854839,), (1336854929,), (1336854941,), (1336854947,), (1336854950,), (1336854952,), (1336854957,), (1336854989,), (1336855429,), (1336855655,), (1336855730,), (1336855743,), (1336855745,), (1336855746,), (1336855807,), (1336855809,), (1336855820,), (1336855824,), (1336855827,), (1336855833,), (1336856218,), (1336856220,), (1336856230,), (1336856441,), (1336856444,), (1336856451,), (1336856539,), (1336856630,), (1336856696,), (1336856798,), (1336856800,), (1336856805,), (1336856808,), (1336856813,), (1336856868,), (1336856861,), (1336856864,), (1336857068,), (1336857071,), (1336857074,), (1336857078,), (1336857084,), (1336857087,), (1336857114,), (1336857118,), (1336857121,), (1336857124,), (1336857174,), (1336857185,), (1336857195,), (1336857220,), (1336857280,), (1336857282,), (1336857285,), (1336857290,), (1336857293,), (1336857322,), (1336857327,), (1336857331,), (1336857334,), (1336857337,), (1336857340,), (1336857376,), (1336857379,), (1336857381,), (1336857385,), (1336857427,), (1336857430,), (1336857434,), (1336857436,), (1336857442,), (1336857447,), (1336857482,), (1336857484,), (1336857488,), (1336857491,), (1336857496,), (1336857501,), (1336857527,), (1336857529,), (1336857532,), (1336857535,), (1336857539,), (1336857563,), (1336857567,), (1336857572,), (1336857576,), (1336857580,), (1336857620,), (1336857626,), (1336857629,), (1336857631,), (1336857637,), (1336857643,), (1336857659,), (1336857672,), (1336857691,), (1336857705,), (1336857819,), (1336857828,), (1336857837,), (1336857847,), (1336857850,), (1336857872,), (1336857874,), (1336857878,), (1336857881,), (1336857884,), (1336857926,), (1336857921,), (1336857923,), (1336858178,), (1336858249,), (1336858300,), (1336858344,), (1336858360,), (1336858429,), (1336858431,), (1336858434,), (1336858437,), (1336858441,), (1336858463,), (1336858466,), (1336858469,), (1336858471,), (1336858474,), (1336858510,), (1336858518,), (1336858522,), (1336858524,), (1336858551,), (1336858617,), (1336858619,), (1336858628,), (1336858705,), (1336858712,), (1336858719,), (1336858723,), (1336858727,), (1336858786,), (1336858798,), (1336858808,), (1336858811,), (1336858821,), (1336858836,), (1336858878,), (1336858880,), (1336858896,), (1336858972,), (1336859031,), (1336859034,), (1336859037,), (1336859041,), (1336859048,), (1336859076,), (1336859084,), (1336859091,), (1336859093,), (1336859096,), (1336859131,), (1336859139,), (1336859145,), (1336859154,), (1336859238,), (1336859251,), (1336859256,), (1336859264,), (1336859267,), (1336859275,), (1336859321,), (1336859325,), (1336859330,), (1336859336,), (1336859340,), (1336859342,), (1336859355,), (1336859369,), (1336859460,), (1336859434,), (1336859451,), (1336859455,), (1336859457,), (1336859504,), (1336859505,), (1336859508,), (1336859511,), (1336859515,), (1336859543,), (1336859545,), (1336859559,), (1336859571,), (1336859767,), (1336859770,), (1336859772,), (1336859775,), (1336859778,), (1336859781,), (1336859807,), (1336859951,), (1336859968,), (1336859974,), (1336859977,), (1336859979,), (1336860042,), (1336860044,), (1336860047,), (1336860052,), (1336860847,), (1336860849,), (1336860853,), (1336860856,), (1336860935,), (1336861017,), (1336861176,), (1336861178,), (1336861181,), (1336861184,), (1336861191,), (1336861196,), (1336861231,), (1336861236,), (1336861246,), (1336861300,), (1336861302,), (1336861306,), (1336861308,), (1336861331,), (1336861333,), (1336861335,), (1336861338,), (1336861342,), (1336861345,), (1336861425,), (1336861459,), (1336861465,), (1336861607,), (1336861610,), (1336861616,), (1336861623,), (1336861632,), (1336861694,), (1336861718,), (1336861722,), (1336861726,), (1336861728,), (1336861730,), (1336861768,), (1336861769,), (1336861772,), (1336861781,), (1336861836,), (1336861822,), (1336861826,), (1336861829,), (1336861832,), (1336861883,), (1336861884,), (1336861885,), (1336861889,), (1336861931,), (1336862000,), (1336862275,), (1336862277,), (1336862314,), (1336862378,), (1336862609,), (1336862611,), (1336862613,), (1336862615,), (1336862618,), (1336863426,), (1336863459,), (1336863462,), (1336863465,), (1336863468,), (1336863483,), (1336863753,), (1336863756,), (1336863760,), (1336863768,), (1336863822,), (1336863831,), (1336863837,), (1336863841,), (1336863846,), (1336863915,), (1336863917,), (1336863923,), (1336863926,), (1336863930,), (1336863932,), (1336864003,), (1336864012,), (1336864058,), (1336864125,), (1336864620,), (1336864621,), (1336864624,), (1336864627,), (1336864640,), (1336864705,), (1336864912,), (1336864916,), (1336864919,), (1336864922,), (1336864924,), (1336864968,), (1336865467,), (1336865559,), (1336865646,), (1336865731,), (1336866487,), (1336866529,), (1336866532,), (1336866580,), (1336866607,), (1336866797,), (1336866802,), (1336866806,), (1336866812,), (1336866842,), (1336874205,), (1336873817,), (1336874202,), (1336875704,), (1336875716,), (1336875719,), (1336875754,), (1336875756,), (1336875758,), (1336875760,), (1336875778,), (1336875780,), (1336875783,), (1336875786,), (1336875789,), (1336875791,), (1336875820,), (1336875821,), (1336875825,), (1336875830,), (1336875856,), (1336875857,), (1336875859,), (1336875861,), (1336876042,), (1336876034,), (1336876036,), (1336876038,), (1336876040,), (1336876206,), (1336876209,), (1336876212,), (1336876215,), (1336876218,), (1336876219,), (1336876245,), (1336876247,), (1336876250,), (1336876277,), (1336876280,), (1336876282,), (1336876284,), (1336876288,), (1336876290,), (1336876342,), (1336876501,), (1336876691,), (1336876881,), (1336877030,), (1336877204,), (1336877206,), (1336877210,), (1336877238,), (1336877372,), (1336877556,), (1336877564,), (1336877567,), (1336877605,), (1336877652,), (1336877724,), (1336877774,), (1336877839,), (1336877906,), (1336878051,), (1336878053,), (1336878068,), (1336878247,), (1336878249,), (1336878250,), (1336878252,), (1336878254,), (1336878275,), (1336878277,), (1336878279,), (1336878281,), (1336878283,), (1336878309,), (1336878369,), (1336878371,), (1336878379,), (1336878383,), (1336878387,), (1336878405,), (1336878429,), (1336878430,), (1336878434,), (1336878483,), (1336878567,), (1336878624,), (1336878698,), (1336879363,), (1336879455,), (1336879512,), (1336879513,), (1336879515,), (1336879791,), (1336879748,), (1336879751,), (1336879755,), (1336880017,), (1336880018,), (1336880020,), (1336880028,), (1336880030,), (1336880051,), (1336880053,), (1336880057,), (1336880060,), (1336880062,), (1336880405,), (1336880424,), (1336880467,), (1336880665,), (1336880666,), (1336880669,), (1336880672,), (1336880845,), (1336880846,), (1336880848,), (1336880850,), (1336880851,), (1336881003,), (1336881004,), (1336881034,), (1336881036,), (1336881127,), (1336881128,), (1336881130,), (1336881205,), (1336881207,), (1336881221,), (1336881223,), (1336881259,), (1336881267,), (1336881269,), (1336881273,), (1336881274,), (1336881310,), (1336881316,), (1336881320,), (1336881556,), (1336881561,), (1336881564,), (1336881568,), (1336881570,), (1336881606,), (1336881609,), (1336881646,), (1336881763,), (1336881812,), (1336881836,), (1336881900,), (1336881909,), (1336881914,), (1336881925,), (1336881927,), (1336881945,), (1336881946,), (1336881949,), (1336882192,), (1336882145,), (1336882148,), (1336882152,), (1336882156,), (1336882478,), (1336882479,), (1336882515,), (1336882516,), (1336882544,), (1336882545,), (1336882547,), (1336882549,), (1336882580,), (1336882582,), (1336882584,), (1336882585,), (1336882612,), (1336882671,), (1336882672,), (1336882674,), (1336882676,), (1336882678,), (1336882680,), (1336882853,), (1336882861,), (1336882885,), (1336882887,), (1336882924,), (1336883028,), (1336883030,), (1336883037,), (1336883064,), (1336883067,), (1336883070,), (1336883074,), (1336883077,), (1336883100,), (1336883122,), (1336883130,), (1336883135,), (1336883137,), (1336883140,), (1336883142,), (1336883352,), (1336883354,), (1336883404,), (1336883507,), (1336883508,), (1336883510,), (1336883515,), (1336883522,), (1336883524,), (1336883588,), (1336883592,), (1336883599,), (1336883604,), (1336883620,), (1336883621,), (1336883624,), (1336883625,), (1336883626,), (1336883629,), (1336883632,), (1336883634,), (1336883637,), (1336883638,), (1336883743,), (1336883652,), (1336883658,), (1336883668,), (1336883671,), (1336883676,), (1336884452,), (1336884453,), (1336884456,), (1336884459,), (1336884670,), (1336884673,), (1336884677,), (1336884680,), (1336884684,), (1336884685,), (1336884699,), (1336884702,), (1336884706,), (1336884710,), (1336884715,), (1336884732,), (1336884735,), (1336884739,), (1336884743,), (1336884812,), (1336884815,), (1336884819,), (1336884836,), (1336884841,), (1336884843,), (1336884903,), (1336884908,), (1336884914,), (1336884919,), (1336884936,), (1336884969,), (1336885043,), (1336885469,), (1336885497,), (1336885500,), (1336885510,), (1336885631,), (1336885634,), (1336885636,), (1336885640,), (1336885646,), (1336885694,), (1336886372,), (1336886374,), (1336886377,), (1336886380,), (1336886671,), (1336886673,), (1336886680,), (1336886687,), (1336886697,), (1336886703,), (1336886718,), (1336886720,), (1336886723,), (1336886727,), (1336886731,), (1336886735,), (1336886762,), (1336886765,), (1336886777,), (1336886808,), (1336886814,), (1336886817,), (1336886821,), (1336886824,), (1336886825,), (1336886874,), (1336886845,), (1336886851,), (1336886863,), (1336886868,), (1336886871,), (1336887379,), (1336887489,), (1336887578,), (1336887653,), (1336888113,), (1336888119,), (1336888241,), (1336888252,), (1336888257,), (1336888986,), (1336888998,), (1336889003,), (1336889007,), (1336889042,), (1336889116,), (1336889264,), (1336889267,), (1336889270,), (1336889273,), (1336889635,), (1336889637,), (1336889654,), (1336889664,), (1336889722,), (1336889726,), (1336889731,), (1336889734,), (1336889777,), (1336890169,), (1336890171,), (1336890176,), (1336890179,), (1336890229,), (1336890424,), (1336890427,), (1336890436,), (1336890637,), (1336890666,), (1336890669,), (1336890672,), (1336890684,), (1336890692,), (1336891119,), (1336891164,), (1336891168,), (1336891172,), (1336891196,), (1336891199,), (1336891207,), (1336891219,), (1336891254,), (1336891257,), (1336891261,), (1336891265,), (1336891273,), (1336891646,), (1336891354,), (1336891472,), (1336891523,), (1336891611,), (1336891752,), (1336891754,), (1336891763,), (1336891771,), (1336891774,), (1336891951,), (1336892090,), (1336892093,), (1336892101,), (1336892129,), (1336892195,), (1336892245,), (1336892248,), (1336892384,), (1336892386,), (1336892389,), (1336892392,), (1336892394,), (1336892397,), (1336892420,), (1336892423,), (1336892427,), (1336892430,), (1336892432,), (1336892435,), (1336892460,), (1336892462,), (1336892466,), (1336892785,), (1336892787,), (1336892790,), (1336892840,), (1336892890,), (1336893030,), (1336893032,), (1336893035,), (1336893042,), (1336893045,), (1336893068,), (1336893071,), (1336893075,), (1336893079,), (1336893107,), (1336893111,), (1336893114,), (1336893116,), (1336893120,), (1336893162,), (1336893168,), (1336893171,), (1336893174,), (1336893176,), (1336893180,), (1336893204,), (1336893206,), (1336893210,), (1336893214,), (1336893414,), (1336893461,), (1336893538,), (1336893609,), (1336893696,), (1336893730,), (1336893903,), (1336893905,), (1336893950,), (1336893953,), (1336894174,), (1336894141,), (1336894144,), (1336894147,), (1336894165,), (1336894169,), (1336894344,), (1336894352,), (1336894399,), (1336894428,), (1336894437,), (1336894445,), (1336894507,), (1336894509,), (1336894513,), (1336894517,), (1336894522,), (1336894553,), (1336894556,), (1336894561,), (1336894568,), (1336894577,), (1336894618,), (1336894621,), (1336894630,), (1336894639,), (1336894648,), (1336894649,), (1336894687,), (1336894723,), (1336894741,), (1336895055,), (1336895126,), (1336895187,), (1336895257,), (1336895312,), (1336895335,), (1336895725,), (1336895727,), (1336895730,), (1336895733,), (1336895956,), (1336895982,), (1336896039,), (1336896115,), (1336896128,), (1336896183,), (1336896430,), (1336896456,), (1336896799,), (1336897334,), (1336897411,), (1336897490,), (1336897572,), (1336897663,), (1336898138,), (1336898090,), (1336898093,), (1336898101,), (1336898117,), (1336898405,), (1336898410,), (1336898415,), (1336898420,), (1336898422,), (1336898499,), (1336898501,), (1336898505,), (1336898509,), (1336898517,), (1336898520,), (1336898554,), (1336898557,), (1336898560,), (1336898564,), (1336898593,), (1336898597,), (1336898600,), (1336898604,), (1336898607,), (1336899103,), (1336899236,), (1336899257,), (1336899266,), (1336899269,), (1336899272,), (1336899484,), (1336899487,), (1336899490,), (1336899492,), (1336899537,), (1336899540,), (1336899551,), (1336899559,), (1336899567,), (1336899575,), (1336899593,), (1336899596,), (1336899599,), (1336899602,), (1336899628,), (1336899630,), (1336899633,), (1336899636,), (1336899639,), (1336899641,), (1336899661,), (1336899664,), (1336899669,), (1336899674,), (1336899684,), (1336899686,), (1336899713,), (1336899717,), (1336899720,), (1336899727,), (1336899759,), (1336899762,), (1336899765,), (1336899767,), (1336899770,), (1336899777,), (1336899808,), (1336899818,), (1336899821,), (1336899824,), (1336899854,), (1336899856,), (1336899860,), (1336899863,), (1336899906,), (1336899887,), (1336899890,), (1336899902,), (1336899904,), (1336899944,), (1336899946,), (1336899949,), (1336899953,), (1336899980,), (1336899982,), (1336899985,), (1336900022,), (1336900030,), (1336900037,), (1336900481,), (1336900483,), (1336900566,), (1336900575,), (1336900599,), (1336900615,), (1336900670,), (1336900672,), (1336900675,), (1336900678,), (1336900680,), (1336900743,), (1336900745,), (1336900748,), (1336900751,), (1336900754,), (1336900756,), (1336900778,), (1336900780,), (1336900783,), (1336900849,), (1336901170,), (1336901171,), (1336901174,), (1336901177,), (1336901179,), (1336901212,), (1336901219,), (1336901220,), (1336901229,), (1336901307,), (1336901308,), (1336901310,), (1336901312,), (1336901361,), (1336901362,), (1336901364,), (1336901366,), (1336901368,), (1336901369,), (1336901400,), (1336901402,), (1336901404,), (1336901456,), (1336901471,), (1336901473,), (1336901475,), (1336901477,), (1336901490,), (1336901521,), (1336901525,), (1336901529,), (1336901530,), (1336901532,), (1336901535,), (1336901806,), (1336901815,), (1336901820,), (1336901832,), (1336901969,), (1336901920,), (1336901923,), (1336901933,), (1336901966,), (1336902305,), (1336902306,), (1336902307,), (1336902309,), (1336902312,), (1336902383,), (1336902384,), (1336902386,), (1336902388,), (1336902389,), (1336902430,), (1336902431,), (1336902472,), (1336902477,), (1336902484,), (1336902487,), (1336902489,), (1336902490,), (1336902538,), (1336902540,), (1336902542,), (1336902543,), (1336902545,), (1336902547,), (1336902677,), (1336902736,), (1336902739,), (1336902741,), (1336903224,), (1336904131,), (1336904136,), (1336904139,), (1336904143,), (1336904145,), (1336904189,), (1336904191,), (1336904194,), (1336904708,), (1336904712,), (1336904722,), (1336904726,), (1336904813,), (1336907779,), (1336908398,), (1336908859,), (1336908938,), (1336908941,), (1336908945,), (1336909035,), (1336909200,), (1336909547,), (1336632676,), (1336632678,), (1336632680,), (1336632795,), (1336633987,), (1336633989,), (1336636441,), (1336656604,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11022025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20439280]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] map_info['map_portfolio_photo'] : {20439280: [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678]} final : True mtd_id 4302 list_pids : [1336782129, 1336782026, 1336781965, 1336781960, 1336781471, 1336780895, 1336780892, 1336780890, 1336780889, 1336779693, 1336779665, 1336779602, 1336779499, 1336779490, 1336779487, 1336779483, 1336779482, 1336779449, 1336779443, 1336779431, 1336779428, 1336779426, 1336779418, 1336779212, 1336779210, 1336779207, 1336779205, 1336779169, 1336779165, 1336779164, 1336779163, 1336779161, 1336778994, 1336778992, 1336778990, 1336778987, 1336778983, 1336778683, 1336778678] Looping around the photos to save general results len do output : 1 /20439280Didn'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, '2578441') ('4302', '20439280', '1336782129', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336782026', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781965', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781960', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336781471', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780895', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780892', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780890', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336780889', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779693', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779665', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779602', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779499', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779490', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779487', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779483', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779482', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779449', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779443', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779431', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779428', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779426', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779418', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779212', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779210', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779207', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779205', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779169', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779165', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779164', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779163', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336779161', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778994', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778992', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778990', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778987', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778983', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778683', None, None, None, None, None, '2578441') ('4302', None, None, None, None, None, None, None, '2578441') ('4302', '20439280', '1336778678', None, None, None, None, None, '2578441') 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', None, '20439280', 'None', None, None, None, None, '2578441'), ('4302', '20439280', '1336782129', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336782026', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781965', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781960', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336781471', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780895', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780892', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780890', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336780889', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779693', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779665', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779602', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779499', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779490', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779487', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779483', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779482', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779449', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779443', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779431', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779428', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779426', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779418', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779212', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779210', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779207', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779205', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779169', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779165', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779164', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779163', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336779161', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778994', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778992', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778990', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778987', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778983', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778683', None, None, None, None, None, '2578441'), ('4302', '20439280', '1336778678', None, None, None, None, None, '2578441')] time used for this insertion : 0.01985931396484375 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.2178993225097656 time spend to save output : 0.020255565643310547 total time spend for step 5 : 3.238154888153076 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 (2578441) 3.39user 2.15system 0:23.83elapsed 23%CPU (0avgtext+0avgdata 163348maxresident)k 296inputs+31088outputs (3major+87623minor)pagefaults 0swaps