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 : 724991 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 (2787013) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2787013) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620531 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2787013'] with mtr_portfolio_ids : ['22620531'] and first list_photo_ids : [] new path : /proc/724991/ Name: python3 Umask: 0002 State: R (running) Tgid: 724991 Ngid: 0 Pid: 724991 PPid: 724990 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 724991 NSpid: 724991 NSpgid: 722829 NSsid: 722829 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98432 kB VmRSS: 98432 kB RssAnon: 60204 kB RssFile: 38228 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 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: 54 nonvoluntary_ctxt_switches: 80 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '724991', 'Ngid': '0', 'Pid': '724991', 'PPid': '724990', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '724991', 'NSpid': '724991', 'NSpgid': '722829', 'NSsid': '722829', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98432 kB', 'VmRSS': '98432 kB', 'RssAnon': '60204 kB', 'RssFile': '38228 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 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': '54', 'nonvoluntary_ctxt_switches': '80'} ('datou_batch_current', '724991', '1107228', '0', '1107228', '865976', '98432', b'', 'marlene', '2787013') 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 (22620531) 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 (2787013 ) ) 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 (22620531) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1355454101, 'portfolio_id': 22620531}, {'photo_id': 1355454060, 'portfolio_id': 22620531}, {'photo_id': 1355454055, 'portfolio_id': 22620531}, {'photo_id': 1355454049, 'portfolio_id': 22620531}, {'photo_id': 1355454019, 'portfolio_id': 22620531}, {'photo_id': 1355454016, 'portfolio_id': 22620531}, {'photo_id': 1355454013, 'portfolio_id': 22620531}, {'photo_id': 1355454008, 'portfolio_id': 22620531}, {'photo_id': 1355454003, 'portfolio_id': 22620531}, {'photo_id': 1355453972, 'portfolio_id': 22620531}, {'photo_id': 1355453961, 'portfolio_id': 22620531}, {'photo_id': 1355453954, 'portfolio_id': 22620531}, {'photo_id': 1355453941, 'portfolio_id': 22620531}, {'photo_id': 1355453937, 'portfolio_id': 22620531}, {'photo_id': 1355453925, 'portfolio_id': 22620531}, {'photo_id': 1355453919, 'portfolio_id': 22620531}, {'photo_id': 1355453915, 'portfolio_id': 22620531}, {'photo_id': 1355453903, 'portfolio_id': 22620531}, {'photo_id': 1355453898, 'portfolio_id': 22620531}, {'photo_id': 1355453599, 'portfolio_id': 22620531}, {'photo_id': 1355453261, 'portfolio_id': 22620531}, {'photo_id': 1355453227, 'portfolio_id': 22620531}, {'photo_id': 1355453196, 'portfolio_id': 22620531}, {'photo_id': 1355453149, 'portfolio_id': 22620531}, {'photo_id': 1355452995, 'portfolio_id': 22620531}, {'photo_id': 1355452948, 'portfolio_id': 22620531}, {'photo_id': 1355452917, 'portfolio_id': 22620531}, {'photo_id': 1355452882, 'portfolio_id': 22620531}, {'photo_id': 1355452849, 'portfolio_id': 22620531}, {'photo_id': 1355452813, 'portfolio_id': 22620531}, {'photo_id': 1355452778, 'portfolio_id': 22620531}, {'photo_id': 1355452494, 'portfolio_id': 22620531}, {'photo_id': 1355452432, 'portfolio_id': 22620531}, {'photo_id': 1355452387, 'portfolio_id': 22620531}, {'photo_id': 1355449391, 'portfolio_id': 22620531}, {'photo_id': 1355449360, 'portfolio_id': 22620531}, {'photo_id': 1355448925, 'portfolio_id': 22620531}] map_portfolio_id_photo_id: {22620531: [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925]} ##### 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.020703792572021484 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat May 3 05:52:57 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 (22620531) 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 : 22620531 get user id for portfolio 22620531 get sub ptf for main ptf 22620531, type 3726 and hashtags ['Carton_gris', 'environnement', 'kraft', 'Carton_brun', 'mal_croppe', 'autre_refus', 'cartonnette', 'flou', 'papier', 'Teint_Dans_La_Masse', 'plastique', 'metal'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22620531 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','kraft','Carton_brun','mal_croppe','autre_refus','cartonnette','flou','papier','Teint_Dans_La_Masse','plastique','metal')) 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`=22620531 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','kraft','Carton_brun','mal_croppe','autre_refus','cartonnette','flou','papier','Teint_Dans_La_Masse','plastique','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22620531, 'sub_port_id': 22620532, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047941, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'kraft': {'main_port_id': 22620531, 'sub_port_id': 22620533, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047942, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'mal_croppe': {'main_port_id': 22620531, 'sub_port_id': 22620534, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047943, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'metal': {'main_port_id': 22620531, 'sub_port_id': 22620535, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047944, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'papier': {'main_port_id': 22620531, 'sub_port_id': 22620536, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047945, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'flou': {'main_port_id': 22620531, 'sub_port_id': 22620537, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047946, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'environnement': {'main_port_id': 22620531, 'sub_port_id': 22620538, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047947, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'autre_refus': {'main_port_id': 22620531, 'sub_port_id': 22620539, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047948, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'plastique': {'main_port_id': 22620531, 'sub_port_id': 22620540, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047949, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'Carton_brun': {'main_port_id': 22620531, 'sub_port_id': 22620541, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047950, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'cartonnette': {'main_port_id': 22620531, 'sub_port_id': 22620542, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047951, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}, 'Carton_gris': {'main_port_id': 22620531, 'sub_port_id': 22620543, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047952, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22620532 , 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=22620531 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 (22620532) result : ((1355452582,), (1355452583,), (1355453985,), (1355453986,), (1355453987,), (1355453988,), (1355454027,), (1355454134,), (1355454155,), (1355454156,), (1355454157,), (1355454204,), (1355454205,), (1355454206,), (1355454207,), (1355454208,), (1355454209,), (1355454210,), (1355465041,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620533 , 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=22620531 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 (22620533) result : ((1355454001,), (1355454165,), (1355454166,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620534 , 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=22620531 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 (22620534) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620535 , 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=22620531 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 (22620535) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620536 , 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=22620531 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 (22620536) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620537 , 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=22620531 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 (22620537) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620538 , 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=22620531 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 (22620538) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620539 , 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=22620531 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 (22620539) result : ((1355453930,), (1355453931,), (1355453989,), (1355453990,), (1355453991,), (1355454076,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620540 , 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=22620531 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 (22620540) result : ((1355453999,), (1355454218,), (1355454219,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620541 , 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=22620531 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 (22620541) result : ((1355453995,), (1355453996,), (1355453997,), (1355454163,), (1355454354,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620542 , 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=22620531 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 (22620542) result : ((1355453993,), (1355454030,), (1355454031,), (1355454078,), (1355454158,), (1355454159,), (1355454160,), (1355454161,), (1355454162,), (1355454215,), (1355465045,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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 22620543 , 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=22620531 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 (22620543) result : ((1355454028,), (1355454211,), (1355454212,), (1355454213,), (1355465043,), (1355465044,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22620531) result : ((1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,)) 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`=22620531 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','kraft','Carton_brun','mal_croppe','autre_refus','cartonnette','flou','papier','Teint_Dans_La_Masse','plastique','metal')) 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`=22620531 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','kraft','Carton_brun','mal_croppe','autre_refus','cartonnette','flou','papier','Teint_Dans_La_Masse','plastique','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22620531, 'sub_port_id': 22620544, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047953, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'kraft': {'main_port_id': 22620531, 'sub_port_id': 22620545, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047954, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'mal_croppe': {'main_port_id': 22620531, 'sub_port_id': 22620546, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047955, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'metal': {'main_port_id': 22620531, 'sub_port_id': 22620547, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047956, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'papier': {'main_port_id': 22620531, 'sub_port_id': 22620548, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047957, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'flou': {'main_port_id': 22620531, 'sub_port_id': 22620549, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047958, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'environnement': {'main_port_id': 22620531, 'sub_port_id': 22620550, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047959, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'autre_refus': {'main_port_id': 22620531, 'sub_port_id': 22620551, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047960, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'plastique': {'main_port_id': 22620531, 'sub_port_id': 22620552, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047961, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'Carton_brun': {'main_port_id': 22620531, 'sub_port_id': 22620553, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047962, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'cartonnette': {'main_port_id': 22620531, 'sub_port_id': 22620554, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047963, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 5, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}, 'Carton_gris': {'main_port_id': 22620531, 'sub_port_id': 22620555, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15047964, 'last_updated_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 21, 5, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620544,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620532 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620545,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620533 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620546,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620534 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620547,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620535 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620548,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620536 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620537 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620538 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620539 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620540 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620541 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620554,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620542 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22620555,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22620543 lien utilise dans velours : https://www.fotonower.com/velours/22620544,22620545,22620546,22620547,22620548,22620549,22620550,22620551,22620552,22620553,22620554,22620555?tags=Teint_Dans_La_Masse,kraft,mal_croppe,metal,papier,flou,environnement,autre_refus,plastique,Carton_brun,cartonnette,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22620531]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] map_info['map_portfolio_photo'] : {22620531: [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925]} final : False mtd_id 4302 list_pids : [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] Looping around the photos to save general results len do output : 1 /22620531. 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, '2787013') ('4302', '22620531', '1355454101', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454060', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454055', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454049', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454019', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454016', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454013', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454008', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454003', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453972', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453961', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453954', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453941', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453937', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453925', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453919', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453915', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453903', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453898', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453599', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453261', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453227', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453196', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453149', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452995', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452948', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452917', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452882', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452849', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452813', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452778', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452494', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452432', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452387', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449391', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449360', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355448925', None, None, None, None, None, '2787013') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22620531', "{'Teint_Dans_La_Masse': 22620532, 'kraft': 22620533, 'mal_croppe': 22620534, 'metal': 22620535, 'papier': 22620536, 'flou': 22620537, 'environnement': 22620538, 'autre_refus': 22620539, 'plastique': 22620540, 'Carton_brun': 22620541, 'cartonnette': 22620542, 'Carton_gris': 22620543}", None, None, None, None, '2787013'), ('4302', '22620531', '1355454101', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454060', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454055', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454049', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454019', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454016', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454013', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454008', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454003', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453972', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453961', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453954', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453941', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453937', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453925', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453919', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453915', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453903', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453898', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453599', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453261', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453227', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453196', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453149', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452995', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452948', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452917', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452882', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452849', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452813', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452778', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452494', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452432', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452387', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355449391', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355449360', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355448925', None, None, None, None, None, '2787013')] time used for this insertion : 0.020873546600341797 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.387869119644165 time spend to save output : 0.021425485610961914 total time spend for step 1 : 1.409294605255127 step2:final Sat May 3 05:52:59 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 (22620531) 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 22620531 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1355448925,1355449391,1355449360,1355452494,1355452432,1355452387,1355452948,1355452917,1355452882,1355452849,1355452813,1355452778,1355453261,1355453227,1355453196,1355452995,1355453149,1355453599,1355453925,1355453919,1355453915,1355453903,1355453898,1355453972,1355453961,1355453954,1355453941,1355453937,1355454019,1355454016,1355454013,1355454008,1355454003,1355454060,1355454055,1355454049,1355454101); 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([22620531]) Inside saveOutput : final : False verbose : True original output for save of step final : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} new output for save of step final : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] map_info['map_portfolio_photo'] : {22620531: [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925]} final : False mtd_id 4302 list_pids : [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] Looping around the photos to save general results len do output : 37 /1355454101.Didn't retrieve data . /1355454060.Didn't retrieve data . /1355454055.Didn't retrieve data . /1355454049.Didn't retrieve data . /1355454019.Didn't retrieve data . /1355454016.Didn't retrieve data . /1355454013.Didn't retrieve data . /1355454008.Didn't retrieve data . /1355454003.Didn't retrieve data . /1355453972.Didn't retrieve data . /1355453961.Didn't retrieve data . /1355453954.Didn't retrieve data . /1355453941.Didn't retrieve data . /1355453937.Didn't retrieve data . /1355453925.Didn't retrieve data . /1355453919.Didn't retrieve data . /1355453915.Didn't retrieve data . /1355453903.Didn't retrieve data . /1355453898.Didn't retrieve data . /1355453599.Didn't retrieve data . /1355453261.Didn't retrieve data . /1355453227.Didn't retrieve data . /1355453196.Didn't retrieve data . /1355453149.Didn't retrieve data . /1355452995.Didn't retrieve data . /1355452948.Didn't retrieve data . /1355452917.Didn't retrieve data . /1355452882.Didn't retrieve data . /1355452849.Didn't retrieve data . /1355452813.Didn't retrieve data . /1355452778.Didn't retrieve data . /1355452494.Didn't retrieve data . /1355452432.Didn't retrieve data . /1355452387.Didn't retrieve data . /1355449391.Didn't retrieve data . /1355449360.Didn't retrieve data . /1355448925.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, '2787013') ('4302', '22620531', '1355454101', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454060', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454055', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454049', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454019', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454016', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454013', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454008', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454003', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453972', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453961', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453954', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453941', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453937', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453925', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453919', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453915', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453903', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453898', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453599', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453261', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453227', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453196', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453149', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452995', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452948', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452917', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452882', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452849', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452813', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452778', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452494', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452432', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452387', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449391', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449360', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355448925', None, None, None, None, None, '2787013') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '22620531', '1355454101', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454060', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454055', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454049', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454019', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454016', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454013', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454008', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355454003', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453972', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453961', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453954', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453941', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453937', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453925', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453919', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453915', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453903', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453898', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453599', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453261', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453227', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453196', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355453149', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452995', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452948', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452917', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452882', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452849', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452813', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452778', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452494', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452432', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355452387', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355449391', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355449360', '0.07719529598407529', None, None, None, None, '2787013'), ('4302', '22620531', '1355448925', '0.07719529598407529', None, None, None, None, '2787013')] time used for this insertion : 0.020390033721923828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0666511058807373 time spend to save output : 0.02200794219970703 total time spend for step 2 : 0.08865904808044434 step3:velours_tree Sat May 3 05:52:59 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 : {22620531: [{'Teint_Dans_La_Masse': 22620532, 'kraft': 22620533, 'mal_croppe': 22620534, 'metal': 22620535, 'papier': 22620536, 'flou': 22620537, 'environnement': 22620538, 'autre_refus': 22620539, 'plastique': 22620540, 'Carton_brun': 22620541, 'cartonnette': 22620542, 'Carton_gris': 22620543}]} input_args_next_step : {22620531: ()} output_args : {22620531: [{'Teint_Dans_La_Masse': 22620532, 'kraft': 22620533, 'mal_croppe': 22620534, 'metal': 22620535, 'papier': 22620536, 'flou': 22620537, 'environnement': 22620538, 'autre_refus': 22620539, 'plastique': 22620540, 'Carton_brun': 22620541, 'cartonnette': 22620542, 'Carton_gris': 22620543}]} args : 22620531 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 : ({'Teint_Dans_La_Masse': 22620532, 'kraft': 22620533, 'mal_croppe': 22620534, 'metal': 22620535, 'papier': 22620536, 'flou': 22620537, 'environnement': 22620538, 'autre_refus': 22620539, 'plastique': 22620540, 'Carton_brun': 22620541, 'cartonnette': 22620542, 'Carton_gris': 22620543},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22620531) 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([22620531]) 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.36653947830200195 time spend to save output : 7.987022399902344e-05 total time spend for step 3 : 0.366619348526001 step4:send_mail_cod Sat May 3 05:52:59 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 : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} input_args_next_step : {1355454101: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454101 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454060 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454055 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454049 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454019 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454016 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454013 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454008 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355454003 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453972 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453961 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453954 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453941 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453937 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453925 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453919 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453915 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453903 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453898 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453599 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453261 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453227 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453196 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355453149 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452995 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452948 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452917 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452882 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452849 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452813 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452778 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452494 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452432 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355452387 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355449391 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355449360 depend.output_id : 0 input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ()} output_args : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',)} args : 1355448925 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 : {22620531: [{'Teint_Dans_La_Masse': 22620532, 'kraft': 22620533, 'mal_croppe': 22620534, 'metal': 22620535, 'papier': 22620536, 'flou': 22620537, 'environnement': 22620538, 'autre_refus': 22620539, 'plastique': 22620540, 'Carton_brun': 22620541, 'cartonnette': 22620542, 'Carton_gris': 22620543}]} input_args_next_step : {1355454101: ('0.07719529598407529',), 1355454060: ('0.07719529598407529',), 1355454055: ('0.07719529598407529',), 1355454049: ('0.07719529598407529',), 1355454019: ('0.07719529598407529',), 1355454016: ('0.07719529598407529',), 1355454013: ('0.07719529598407529',), 1355454008: ('0.07719529598407529',), 1355454003: ('0.07719529598407529',), 1355453972: ('0.07719529598407529',), 1355453961: ('0.07719529598407529',), 1355453954: ('0.07719529598407529',), 1355453941: ('0.07719529598407529',), 1355453937: ('0.07719529598407529',), 1355453925: ('0.07719529598407529',), 1355453919: ('0.07719529598407529',), 1355453915: ('0.07719529598407529',), 1355453903: ('0.07719529598407529',), 1355453898: ('0.07719529598407529',), 1355453599: ('0.07719529598407529',), 1355453261: ('0.07719529598407529',), 1355453227: ('0.07719529598407529',), 1355453196: ('0.07719529598407529',), 1355453149: ('0.07719529598407529',), 1355452995: ('0.07719529598407529',), 1355452948: ('0.07719529598407529',), 1355452917: ('0.07719529598407529',), 1355452882: ('0.07719529598407529',), 1355452849: ('0.07719529598407529',), 1355452813: ('0.07719529598407529',), 1355452778: ('0.07719529598407529',), 1355452494: ('0.07719529598407529',), 1355452432: ('0.07719529598407529',), 1355452387: ('0.07719529598407529',), 1355449391: ('0.07719529598407529',), 1355449360: ('0.07719529598407529',), 1355448925: ('0.07719529598407529',), 22620531: ()} output_args : {22620531: [{'Teint_Dans_La_Masse': 22620532, 'kraft': 22620533, 'mal_croppe': 22620534, 'metal': 22620535, 'papier': 22620536, 'flou': 22620537, 'environnement': 22620538, 'autre_refus': 22620539, 'plastique': 22620540, 'Carton_brun': 22620541, 'cartonnette': 22620542, 'Carton_gris': 22620543}]} args : 22620531 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 :38, first value : ('0.07719529598407529',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22620531) 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 (1355454101,1355454060,1355454055,1355454049,1355454019,1355454016,1355454013,1355454008,1355454003,1355453972,1355453961,1355453954,1355453941,1355453937,1355453925,1355453919,1355453915,1355453903,1355453898,1355453599,1355453261,1355453227,1355453196,1355453149,1355452995,1355452948,1355452917,1355452882,1355452849,1355452813,1355452778,1355452494,1355452432,1355452387,1355449391,1355449360,1355448925) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1355448925 begin to download photo : 1355452849 begin to download photo : 1355453261 begin to download photo : 1355453941 begin to download photo : 1355454019 download finish for photo 1355453941 begin to download photo : 1355453954 download finish for photo 1355448925 begin to download photo : 1355449360 download finish for photo 1355453261 begin to download photo : 1355453599 download finish for photo 1355454019 begin to download photo : 1355454049 download finish for photo 1355452849 begin to download photo : 1355452882 download finish for photo 1355453954 begin to download photo : 1355453961 download finish for photo 1355453599 begin to download photo : 1355453898 download finish for photo 1355449360 begin to download photo : 1355449391 download finish for photo 1355454049 begin to download photo : 1355454055 download finish for photo 1355453961 begin to download photo : 1355453972 download finish for photo 1355452882 begin to download photo : 1355452917 download finish for photo 1355449391 begin to download photo : 1355452387 download finish for photo 1355453898 begin to download photo : 1355453903 download finish for photo 1355454055 begin to download photo : 1355454060 download finish for photo 1355453972 begin to download photo : 1355454003 download finish for photo 1355453903 begin to download photo : 1355453915 download finish for photo 1355452387 begin to download photo : 1355452432 download finish for photo 1355454060 begin to download photo : 1355454101 download finish for photo 1355452917 begin to download photo : 1355452948 download finish for photo 1355454003 begin to download photo : 1355454008 download finish for photo 1355453915 begin to download photo : 1355453919 download finish for photo 1355454101 download finish for photo 1355452432 begin to download photo : 1355452494 download finish for photo 1355452948 begin to download photo : 1355452995 download finish for photo 1355454008 begin to download photo : 1355454013 download finish for photo 1355453919 begin to download photo : 1355453925 download finish for photo 1355452494 begin to download photo : 1355452778 download finish for photo 1355452995 begin to download photo : 1355453149 download finish for photo 1355453925 begin to download photo : 1355453937 download finish for photo 1355454013 begin to download photo : 1355454016 download finish for photo 1355453149 begin to download photo : 1355453196 download finish for photo 1355453937 download finish for photo 1355452778 begin to download photo : 1355452813 download finish for photo 1355454016 download finish for photo 1355453196 begin to download photo : 1355453227 download finish for photo 1355452813 download finish for photo 1355453227 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 : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P22620531_03-05-2025_05_53_00.pdf 22620533 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=22620533 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355454001: '1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632588_0.png', 1355454165: '1746213432_2952039_1355454016_53660929bbbfbb49199a4055f51348a5_rle_crop_3780633278_0.png', 1355454166: '1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633306_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d49f51540534e52a31132f590e912605_94198633.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/658a5fa17fd783c5d758bd56c758cbf7_67307627.png change filename to text .imagette226205331746244380/ imagette226205331746244380/1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632588_0.png.png imagette226205331746244380/1746213432_2952039_1355454016_53660929bbbfbb49199a4055f51348a5_rle_crop_3780633278_0.png.png imagette226205331746244380/1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633306_0.png.png imagette226205341746244381/ imagette226205351746244381/ imagette226205371746244381/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec03ba37efb81f527637d7e82740ea2d_27668984.png imagette226205331746244380 22620534 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=22620534 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette226205341746244381 22620535 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=22620535 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette226205351746244381 22620537 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=22620537 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette226205371746244381 22620539 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=22620539 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355453930: '1746213132_2948793_1355453149_a759f1af8986051c9a4a38bfa4b136eb_rle_crop_3780632347_0.png', 1355453931: '1746213132_2948793_1355453149_a759f1af8986051c9a4a38bfa4b136eb_rle_crop_3780632344_0.png', 1355453989: '1746213193_2949385_1355452849_5a6c1125cfcfb2c513d9f00d08f45170_rle_crop_3780632617_0.png', 1355453990: '1746213193_2949385_1355452813_19f0bf757b987a282d2b8a20c0159ef6_rle_crop_3780632631_0.png', 1355453991: '1746213193_2949385_1355452778_37b6e091b98a6029e1601375490fee21_rle_crop_3780632645_0.png', 1355454076: '1746213315_2950693_1355453972_12d9f52a11711b48ebe31d17fb2577ba_rle_crop_3780632824_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05058cb57d3410c57910e1a5704af7f7_70478234.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfb83b230ca7f1eeef3a1f0326a564dd_42091772.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ceeb703e1cddac8b1ec3c4ef4df55e9_48366379.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec26dc479b3cc8fe402ad8f81310f816_77445715.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a8fa98d5574f85f54c0ccf5c9d47b44_8232767.png change filename to text .imagette226205391746244381/ imagette226205391746244381/1746213193_2949385_1355452778_37b6e091b98a6029e1601375490fee21_rle_crop_3780632645_0.png.png imagette226205391746244381/1746213193_2949385_1355452813_19f0bf757b987a282d2b8a20c0159ef6_rle_crop_3780632631_0.png.png imagette226205391746244381/1746213132_2948793_1355453149_a759f1af8986051c9a4a38bfa4b136eb_rle_crop_3780632347_0.png.png imagette226205391746244381/1746213132_2948793_1355453149_a759f1af8986051c9a4a38bfa4b136eb_rle_crop_3780632344_0.png.png imagette226205391746244381/1746213315_2950693_1355453972_12d9f52a11711b48ebe31d17fb2577ba_rle_crop_3780632824_0.png.png imagette226205391746244381/1746213193_2949385_1355452849_5a6c1125cfcfb2c513d9f00d08f45170_rle_crop_3780632617_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9f146129d1170cd6831470ed3e0dfd8_91393733.png imagette226205391746244381 22620540 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=22620540 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355453999: '1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632584_0.png', 1355454218: '1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633510_0.png', 1355454219: '1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633518_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/438e88e5c99f0f996fb9904434adb06d_52283087.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4566fd40ec4e9f751b48e983582b03d2_41557879.png change filename to text .imagette226205401746244381/ imagette226205401746244381/1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633518_0.png.png imagette226205401746244381/1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633510_0.png.png imagette226205401746244381/1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632584_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e19365f038a357a056a7ae3e2e19eb79_5716018.png imagette226205401746244381 22620542 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=22620542 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355453993: '1746213193_2949385_1355452849_5a6c1125cfcfb2c513d9f00d08f45170_rle_crop_3780632619_0.png', 1355454030: '1746213251_2949977_1355449360_ae8559ee8672f4b1a6343c34c8200377_rle_crop_3780632725_0.png', 1355454031: '1746213251_2949977_1355449360_ae8559ee8672f4b1a6343c34c8200377_rle_crop_3780632723_0.png', 1355454078: '1746213315_2950693_1355453898_d5899b5e7be3152dfaccd96aaa89e734_rle_crop_3780632859_0.png', 1355454158: '1746213432_2952039_1355454060_6f082af36bc35a3bf743041ecbf5b371_rle_crop_3780633257_0.png', 1355454159: '1746213432_2952039_1355454016_53660929bbbfbb49199a4055f51348a5_rle_crop_3780633281_0.png', 1355454160: '1746213432_2952039_1355454013_5cf478f513688d7e3f28344e79487b55_rle_crop_3780633291_0.png', 1355454161: '1746213432_2952039_1355454013_5cf478f513688d7e3f28344e79487b55_rle_crop_3780633290_0.png', 1355454162: '1746213432_2952039_1355454003_306a9653394c2b95431d66f441e2fb12_rle_crop_3780633322_0.png', 1355454215: '1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633513_0.png', 1355465045: '1746216734_3007173_1355453954_942ab5b6ec6a2262f0bec7730a78ca68_rle_crop_3780746232_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08df6d427be46fc828e966797c46eb63_4127320.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a5a43c559c9437ba6ab232dd0137683_64544511.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/596fa408d8eb8388a1aaebd3652c4313_90485750.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9edde60eb3811b25e8317ecaa0850dd1_17231625.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a663d3509e97e041ebc098b648c85572_45316137.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c0b37cd388f8572275e757b2e4db58c2_8802330.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcb1afe789a3cea081683477b3fdbb1e_65042270.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80543b3388a979134f6f70e0f6c14418_89255772.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dffdf824abda8db0f4fc107733a17672_9501500.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b767a2c67325e23f6f128402e3ae40fb_1730053.png change filename to text .imagette226205421746244382/ imagette226205421746244382/1746213432_2952039_1355454003_306a9653394c2b95431d66f441e2fb12_rle_crop_3780633322_0.png.png imagette226205421746244382/1746216734_3007173_1355453954_942ab5b6ec6a2262f0bec7730a78ca68_rle_crop_3780746232_0.png.png imagette226205421746244382/1746213315_2950693_1355453898_d5899b5e7be3152dfaccd96aaa89e734_rle_crop_3780632859_0.png.png imagette226205421746244382/1746213193_2949385_1355452849_5a6c1125cfcfb2c513d9f00d08f45170_rle_crop_3780632619_0.png.png imagette226205421746244382/1746213251_2949977_1355449360_ae8559ee8672f4b1a6343c34c8200377_rle_crop_3780632723_0.png.png imagette226205421746244382/1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633513_0.png.png imagette226205421746244382/1746213251_2949977_1355449360_ae8559ee8672f4b1a6343c34c8200377_rle_crop_3780632725_0.png.png imagette226205421746244382/1746213432_2952039_1355454013_5cf478f513688d7e3f28344e79487b55_rle_crop_3780633291_0.png.png imagette226205421746244382/1746213432_2952039_1355454060_6f082af36bc35a3bf743041ecbf5b371_rle_crop_3780633257_0.png.png imagette226205421746244382/1746213432_2952039_1355454016_53660929bbbfbb49199a4055f51348a5_rle_crop_3780633281_0.png.png imagette226205421746244382/1746213432_2952039_1355454013_5cf478f513688d7e3f28344e79487b55_rle_crop_3780633290_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee89f011137828d87d53145982dc6021_6177959.png imagette226205421746244382 22620532 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=22620532 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355454156: '1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633312_0.png', 1355465041: '1746216734_3007173_1355453954_942ab5b6ec6a2262f0bec7730a78ca68_rle_crop_3780746239_0.png', 1355454210: '1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633526_0.png', 1355454209: '1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633527_0.png', 1355454208: '1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633507_0.png', 1355454207: '1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633508_0.png', 1355454206: '1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633514_0.png', 1355454205: '1746213494_2952753_1355452948_95764f3b1678d771b66bd57b029ae1e5_rle_crop_3780633489_0.png', 1355454204: '1746213494_2952753_1355452948_95764f3b1678d771b66bd57b029ae1e5_rle_crop_3780633493_0.png', 1355454157: '1746213432_2952039_1355454003_306a9653394c2b95431d66f441e2fb12_rle_crop_3780633327_0.png', 1355452582: '1746212832_2946558_1355448925_3c93fcc6980cae2ea9bc0c9bc16d96ff_rle_crop_3780631704_0.png', 1355454155: '1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633309_0.png', 1355454134: '1746213420_2951860_1355454055_d89044202e57b23077883ccb547f1819_rle_crop_3780633077_0.png', 1355454027: '1746213251_2949977_1355449360_ae8559ee8672f4b1a6343c34c8200377_rle_crop_3780632731_0.png', 1355453988: '1746213193_2949385_1355452778_37b6e091b98a6029e1601375490fee21_rle_crop_3780632650_0.png', 1355453987: '1746213193_2949385_1355452849_5a6c1125cfcfb2c513d9f00d08f45170_rle_crop_3780632614_0.png', 1355453986: '1746213193_2949385_1355452882_53a4727ceaae12b9cc829cfa1cc3a4d6_rle_crop_3780632605_0.png', 1355453985: '1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632591_0.png', 1355452583: '1746212832_2946558_1355448925_3c93fcc6980cae2ea9bc0c9bc16d96ff_rle_crop_3780631698_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b77f0a799b6833166d955a285da3e8a_58445454.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4eb834633a09029ee37b88127141ff8b_14174783.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbba4c92707330d5411d3c15847129b7_50836015.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7d2da0496a28da8948cf5c92d8ca1ce_42919958.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94a01883ee97280c7e4d0572ff7d3950_96139186.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6031647b0b46e05d2abec5e810087c6f_70525098.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2c6d3db24e1e679b85cf8669a909e54_17257149.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1a9a58e3a93dec3f962e63cfaa5f69b_26147431.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45e353614d1ea4e86367e5c7eaabc954_56460924.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a93889d2295b72d2d2792f9e833025b_18073941.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4829daba7e920ecca8f87d0c60e6b784_75724994.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b72a6e2728cc166b6d1b69b098eb541_77092132.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8ab68033e8d09fa1f6f6b954fff992ea_53054568.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3eb9115abf4f031f41dfac76fbc999e6_78132771.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28f6d352469898abbd91ca1c71b5e7dc_34355540.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a81f0b9eb1019fbc3e7b38312982a3b6_21488956.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f043ded8d1a5e3054af5fbd9c1e707b_90420529.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b95242daef41267c22c1bee9682e860_78387853.png change filename to text .imagette226205321746244383/ imagette226205321746244383/1746213251_2949977_1355449360_ae8559ee8672f4b1a6343c34c8200377_rle_crop_3780632731_0.png.png imagette226205321746244383/1746212832_2946558_1355448925_3c93fcc6980cae2ea9bc0c9bc16d96ff_rle_crop_3780631704_0.png.png imagette226205321746244383/1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633508_0.png.png imagette226205321746244383/1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633312_0.png.png imagette226205321746244383/1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633309_0.png.png imagette226205321746244383/1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632591_0.png.png imagette226205321746244383/1746213193_2949385_1355452778_37b6e091b98a6029e1601375490fee21_rle_crop_3780632650_0.png.png imagette226205321746244383/1746213432_2952039_1355454003_306a9653394c2b95431d66f441e2fb12_rle_crop_3780633327_0.png.png imagette226205321746244383/1746213494_2952753_1355452948_95764f3b1678d771b66bd57b029ae1e5_rle_crop_3780633489_0.png.png imagette226205321746244383/1746216734_3007173_1355453954_942ab5b6ec6a2262f0bec7730a78ca68_rle_crop_3780746239_0.png.png imagette226205321746244383/1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633507_0.png.png imagette226205321746244383/1746213193_2949385_1355452882_53a4727ceaae12b9cc829cfa1cc3a4d6_rle_crop_3780632605_0.png.png imagette226205321746244383/1746213420_2951860_1355454055_d89044202e57b23077883ccb547f1819_rle_crop_3780633077_0.png.png imagette226205321746244383/1746213193_2949385_1355452849_5a6c1125cfcfb2c513d9f00d08f45170_rle_crop_3780632614_0.png.png imagette226205321746244383/1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633514_0.png.png imagette226205321746244383/1746212832_2946558_1355448925_3c93fcc6980cae2ea9bc0c9bc16d96ff_rle_crop_3780631698_0.png.png imagette226205321746244383/1746213494_2952753_1355452948_95764f3b1678d771b66bd57b029ae1e5_rle_crop_3780633493_0.png.png imagette226205321746244383/1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633527_0.png.png imagette226205321746244383/1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633526_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/744a8896f7fbded4478170b00d9ca309_77129524.png imagette226205321746244383 22620541 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=22620541 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355453995: '1746213193_2949385_1355453261_de0031fb5a04fd5b38c2ecdbaba15542_rle_crop_3780632578_0.png', 1355453996: '1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632594_0.png', 1355453997: '1746213193_2949385_1355452882_53a4727ceaae12b9cc829cfa1cc3a4d6_rle_crop_3780632598_0.png', 1355454163: '1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633313_0.png', 1355454354: '1746213612_2954018_1355454101_8a5654155002c22250576f3d8a5d22b0_rle_crop_3780634397_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e76b0806b99de544b973134a45f2760f_54234651.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24bbb9433d0ebc5a93ad49e9e1a184f2_23527982.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d5a480b1d973911a792e828f79b3a58d_3725559.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd32003536818329c1fcc1905aabd50e_14131093.png change filename to text .imagette226205411746244384/ imagette226205411746244384/1746213193_2949385_1355453261_de0031fb5a04fd5b38c2ecdbaba15542_rle_crop_3780632578_0.png.png imagette226205411746244384/1746213193_2949385_1355452917_dd34117321184dd86779a167a2f53896_rle_crop_3780632594_0.png.png imagette226205411746244384/1746213432_2952039_1355454008_a73828f398cd14f9c9e6e88673b9ebd7_rle_crop_3780633313_0.png.png imagette226205411746244384/1746213612_2954018_1355454101_8a5654155002c22250576f3d8a5d22b0_rle_crop_3780634397_0.png.png imagette226205411746244384/1746213193_2949385_1355452882_53a4727ceaae12b9cc829cfa1cc3a4d6_rle_crop_3780632598_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75e83f8cde93d1e3ae018a5d6fe0a3f1_98666976.png imagette226205411746244384 22620543 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=22620543 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355454028: '1746213251_2949977_1355452494_882793405992d3887ea4aae7354c23b6_rle_crop_3780632711_0.png', 1355454211: '1746213494_2952753_1355452948_95764f3b1678d771b66bd57b029ae1e5_rle_crop_3780633494_0.png', 1355454212: '1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633511_0.png', 1355454213: '1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633520_0.png', 1355465043: '1746216734_3007173_1355454019_a433e3df1f05d80080f9f04dcab33e41_rle_crop_3780745949_0.png', 1355465044: '1746216734_3007173_1355453961_2c2b765bfdea9bdfec12d2cc4701576b_rle_crop_3780745965_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2756d7d05cf45c3d4ec780a053902dda_80625168.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d454f4e8b22c7066c8bdb78f8f8a3428_9912039.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ae052261e68bafd93ac0c4b10fd870d_95578720.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75d5c7b8a9bfaf0637b6cbfe39953fc2_64539536.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/583a1d93ce3c0112bdecdeb1ebef016f_13189438.png change filename to text .imagette226205431746244385/ imagette226205431746244385/1746216734_3007173_1355454019_a433e3df1f05d80080f9f04dcab33e41_rle_crop_3780745949_0.png.png imagette226205431746244385/1746216734_3007173_1355453961_2c2b765bfdea9bdfec12d2cc4701576b_rle_crop_3780745965_0.png.png imagette226205431746244385/1746213251_2949977_1355452494_882793405992d3887ea4aae7354c23b6_rle_crop_3780632711_0.png.png imagette226205431746244385/1746213494_2952753_1355452948_95764f3b1678d771b66bd57b029ae1e5_rle_crop_3780633494_0.png.png imagette226205431746244385/1746213494_2952753_1355452387_b63614925a6c90ca4bc5992bb7e7c954_rle_crop_3780633520_0.png.png imagette226205431746244385/1746213494_2952753_1355452432_9e2558afb54a1e1d65ffeb7537907e66_rle_crop_3780633511_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a5da41041c7b6d7836cad12e7d0f178_84881284.png imagette226205431746244385 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22620531 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22620544,22620545,22620546,22620547,22620548,22620549,22620550,22620551,22620552,22620553,22620554,22620555?tags=Teint_Dans_La_Masse,kraft,mal_croppe,metal,papier,flou,environnement,autre_refus,plastique,Carton_brun,cartonnette,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1355454101] : ('0.07719529598407529',) no score found for photo 1355454101 We are sending mail with results at report@fotonower.com args[1355454060] : ('0.07719529598407529',) no score found for photo 1355454060 We are sending mail with results at report@fotonower.com args[1355454055] : ('0.07719529598407529',) no score found for photo 1355454055 We are sending mail with results at report@fotonower.com args[1355454049] : ('0.07719529598407529',) no score found for photo 1355454049 We are sending mail with results at report@fotonower.com args[1355454019] : ('0.07719529598407529',) no score found for photo 1355454019 We are sending mail with results at report@fotonower.com args[1355454016] : ('0.07719529598407529',) no score found for photo 1355454016 We are sending mail with results at report@fotonower.com args[1355454013] : ('0.07719529598407529',) no score found for photo 1355454013 We are sending mail with results at report@fotonower.com args[1355454008] : ('0.07719529598407529',) no score found for photo 1355454008 We are sending mail with results at report@fotonower.com args[1355454003] : ('0.07719529598407529',) no score found for photo 1355454003 We are sending mail with results at report@fotonower.com args[1355453972] : ('0.07719529598407529',) no score found for photo 1355453972 We are sending mail with results at report@fotonower.com args[1355453961] : ('0.07719529598407529',) no score found for photo 1355453961 We are sending mail with results at report@fotonower.com args[1355453954] : ('0.07719529598407529',) no score found for photo 1355453954 We are sending mail with results at report@fotonower.com args[1355453941] : ('0.07719529598407529',) no score found for photo 1355453941 We are sending mail with results at report@fotonower.com args[1355453937] : ('0.07719529598407529',) no score found for photo 1355453937 We are sending mail with results at report@fotonower.com args[1355453925] : ('0.07719529598407529',) no score found for photo 1355453925 We are sending mail with results at report@fotonower.com args[1355453919] : ('0.07719529598407529',) no score found for photo 1355453919 We are sending mail with results at report@fotonower.com args[1355453915] : ('0.07719529598407529',) no score found for photo 1355453915 We are sending mail with results at report@fotonower.com args[1355453903] : ('0.07719529598407529',) no score found for photo 1355453903 We are sending mail with results at report@fotonower.com args[1355453898] : ('0.07719529598407529',) no score found for photo 1355453898 We are sending mail with results at report@fotonower.com args[1355453599] : ('0.07719529598407529',) no score found for photo 1355453599 We are sending mail with results at report@fotonower.com args[1355453261] : ('0.07719529598407529',) no score found for photo 1355453261 We are sending mail with results at report@fotonower.com args[1355453227] : ('0.07719529598407529',) no score found for photo 1355453227 We are sending mail with results at report@fotonower.com args[1355453196] : ('0.07719529598407529',) no score found for photo 1355453196 We are sending mail with results at report@fotonower.com args[1355453149] : ('0.07719529598407529',) no score found for photo 1355453149 We are sending mail with results at report@fotonower.com args[1355452995] : ('0.07719529598407529',) no score found for photo 1355452995 We are sending mail with results at report@fotonower.com args[1355452948] : ('0.07719529598407529',) no score found for photo 1355452948 We are sending mail with results at report@fotonower.com args[1355452917] : ('0.07719529598407529',) no score found for photo 1355452917 We are sending mail with results at report@fotonower.com args[1355452882] : ('0.07719529598407529',) no score found for photo 1355452882 We are sending mail with results at report@fotonower.com args[1355452849] : ('0.07719529598407529',) no score found for photo 1355452849 We are sending mail with results at report@fotonower.com args[1355452813] : ('0.07719529598407529',) no score found for photo 1355452813 We are sending mail with results at report@fotonower.com args[1355452778] : ('0.07719529598407529',) no score found for photo 1355452778 We are sending mail with results at report@fotonower.com args[1355452494] : ('0.07719529598407529',) no score found for photo 1355452494 We are sending mail with results at report@fotonower.com args[1355452432] : ('0.07719529598407529',) no score found for photo 1355452432 We are sending mail with results at report@fotonower.com args[1355452387] : ('0.07719529598407529',) no score found for photo 1355452387 We are sending mail with results at report@fotonower.com args[1355449391] : ('0.07719529598407529',) no score found for photo 1355449391 We are sending mail with results at report@fotonower.com args[1355449360] : ('0.07719529598407529',) no score found for photo 1355449360 We are sending mail with results at report@fotonower.com args[1355448925] : ('0.07719529598407529',) no score found for photo 1355448925 We are sending mail with results at report@fotonower.com refus_total : 0.07719529598407529 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=22620531 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_P22620531_03-05-2025_05_53_00.pdf results_Auto_P22620531_03-05-2025_05_53_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_03-05-2025_05_53_00.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','22620531','results_Auto_P22620531_03-05-2025_05_53_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_03-05-2025_05_53_00.pdf','pdf','','0.44','0.07719529598407529') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22620531]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] map_info['map_portfolio_photo'] : {22620531: [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925]} final : False mtd_id 4302 list_pids : [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] 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, '2787013') ('4302', '22620531', '1355454101', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454060', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454055', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454049', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454019', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454016', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454013', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454008', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454003', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453972', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453961', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453954', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453941', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453937', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453925', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453919', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453915', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453903', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453898', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453599', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453261', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453227', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453196', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453149', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452995', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452948', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452917', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452882', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452849', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452813', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452778', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452494', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452432', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452387', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449391', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449360', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355448925', None, None, None, None, None, '2787013') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '22620531', '1355454101', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454060', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454055', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454049', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454019', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454016', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454013', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454008', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454003', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453972', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453961', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453954', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453941', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453937', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453925', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453919', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453915', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453903', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453898', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453599', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453261', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453227', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453196', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453149', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452995', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452948', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452917', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452882', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452849', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452813', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452778', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452494', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452432', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452387', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355449391', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355449360', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355448925', None, None, None, None, None, '2787013')] time used for this insertion : 0.018500566482543945 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.259801387786865 time spend to save output : 0.01898336410522461 total time spend for step 4 : 8.27878475189209 step5:split_time_score Sat May 3 05:53:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22620531'] 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 : [('22620531',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22620531) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1355454019: {'path': 'temp/1746244379_724991_1355454019_a433e3df1f05d80080f9f04dcab33e41.jpg', 'extension': 'jpg'}, 1355454049: {'path': 'temp/1746244379_724991_1355454049_ea3e5d4820683bbf8976b43479190559.jpg', 'extension': 'jpg'}, 1355454055: {'path': 'temp/1746244379_724991_1355454055_d89044202e57b23077883ccb547f1819.jpg', 'extension': 'jpg'}, 1355454060: {'path': 'temp/1746244379_724991_1355454060_6f082af36bc35a3bf743041ecbf5b371.jpg', 'extension': 'jpg'}, 1355454101: {'path': 'temp/1746244379_724991_1355454101_8a5654155002c22250576f3d8a5d22b0.jpg', 'extension': 'jpg'}, 1355453261: {'path': 'temp/1746244379_724991_1355453261_de0031fb5a04fd5b38c2ecdbaba15542.jpg', 'extension': 'jpg'}, 1355453599: {'path': 'temp/1746244379_724991_1355453599_69b002f6143ce972f657b208e0c7ad5b.jpg', 'extension': 'jpg'}, 1355453898: {'path': 'temp/1746244379_724991_1355453898_d5899b5e7be3152dfaccd96aaa89e734.jpg', 'extension': 'jpg'}, 1355453903: {'path': 'temp/1746244379_724991_1355453903_b96856db4d7cb649b613b0e81c5327ec.jpg', 'extension': 'jpg'}, 1355453915: {'path': 'temp/1746244379_724991_1355453915_97816c694d7536b3b3569a7d13254132.jpg', 'extension': 'jpg'}, 1355453919: {'path': 'temp/1746244379_724991_1355453919_01ecedc20155ebfcdb45b59eb09533ae.jpg', 'extension': 'jpg'}, 1355453925: {'path': 'temp/1746244379_724991_1355453925_f154bdf1753c14874235e5830edec6ed.jpg', 'extension': 'jpg'}, 1355453937: {'path': 'temp/1746244379_724991_1355453937_a3c15ad35bf4455aa91ea1a17494df9c.jpg', 'extension': 'jpg'}, 1355453941: {'path': 'temp/1746244379_724991_1355453941_ab4f319f66e654645b39cba08c49002f.jpg', 'extension': 'jpg'}, 1355453954: {'path': 'temp/1746244379_724991_1355453954_942ab5b6ec6a2262f0bec7730a78ca68.jpg', 'extension': 'jpg'}, 1355453961: {'path': 'temp/1746244379_724991_1355453961_2c2b765bfdea9bdfec12d2cc4701576b.jpg', 'extension': 'jpg'}, 1355453972: {'path': 'temp/1746244379_724991_1355453972_12d9f52a11711b48ebe31d17fb2577ba.jpg', 'extension': 'jpg'}, 1355454003: {'path': 'temp/1746244379_724991_1355454003_306a9653394c2b95431d66f441e2fb12.jpg', 'extension': 'jpg'}, 1355454008: {'path': 'temp/1746244379_724991_1355454008_a73828f398cd14f9c9e6e88673b9ebd7.jpg', 'extension': 'jpg'}, 1355454013: {'path': 'temp/1746244379_724991_1355454013_5cf478f513688d7e3f28344e79487b55.jpg', 'extension': 'jpg'}, 1355454016: {'path': 'temp/1746244379_724991_1355454016_53660929bbbfbb49199a4055f51348a5.jpg', 'extension': 'jpg'}, 1355448925: {'path': 'temp/1746244379_724991_1355448925_3c93fcc6980cae2ea9bc0c9bc16d96ff.jpg', 'extension': 'jpg'}, 1355449360: {'path': 'temp/1746244379_724991_1355449360_ae8559ee8672f4b1a6343c34c8200377.jpg', 'extension': 'jpg'}, 1355449391: {'path': 'temp/1746244379_724991_1355449391_1f1674b96c688c85e99bac43481d7e32.jpg', 'extension': 'jpg'}, 1355452387: {'path': 'temp/1746244379_724991_1355452387_b63614925a6c90ca4bc5992bb7e7c954.jpg', 'extension': 'jpg'}, 1355452432: {'path': 'temp/1746244379_724991_1355452432_9e2558afb54a1e1d65ffeb7537907e66.jpg', 'extension': 'jpg'}, 1355452494: {'path': 'temp/1746244379_724991_1355452494_882793405992d3887ea4aae7354c23b6.jpg', 'extension': 'jpg'}, 1355452778: {'path': 'temp/1746244379_724991_1355452778_37b6e091b98a6029e1601375490fee21.jpg', 'extension': 'jpg'}, 1355452813: {'path': 'temp/1746244379_724991_1355452813_19f0bf757b987a282d2b8a20c0159ef6.jpg', 'extension': 'jpg'}, 1355452849: {'path': 'temp/1746244379_724991_1355452849_5a6c1125cfcfb2c513d9f00d08f45170.jpg', 'extension': 'jpg'}, 1355452882: {'path': 'temp/1746244379_724991_1355452882_53a4727ceaae12b9cc829cfa1cc3a4d6.jpg', 'extension': 'jpg'}, 1355452917: {'path': 'temp/1746244379_724991_1355452917_dd34117321184dd86779a167a2f53896.jpg', 'extension': 'jpg'}, 1355452948: {'path': 'temp/1746244379_724991_1355452948_95764f3b1678d771b66bd57b029ae1e5.jpg', 'extension': 'jpg'}, 1355452995: {'path': 'temp/1746244379_724991_1355452995_65f57794a5c2ab1c6354233daa91c507.jpg', 'extension': 'jpg'}, 1355453149: {'path': 'temp/1746244379_724991_1355453149_a759f1af8986051c9a4a38bfa4b136eb.jpg', 'extension': 'jpg'}, 1355453196: {'path': 'temp/1746244379_724991_1355453196_a166b22e9efb8c58a9bf7b790a4fdbad.jpg', 'extension': 'jpg'}, 1355453227: {'path': 'temp/1746244379_724991_1355453227_a20d92e84de58d37de43b666586d9b10.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 = 22620531; (('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 = 22620531 group by h (('21', 37),) 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=22620531 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 (22620531) 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 (22620531) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02052025 22620531 Nombre de photos uploadées : 37 / 23040 (0%) 02052025 22620531 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 02052025 22620531 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1355448925, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c93fcc6980cae2ea9bc0c9bc16d96ff.jpg', 'username': None, 'uploaded_at': 1746212527, 'text': 'image_02052025_21_01_04_010159m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355449391, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f1674b96c688c85e99bac43481d7e32.jpg', 'username': None, 'uploaded_at': 1746212588, 'text': 'image_02052025_21_01_14_009125m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355449360, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae8559ee8672f4b1a6343c34c8200377.jpg', 'username': None, 'uploaded_at': 1746212588, 'text': 'image_02052025_21_02_04_010165m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355452494, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/882793405992d3887ea4aae7354c23b6.jpg', 'username': None, 'uploaded_at': 1746212832, 'text': 'image_02052025_21_02_14_010134m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018668174743652344 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22620531, '2025-05-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1765550,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023773670196533203 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= 1765550 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589204, 'dashboard_result_id': 10266252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589345, 'dashboard_result_id': 10266253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589743, 'dashboard_result_id': 10266254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590338, 'dashboard_result_id': 10266255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590734, 'dashboard_result_id': 10266256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590863, 'dashboard_result_id': 10266257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22591348, 'dashboard_result_id': 10266258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22591636, 'dashboard_result_id': 10266259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22592221, 'dashboard_result_id': 10266260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22592634, 'dashboard_result_id': 10266261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22593197, 'dashboard_result_id': 10266262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22593637, 'dashboard_result_id': 10266263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22594215, 'dashboard_result_id': 10266264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22594939, 'dashboard_result_id': 10266265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22595293, 'dashboard_result_id': 10266266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22596857, 'dashboard_result_id': 10266267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22597376, 'dashboard_result_id': 10266268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22597852, 'dashboard_result_id': 10266269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_03-05-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22598402, 'dashboard_result_id': 10266270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_03-05-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22598714, 'dashboard_result_id': 10266271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_03-05-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22599216, 'dashboard_result_id': 10266272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_03-05-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22599783, 'dashboard_result_id': 10266273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_03-05-2025_05_42_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22600238, 'dashboard_result_id': 10266274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_03-05-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22600776, 'dashboard_result_id': 10266275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_03-05-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22601365, 'dashboard_result_id': 10266276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_03-05-2025_05_43_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22601825, 'dashboard_result_id': 10266277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22604792, 'dashboard_result_id': 10266278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_03-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22605092, 'dashboard_result_id': 10266279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_03-05-2025_05_44_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22605713, 'dashboard_result_id': 10266280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_03-05-2025_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22606058, 'dashboard_result_id': 10266281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_03-05-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22606881, 'dashboard_result_id': 10266282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_03-05-2025_05_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22607985, 'dashboard_result_id': 10266283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_03-05-2025_05_46_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22608501, 'dashboard_result_id': 10266284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22609408, 'dashboard_result_id': 10266285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_03-05-2025_05_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22609715, 'dashboard_result_id': 10266286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_03-05-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22610437, 'dashboard_result_id': 10266287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_03-05-2025_05_47_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22610994, 'dashboard_result_id': 10266288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_03-05-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22611606, 'dashboard_result_id': 10266289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_03-05-2025_05_48_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22613023, 'dashboard_result_id': 10266290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_03-05-2025_05_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22613686, 'dashboard_result_id': 10266291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_03-05-2025_05_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22614349, 'dashboard_result_id': 10266292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22615158, 'dashboard_result_id': 10266293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_03-05-2025_05_49_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22615897, 'dashboard_result_id': 10266294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_03-05-2025_05_50_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22616551, 'dashboard_result_id': 10266295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_03-05-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22617232, 'dashboard_result_id': 10266296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_03-05-2025_05_51_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22618017, 'dashboard_result_id': 10266297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_03-05-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22618470, 'dashboard_result_id': 10266298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_03-05-2025_05_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22619074, 'dashboard_result_id': 10266299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_03-05-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22619744, 'dashboard_result_id': 10266300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_03-05-2025_05_52_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22620531, 'dashboard_result_id': 10266301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_02-05-2025_21_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22620848, 'dashboard_result_id': 10266302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22621300, 'dashboard_result_id': 10266303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22621997, 'dashboard_result_id': 10266304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22622472, 'dashboard_result_id': 10266305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22623210, 'dashboard_result_id': 10266306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22624019, 'dashboard_result_id': 10266307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22624848, 'dashboard_result_id': 10266308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22625733, 'dashboard_result_id': 10266309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22626287, 'dashboard_result_id': 10266310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22627137, 'dashboard_result_id': 10266311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22627814, 'dashboard_result_id': 10266312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, '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 = 22589204 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786964, 'mtr_portfolio_id': 22589204, 'created_at': datetime.datetime(2025, 5, 3, 5, 34, 29), 'result': '0.11578722670962653', 'result_long': None, 'result_double': None}] Qualite : 0.11578722670962653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, 'pht': 3726}}" where mtr_portfolio_id = 22589204 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22589204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266252, 0.11578722670962653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22589345 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786965, 'mtr_portfolio_id': 22589345, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 1), 'result': '0.06688132689946549', 'result_long': None, 'result_double': None}] Qualite : 0.06688132689946549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, 'pht': 3726}}" where mtr_portfolio_id = 22589345 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22589345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266253, 0.06688132689946549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22589743 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786966, 'mtr_portfolio_id': 22589743, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 31), 'result': '0.05017581572593625', 'result_long': None, 'result_double': None}] Qualite : 0.05017581572593625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589743 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589743 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, 'pht': 3726}}" where mtr_portfolio_id = 22589743 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22589743 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266254, 0.05017581572593625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22590338 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786967, 'mtr_portfolio_id': 22590338, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 28), 'result': '0.060157682598092205', 'result_long': None, 'result_double': None}] Qualite : 0.060157682598092205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590338 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, 'pht': 3726}}" where mtr_portfolio_id = 22590338 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22590338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266255, 0.060157682598092205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22590734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786968, 'mtr_portfolio_id': 22590734, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 57), 'result': '0.037654898727380724', 'result_long': None, 'result_double': None}] Qualite : 0.037654898727380724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, 'pht': 3726}}" where mtr_portfolio_id = 22590734 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22590734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266256, 0.037654898727380724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22590863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786969, 'mtr_portfolio_id': 22590863, 'created_at': datetime.datetime(2025, 5, 3, 5, 36, 29), 'result': '0.0644989178083683', 'result_long': None, 'result_double': None}] Qualite : 0.0644989178083683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, 'pht': 3726}}" where mtr_portfolio_id = 22590863 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22590863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266257, 0.0644989178083683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22591348 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786970, 'mtr_portfolio_id': 22591348, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 1), 'result': '0.05650957500100291', 'result_long': None, 'result_double': None}] Qualite : 0.05650957500100291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22591348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22591348 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, 'pht': 3726}}" where mtr_portfolio_id = 22591348 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22591348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266258, 0.05650957500100291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22591636 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786971, 'mtr_portfolio_id': 22591636, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 31), 'result': '0.06432818209472826', 'result_long': None, 'result_double': None}] Qualite : 0.06432818209472826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22591636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22591636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, 'pht': 3726}}" where mtr_portfolio_id = 22591636 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22591636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266259, 0.06432818209472826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22592221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786972, 'mtr_portfolio_id': 22592221, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 31), 'result': '0.04293719768344841', 'result_long': None, 'result_double': None}] Qualite : 0.04293719768344841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22592221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22592221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, 'pht': 3726}}" where mtr_portfolio_id = 22592221 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22592221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266260, 0.04293719768344841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22592634 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786973, 'mtr_portfolio_id': 22592634, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 28), 'result': '0.06915123421417789', 'result_long': None, 'result_double': None}] Qualite : 0.06915123421417789 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22592634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22592634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, 'pht': 3726}}" where mtr_portfolio_id = 22592634 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22592634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266261, 0.06915123421417789, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22593197 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786974, 'mtr_portfolio_id': 22593197, 'created_at': datetime.datetime(2025, 5, 3, 5, 38), 'result': '0.047061770014372145', 'result_long': None, 'result_double': None}] Qualite : 0.047061770014372145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22593197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22593197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, 'pht': 3726}}" where mtr_portfolio_id = 22593197 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22593197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266262, 0.047061770014372145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22593637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786975, 'mtr_portfolio_id': 22593637, 'created_at': datetime.datetime(2025, 5, 3, 5, 38, 30), 'result': '0.04982009173922521', 'result_long': None, 'result_double': None}] Qualite : 0.04982009173922521 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22593637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22593637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, 'pht': 3726}}" where mtr_portfolio_id = 22593637 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22593637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266263, 0.04982009173922521, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22594215 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786976, 'mtr_portfolio_id': 22594215, 'created_at': datetime.datetime(2025, 5, 3, 5, 38, 58), 'result': '0.052097345220194914', 'result_long': None, 'result_double': None}] Qualite : 0.052097345220194914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22594215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22594215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, 'pht': 3726}}" where mtr_portfolio_id = 22594215 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22594215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266264, 0.052097345220194914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22594939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786977, 'mtr_portfolio_id': 22594939, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 27), 'result': '0.06944314021104031', 'result_long': None, 'result_double': None}] Qualite : 0.06944314021104031 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22594939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22594939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, 'pht': 3726}}" where mtr_portfolio_id = 22594939 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22594939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266265, 0.06944314021104031, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22595293 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786978, 'mtr_portfolio_id': 22595293, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 29), 'result': '0.06928306352067726', 'result_long': None, 'result_double': None}] Qualite : 0.06928306352067726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22595293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22595293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, 'pht': 3726}}" where mtr_portfolio_id = 22595293 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22595293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266266, 0.06928306352067726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22596857 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786979, 'mtr_portfolio_id': 22596857, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 57), 'result': '0.03762434420756704', 'result_long': None, 'result_double': None}] Qualite : 0.03762434420756704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22596857 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22596857 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, 'pht': 3726}}" where mtr_portfolio_id = 22596857 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22596857 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266267, 0.03762434420756704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22597376 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786980, 'mtr_portfolio_id': 22597376, 'created_at': datetime.datetime(2025, 5, 3, 5, 40, 30), 'result': '0.04540340085618681', 'result_long': None, 'result_double': None}] Qualite : 0.04540340085618681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22597376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22597376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, 'pht': 3726}}" where mtr_portfolio_id = 22597376 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22597376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266268, 0.04540340085618681, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22597852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786981, 'mtr_portfolio_id': 22597852, 'created_at': datetime.datetime(2025, 5, 3, 5, 40, 59), 'result': '0.05055349238047824', 'result_long': None, 'result_double': None}] Qualite : 0.05055349238047824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22597852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_03-05-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22597852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_03-05-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, 'pht': 3726}}" where mtr_portfolio_id = 22597852 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22597852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266269, 0.05055349238047824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_03-05-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22598402 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786982, 'mtr_portfolio_id': 22598402, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 1), 'result': '0.04809181767037908', 'result_long': None, 'result_double': None}] Qualite : 0.04809181767037908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22598402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_03-05-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22598402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_03-05-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, 'pht': 3726}}" where mtr_portfolio_id = 22598402 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22598402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266270, 0.04809181767037908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_03-05-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22598714 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786983, 'mtr_portfolio_id': 22598714, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 28), 'result': '0.04822148532481953', 'result_long': None, 'result_double': None}] Qualite : 0.04822148532481953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22598714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_03-05-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22598714 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_03-05-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, 'pht': 3726}}" where mtr_portfolio_id = 22598714 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22598714 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266271, 0.04822148532481953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_03-05-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22599216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786984, 'mtr_portfolio_id': 22599216, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 29), 'result': '0.06818539466315302', 'result_long': None, 'result_double': None}] Qualite : 0.06818539466315302 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22599216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_03-05-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22599216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_03-05-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, 'pht': 3726}}" where mtr_portfolio_id = 22599216 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22599216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266272, 0.06818539466315302, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_03-05-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22599783 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786985, 'mtr_portfolio_id': 22599783, 'created_at': datetime.datetime(2025, 5, 3, 5, 41, 58), 'result': '0.07033576920981548', 'result_long': None, 'result_double': None}] Qualite : 0.07033576920981548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22599783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_03-05-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22599783 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_03-05-2025_05_42_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, 'pht': 3726}}" where mtr_portfolio_id = 22599783 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22599783 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266273, 0.07033576920981548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_03-05-2025_05_42_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22600238 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786986, 'mtr_portfolio_id': 22600238, 'created_at': datetime.datetime(2025, 5, 3, 5, 42, 31), 'result': '0.048028297389543693', 'result_long': None, 'result_double': None}] Qualite : 0.048028297389543693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22600238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_03-05-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22600238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_03-05-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, 'pht': 3726}}" where mtr_portfolio_id = 22600238 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22600238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266274, 0.048028297389543693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_03-05-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22600776 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786987, 'mtr_portfolio_id': 22600776, 'created_at': datetime.datetime(2025, 5, 3, 5, 42, 58), 'result': '0.0554080460909729', 'result_long': None, 'result_double': None}] Qualite : 0.0554080460909729 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22600776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_03-05-2025_05_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22600776 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_03-05-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, 'pht': 3726}}" where mtr_portfolio_id = 22600776 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22600776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266275, 0.0554080460909729, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_03-05-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22601365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786988, 'mtr_portfolio_id': 22601365, 'created_at': datetime.datetime(2025, 5, 3, 5, 43, 32), 'result': '0.053400222395469696', 'result_long': None, 'result_double': None}] Qualite : 0.053400222395469696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22601365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_03-05-2025_05_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22601365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_03-05-2025_05_43_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, 'pht': 3726}}" where mtr_portfolio_id = 22601365 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22601365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266276, 0.053400222395469696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_03-05-2025_05_43_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22601825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786989, 'mtr_portfolio_id': 22601825, 'created_at': datetime.datetime(2025, 5, 3, 5, 43, 30), 'result': '0.04072841462141023', 'result_long': None, 'result_double': None}] Qualite : 0.04072841462141023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22601825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22601825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, 'pht': 3726}}" where mtr_portfolio_id = 22601825 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22601825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266277, 0.04072841462141023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22604792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786990, 'mtr_portfolio_id': 22604792, 'created_at': datetime.datetime(2025, 5, 3, 5, 44), 'result': '0.03894169738071198', 'result_long': None, 'result_double': None}] Qualite : 0.03894169738071198 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22604792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_03-05-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22604792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_03-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, 'pht': 3726}}" where mtr_portfolio_id = 22604792 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22604792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266278, 0.03894169738071198, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_03-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22605092 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786991, 'mtr_portfolio_id': 22605092, 'created_at': datetime.datetime(2025, 5, 3, 5, 44, 29), 'result': '0.035247145344444814', 'result_long': None, 'result_double': None}] Qualite : 0.035247145344444814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22605092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_03-05-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22605092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_03-05-2025_05_44_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, 'pht': 3726}}" where mtr_portfolio_id = 22605092 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22605092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266279, 0.035247145344444814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_03-05-2025_05_44_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22605713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786992, 'mtr_portfolio_id': 22605713, 'created_at': datetime.datetime(2025, 5, 3, 5, 44, 59), 'result': '0.05817519317256889', 'result_long': None, 'result_double': None}] Qualite : 0.05817519317256889 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22605713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_03-05-2025_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22605713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_03-05-2025_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, 'pht': 3726}}" where mtr_portfolio_id = 22605713 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22605713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266280, 0.05817519317256889, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_03-05-2025_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22606058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786993, 'mtr_portfolio_id': 22606058, 'created_at': datetime.datetime(2025, 5, 3, 5, 45, 27), 'result': '0.05299306093987235', 'result_long': None, 'result_double': None}] Qualite : 0.05299306093987235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22606058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_03-05-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22606058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_03-05-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, 'pht': 3726}}" where mtr_portfolio_id = 22606058 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22606058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266281, 0.05299306093987235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_03-05-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22606881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786994, 'mtr_portfolio_id': 22606881, 'created_at': datetime.datetime(2025, 5, 3, 5, 45, 29), 'result': '0.03180261307965461', 'result_long': None, 'result_double': None}] Qualite : 0.03180261307965461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22606881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_03-05-2025_05_45_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22606881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_03-05-2025_05_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, 'pht': 3726}}" where mtr_portfolio_id = 22606881 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22606881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266282, 0.03180261307965461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_03-05-2025_05_45_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22607985 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786995, 'mtr_portfolio_id': 22607985, 'created_at': datetime.datetime(2025, 5, 3, 5, 45, 59), 'result': '0.050384148815886126', 'result_long': None, 'result_double': None}] Qualite : 0.050384148815886126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22607985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_03-05-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22607985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_03-05-2025_05_46_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, 'pht': 3726}}" where mtr_portfolio_id = 22607985 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22607985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266283, 0.050384148815886126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_03-05-2025_05_46_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22608501 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786996, 'mtr_portfolio_id': 22608501, 'created_at': datetime.datetime(2025, 5, 3, 5, 46, 30), 'result': '0.047051359921170294', 'result_long': None, 'result_double': None}] Qualite : 0.047051359921170294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22608501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22608501 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, 'pht': 3726}}" where mtr_portfolio_id = 22608501 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22608501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266284, 0.047051359921170294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_03-05-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22609408 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786997, 'mtr_portfolio_id': 22609408, 'created_at': datetime.datetime(2025, 5, 3, 5, 46, 58), 'result': '0.03428677341878281', 'result_long': None, 'result_double': None}] Qualite : 0.03428677341878281 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22609408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_03-05-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22609408 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_03-05-2025_05_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, 'pht': 3726}}" where mtr_portfolio_id = 22609408 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22609408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266285, 0.03428677341878281, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_03-05-2025_05_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22609715 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786998, 'mtr_portfolio_id': 22609715, 'created_at': datetime.datetime(2025, 5, 3, 5, 47, 31), 'result': '0.039319208231918854', 'result_long': None, 'result_double': None}] Qualite : 0.039319208231918854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22609715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_03-05-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22609715 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_03-05-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, 'pht': 3726}}" where mtr_portfolio_id = 22609715 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22609715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266286, 0.039319208231918854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_03-05-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22610437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2786999, 'mtr_portfolio_id': 22610437, 'created_at': datetime.datetime(2025, 5, 3, 5, 47, 27), 'result': '0.060420566902828085', 'result_long': None, 'result_double': None}] Qualite : 0.060420566902828085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22610437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_03-05-2025_05_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22610437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_03-05-2025_05_47_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, 'pht': 3726}}" where mtr_portfolio_id = 22610437 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22610437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266287, 0.060420566902828085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_03-05-2025_05_47_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22610994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787000, 'mtr_portfolio_id': 22610994, 'created_at': datetime.datetime(2025, 5, 3, 5, 47, 58), 'result': '0.039622957665161836', 'result_long': None, 'result_double': None}] Qualite : 0.039622957665161836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22610994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_03-05-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22610994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_03-05-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, 'pht': 3726}}" where mtr_portfolio_id = 22610994 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22610994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266288, 0.039622957665161836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_03-05-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22611606 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787001, 'mtr_portfolio_id': 22611606, 'created_at': datetime.datetime(2025, 5, 3, 5, 48, 28), 'result': '0.06780490754788122', 'result_long': None, 'result_double': None}] Qualite : 0.06780490754788122 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22611606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_03-05-2025_05_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22611606 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_03-05-2025_05_48_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, 'pht': 3726}}" where mtr_portfolio_id = 22611606 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22611606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266289, 0.06780490754788122, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_03-05-2025_05_48_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22613023 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787002, 'mtr_portfolio_id': 22613023, 'created_at': datetime.datetime(2025, 5, 3, 5, 49), 'result': '0.05118277401515044', 'result_long': None, 'result_double': None}] Qualite : 0.05118277401515044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22613023 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_03-05-2025_05_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22613023 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_03-05-2025_05_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, 'pht': 3726}}" where mtr_portfolio_id = 22613023 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22613023 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266290, 0.05118277401515044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_03-05-2025_05_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22613686 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787003, 'mtr_portfolio_id': 22613686, 'created_at': datetime.datetime(2025, 5, 3, 5, 49), 'result': '0.0435759884724873', 'result_long': None, 'result_double': None}] Qualite : 0.0435759884724873 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22613686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_03-05-2025_05_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22613686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_03-05-2025_05_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, 'pht': 3726}}" where mtr_portfolio_id = 22613686 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22613686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266291, 0.0435759884724873, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_03-05-2025_05_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22614349 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787004, 'mtr_portfolio_id': 22614349, 'created_at': datetime.datetime(2025, 5, 3, 5, 49, 32), 'result': '0.050494736303852636', 'result_long': None, 'result_double': None}] Qualite : 0.050494736303852636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22614349 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22614349 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, 'pht': 3726}}" where mtr_portfolio_id = 22614349 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22614349 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266292, 0.050494736303852636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22615158 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787005, 'mtr_portfolio_id': 22615158, 'created_at': datetime.datetime(2025, 5, 3, 5, 49, 28), 'result': '0.077407019913314', 'result_long': None, 'result_double': None}] Qualite : 0.077407019913314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22615158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_03-05-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22615158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_03-05-2025_05_49_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, 'pht': 3726}}" where mtr_portfolio_id = 22615158 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22615158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266293, 0.077407019913314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_03-05-2025_05_49_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22615897 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787006, 'mtr_portfolio_id': 22615897, 'created_at': datetime.datetime(2025, 5, 3, 5, 50, 1), 'result': '0.032560944101754696', 'result_long': None, 'result_double': None}] Qualite : 0.032560944101754696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22615897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_03-05-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22615897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_03-05-2025_05_50_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, 'pht': 3726}}" where mtr_portfolio_id = 22615897 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22615897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266294, 0.032560944101754696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_03-05-2025_05_50_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22616551 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787007, 'mtr_portfolio_id': 22616551, 'created_at': datetime.datetime(2025, 5, 3, 5, 50, 30), 'result': '0.03603503527858433', 'result_long': None, 'result_double': None}] Qualite : 0.03603503527858433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22616551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_03-05-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22616551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_03-05-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, 'pht': 3726}}" where mtr_portfolio_id = 22616551 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22616551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266295, 0.03603503527858433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_03-05-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22617232 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787008, 'mtr_portfolio_id': 22617232, 'created_at': datetime.datetime(2025, 5, 3, 5, 51), 'result': '0.046535570474801904', 'result_long': None, 'result_double': None}] Qualite : 0.046535570474801904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22617232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_03-05-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22617232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_03-05-2025_05_51_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, 'pht': 3726}}" where mtr_portfolio_id = 22617232 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22617232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266296, 0.046535570474801904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_03-05-2025_05_51_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22618017 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787009, 'mtr_portfolio_id': 22618017, 'created_at': datetime.datetime(2025, 5, 3, 5, 51, 32), 'result': '0.04490422668688391', 'result_long': None, 'result_double': None}] Qualite : 0.04490422668688391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22618017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_03-05-2025_05_51_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22618017 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_03-05-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, 'pht': 3726}}" where mtr_portfolio_id = 22618017 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22618017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266297, 0.04490422668688391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_03-05-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22618470 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787010, 'mtr_portfolio_id': 22618470, 'created_at': datetime.datetime(2025, 5, 3, 5, 51, 29), 'result': '0.0401440053485836', 'result_long': None, 'result_double': None}] Qualite : 0.0401440053485836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22618470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_03-05-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22618470 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_03-05-2025_05_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, 'pht': 3726}}" where mtr_portfolio_id = 22618470 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22618470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266298, 0.0401440053485836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_03-05-2025_05_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22619074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787011, 'mtr_portfolio_id': 22619074, 'created_at': datetime.datetime(2025, 5, 3, 5, 52), 'result': '0.05368512975548737', 'result_long': None, 'result_double': None}] Qualite : 0.05368512975548737 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22619074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_03-05-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22619074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_03-05-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, 'pht': 3726}}" where mtr_portfolio_id = 22619074 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22619074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266299, 0.05368512975548737, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_03-05-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22619744 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787012, 'mtr_portfolio_id': 22619744, 'created_at': datetime.datetime(2025, 5, 3, 5, 52, 28), 'result': '0.06401292806113919', 'result_long': None, 'result_double': None}] Qualite : 0.06401292806113919 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22619744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_03-05-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22619744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_03-05-2025_05_52_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, 'pht': 3726}}" where mtr_portfolio_id = 22619744 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22619744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266300, 0.06401292806113919, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_03-05-2025_05_52_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22620531 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2787013, 'mtr_portfolio_id': 22620531, 'created_at': datetime.datetime(2025, 5, 3, 5, 52, 59), 'result': '0.07719529598407529', 'result_long': None, 'result_double': None}] Qualite : 0.07719529598407529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22620531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_03-05-2025_05_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22620531 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_03-05-2025_05_53_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, 'pht': 3726}}" where mtr_portfolio_id = 22620531 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22620531 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266301, 0.07719529598407529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_03-05-2025_05_53_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22620848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785316, 'mtr_portfolio_id': 22620848, 'created_at': datetime.datetime(2025, 5, 2, 21, 32, 58), 'result': '0.05602375382720463', 'result_long': None, 'result_double': None}] Qualite : 0.05602375382720463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22620848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22620848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, 'pht': 3726}}" where mtr_portfolio_id = 22620848 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22620848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266302, 0.05602375382720463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22621300 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785372, 'mtr_portfolio_id': 22621300, 'created_at': datetime.datetime(2025, 5, 2, 21, 50, 58), 'result': '0.06109813489790857', 'result_long': None, 'result_double': None}] Qualite : 0.06109813489790857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22621300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22621300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, 'pht': 3726}}" where mtr_portfolio_id = 22621300 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22621300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266303, 0.06109813489790857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22621997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785450, 'mtr_portfolio_id': 22621997, 'created_at': datetime.datetime(2025, 5, 2, 22, 3, 30), 'result': '0.07221711131891165', 'result_long': None, 'result_double': None}] Qualite : 0.07221711131891165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22621997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22621997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, 'pht': 3726}}" where mtr_portfolio_id = 22621997 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22621997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266304, 0.07221711131891165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22622472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785530, 'mtr_portfolio_id': 22622472, 'created_at': datetime.datetime(2025, 5, 2, 22, 16, 58), 'result': '0.05685726550778499', 'result_long': None, 'result_double': None}] Qualite : 0.05685726550778499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22622472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22622472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, 'pht': 3726}}" where mtr_portfolio_id = 22622472 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22622472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266305, 0.05685726550778499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22623210 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785587, 'mtr_portfolio_id': 22623210, 'created_at': datetime.datetime(2025, 5, 2, 22, 32, 59), 'result': '0.048217679684332354', 'result_long': None, 'result_double': None}] Qualite : 0.048217679684332354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22623210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22623210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, 'pht': 3726}}" where mtr_portfolio_id = 22623210 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22623210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266306, 0.048217679684332354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22624019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785652, 'mtr_portfolio_id': 22624019, 'created_at': datetime.datetime(2025, 5, 2, 22, 46, 59), 'result': '0.07222638417017839', 'result_long': None, 'result_double': None}] Qualite : 0.07222638417017839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22624019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22624019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, 'pht': 3726}}" where mtr_portfolio_id = 22624019 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22624019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266307, 0.07222638417017839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22624848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785723, 'mtr_portfolio_id': 22624848, 'created_at': datetime.datetime(2025, 5, 2, 23, 4, 59), 'result': '0.05393846116249263', 'result_long': None, 'result_double': None}] Qualite : 0.05393846116249263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22624848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22624848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, 'pht': 3726}}" where mtr_portfolio_id = 22624848 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22624848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266308, 0.05393846116249263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22625733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785819, 'mtr_portfolio_id': 22625733, 'created_at': datetime.datetime(2025, 5, 2, 23, 17), 'result': '0.05472171282675373', 'result_long': None, 'result_double': None}] Qualite : 0.05472171282675373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22625733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22625733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, 'pht': 3726}}" where mtr_portfolio_id = 22625733 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22625733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266309, 0.05472171282675373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22626287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785859, 'mtr_portfolio_id': 22626287, 'created_at': datetime.datetime(2025, 5, 2, 23, 33, 1), 'result': '0.039915505188799355', 'result_long': None, 'result_double': None}] Qualite : 0.039915505188799355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22626287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22626287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, 'pht': 3726}}" where mtr_portfolio_id = 22626287 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22626287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266310, 0.039915505188799355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22627137 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785909, 'mtr_portfolio_id': 22627137, 'created_at': datetime.datetime(2025, 5, 2, 23, 46, 57), 'result': '0.052910013578557055', 'result_long': None, 'result_double': None}] Qualite : 0.052910013578557055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22627137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22627137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, 'pht': 3726}}" where mtr_portfolio_id = 22627137 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22627137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266311, 0.052910013578557055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22627814 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2785960, 'mtr_portfolio_id': 22627814, 'created_at': datetime.datetime(2025, 5, 3, 5, 1, 28), 'result': '0.061673941913641936', 'result_long': None, 'result_double': None}] Qualite : 0.061673941913641936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22627814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22627814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, 'pht': 3726}}" where mtr_portfolio_id = 22627814 and dashboard_run_id = 1777835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22627814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266312, 0.061673941913641936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, '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 (22589204,22589345,22589743,22590338,22590734,22590863,22591348,22591636,22592221,22592634,22593197,22593637,22594215,22594939,22595293,22596857,22597376,22597852,22598402,22598714,22599216,22599783,22600238,22600776,22601365,22601825,22604792,22605092,22605713,22606058,22606881,22607985,22608501,22609408,22609715,22610437,22610994,22611606,22613023,22613686,22614349,22615158,22615897,22616551,22617232,22618017,22618470,22619074,22619744,22620531,22620848,22621300,22621997,22622472,22623210,22624019,22624848,22625733,22626287,22627137,22627814) result : ((1355215214,), (1355217283,), (1355217308,), (1355217310,), (1355217312,), (1355217326,), (1355217329,), (1355217331,), (1355217350,), (1355217352,), (1355217354,), (1355217388,), (1355217378,), (1355217380,), (1355217382,), (1355217420,), (1355217422,), (1355217423,), (1355217424,), (1355217449,), (1355217454,), (1355217456,), (1355217458,), (1355217479,), (1355217481,), (1355217483,), (1355217485,), (1355217526,), (1355217529,), (1355217531,), (1355217533,), (1355217536,), (1355217565,), (1355217567,), (1355217570,), (1355217574,), (1355217593,), (1355217595,), (1355217596,), (1355217598,), (1355217599,), (1355217633,), (1355217636,), (1355217638,), (1355217652,), (1355217654,), (1355217656,), (1355217658,), (1355217681,), (1355217683,), (1355217685,), (1355217688,), (1355217736,), (1355217738,), (1355217740,), (1355217770,), (1355217772,), (1355217812,), (1355217815,), (1355217819,), (1355217824,), (1355217842,), (1355217844,), (1355217846,), (1355217850,), (1355217854,), (1355217882,), (1355217884,), (1355217886,), (1355217964,), (1355217960,), (1355217962,), (1355217979,), (1355217982,), (1355217984,), (1355217987,), (1355218010,), (1355218013,), (1355218016,), (1355218019,), (1355218023,), (1355218025,), (1355218041,), (1355218042,), (1355218044,), (1355218064,), (1355218066,), (1355218068,), (1355218113,), (1355218115,), (1355218119,), (1355218141,), (1355218144,), (1355218146,), (1355218149,), (1355218153,), (1355218165,), (1355218172,), (1355218173,), (1355218175,), (1355218177,), (1355218179,), (1355218203,), (1355218205,), (1355218206,), (1355218208,), (1355218241,), (1355218244,), (1355218246,), (1355218248,), (1355218279,), (1355218285,), (1355218286,), (1355218310,), (1355218313,), (1355218316,), (1355218320,), (1355218337,), (1355218339,), (1355218384,), (1355218367,), (1355218368,), (1355218369,), (1355218371,), (1355218379,), (1355218406,), (1355218410,), (1355218413,), (1355218416,), (1355218447,), (1355218449,), (1355218450,), (1355218451,), (1355218455,), (1355218478,), (1355218479,), (1355218480,), (1355218482,), (1355218520,), (1355218523,), (1355218525,), (1355218528,), (1355218549,), (1355218551,), (1355218552,), (1355218589,), (1355218595,), (1355218598,), (1355218601,), (1355218629,), (1355218631,), (1355218654,), (1355218656,), (1355218681,), (1355218683,), (1355218712,), (1355220813,), (1355221162,), (1355221163,), (1355221192,), (1355221194,), (1355221241,), (1355221264,), (1355221267,), (1355221292,), (1355221321,), (1355221322,), (1355221324,), (1355221348,), (1355221352,), (1355221353,), (1355221355,), (1355221358,), (1355221361,), (1355221386,), (1355221387,), (1355221388,), (1355221390,), (1355221416,), (1355221417,), (1355221418,), (1355221450,), (1355221451,), (1355221514,), (1355221512,), (1355221544,), (1355221546,), (1355221548,), (1355221565,), (1355221567,), (1355221571,), (1355221576,), (1355221580,), (1355221596,), (1355221597,), (1355221598,), (1355221600,), (1355221726,), (1355221728,), (1355221769,), (1355221798,), (1355221802,), (1355221830,), (1355221864,), (1355221867,), (1355221869,), (1355221871,), (1355221905,), (1355221909,), (1355221910,), (1355221945,), (1355221948,), (1355221950,), (1355221952,), (1355221993,), (1355221989,), (1355221992,), (1355222016,), (1355222017,), (1355222018,), (1355222021,), (1355222053,), (1355222055,), (1355222099,), (1355222101,), (1355222150,), (1355222153,), (1355222155,), (1355222158,), (1355222183,), (1355222184,), (1355222210,), (1355222211,), (1355222214,), (1355222218,), (1355222221,), (1355222240,), (1355222243,), (1355222245,), (1355222247,), (1355222271,), (1355222275,), (1355222301,), (1355222302,), (1355222304,), (1355222306,), (1355222310,), (1355222335,), (1355222336,), (1355222337,), (1355222339,), (1355222341,), (1355222343,), (1355222418,), (1355222445,), (1355222470,), (1355222637,), (1355222640,), (1355222643,), (1355222645,), (1355223454,), (1355223516,), (1355223594,), (1355224428,), (1355224379,), (1355224403,), (1355225245,), (1355225296,), (1355225369,), (1355225485,), (1355225870,), (1355225897,), (1355225923,), (1355225948,), (1355226531,), (1355226557,), (1355226744,), (1355226762,), (1355226973,), (1355226999,), (1355227027,), (1355227056,), (1355227086,), (1355227220,), (1355227224,), (1355227237,), (1355227268,), (1355227358,), (1355227360,), (1355227363,), (1355227370,), (1355227428,), (1355227431,), (1355227434,), (1355227589,), (1355227613,), (1355227615,), (1355227691,), (1355227692,), (1355227694,), (1355227696,), (1355227729,), (1355227732,), (1355227734,), (1355227737,), (1355227740,), (1355227763,), (1355227765,), (1355227767,), (1355227770,), (1355227811,), (1355227815,), (1355227819,), (1355227824,), (1355227829,), (1355227864,), (1355227866,), (1355227871,), (1355227875,), (1355227878,), (1355227918,), (1355227911,), (1355227915,), (1355227976,), (1355227980,), (1355228020,), (1355228024,), (1355228026,), (1355228028,), (1355228038,), (1355228101,), (1355228103,), (1355228108,), (1355228162,), (1355228164,), (1355228168,), (1355228173,), (1355228345,), (1355228347,), (1355228349,), (1355228352,), (1355228404,), (1355228406,), (1355228444,), (1355228447,), (1355228449,), (1355228452,), (1355228493,), (1355228538,), (1355228593,), (1355228714,), (1355228754,), (1355228973,), (1355228928,), (1355228938,), (1355228942,), (1355228946,), (1355228952,), (1355228958,), (1355228963,), (1355229116,), (1355229122,), (1355229132,), (1355229141,), (1355229148,), (1355229203,), (1355229208,), (1355229210,), (1355229257,), (1355229262,), (1355229264,), (1355229267,), (1355229323,), (1355229327,), (1355229331,), (1355229334,), (1355229339,), (1355229363,), (1355229366,), (1355229369,), (1355229373,), (1355229380,), (1355229408,), (1355229412,), (1355229417,), (1355229462,), (1355229466,), (1355229470,), (1355229474,), (1355229480,), (1355229484,), (1355229511,), (1355229514,), (1355229518,), (1355229523,), (1355229527,), (1355229557,), (1355229573,), (1355229579,), (1355229586,), (1355229592,), (1355229622,), (1355229626,), (1355229630,), (1355229632,), (1355229661,), (1355229667,), (1355229729,), (1355229733,), (1355229735,), (1355229738,), (1355229802,), (1355229805,), (1355229808,), (1355229950,), (1355229939,), (1355230057,), (1355230058,), (1355230060,), (1355230063,), (1355230118,), (1355230124,), (1355230129,), (1355230133,), (1355230139,), (1355230163,), (1355230165,), (1355230166,), (1355230169,), (1355230174,), (1355230224,), (1355230232,), (1355230245,), (1355230254,), (1355230337,), (1355230381,), (1355230396,), (1355230419,), (1355230423,), (1355230472,), (1355230477,), (1355230482,), (1355230545,), (1355230575,), (1355230580,), (1355230582,), (1355230583,), (1355230588,), (1355230592,), (1355230619,), (1355230623,), (1355230626,), (1355230631,), (1355230633,), (1355230638,), (1355230699,), (1355230703,), (1355230817,), (1355230821,), (1355231783,), (1355231878,), (1355231915,), (1355231944,), (1355231971,), (1355232367,), (1355232159,), (1355232204,), (1355232257,), (1355232311,), (1355232849,), (1355232875,), (1355232907,), (1355232941,), (1355232970,), (1355233375,), (1355233425,), (1355233791,), (1355233819,), (1355233930,), (1355233960,), (1355233991,), (1355234019,), (1355234302,), (1355234358,), (1355234360,), (1355234363,), (1355234366,), (1355234507,), (1355234509,), (1355234511,), (1355234514,), (1355234525,), (1355234599,), (1355234602,), (1355234604,), (1355234607,), (1355234674,), (1355234678,), (1355234684,), (1355234715,), (1355234744,), (1355234772,), (1355234943,), (1355234972,), (1355235001,), (1355235045,), (1355235076,), (1355235175,), (1355235177,), (1355235181,), (1355235187,), (1355235295,), (1355235316,), (1355235322,), (1355235432,), (1355235456,), (1355235458,), (1355235471,), (1355235591,), (1355235593,), (1355235596,), (1355235601,), (1355235623,), (1355235720,), (1355235723,), (1355235725,), (1355235727,), (1355235729,), (1355235781,), (1355235772,), (1355235776,), (1355235778,), (1355235833,), (1355235835,), (1355235838,), (1355235839,), (1355235844,), (1355235935,), (1355235945,), (1355235951,), (1355235956,), (1355236046,), (1355236053,), (1355236061,), (1355236067,), (1355236150,), (1355236153,), (1355236155,), (1355236158,), (1355236197,), (1355236201,), (1355236204,), (1355236278,), (1355236282,), (1355236286,), (1355236407,), (1355236415,), (1355236416,), (1355236420,), (1355236516,), (1355236519,), (1355236522,), (1355236525,), (1355236530,), (1355236567,), (1355236573,), (1355236581,), (1355236625,), (1355236628,), (1355236635,), (1355236644,), (1355236653,), (1355236750,), (1355236752,), (1355236754,), (1355236757,), (1355236899,), (1355236902,), (1355236905,), (1355236907,), (1355236911,), (1355236960,), (1355236963,), (1355236965,), (1355237012,), (1355237014,), (1355237087,), (1355237073,), (1355237077,), (1355237081,), (1355237083,), (1355237136,), (1355237140,), (1355237144,), (1355237148,), (1355237178,), (1355237183,), (1355237186,), (1355237188,), (1355237224,), (1355237314,), (1355237318,), (1355237321,), (1355237354,), (1355237357,), (1355237360,), (1355237396,), (1355237397,), (1355237401,), (1355237432,), (1355237447,), (1355237454,), (1355237477,), (1355237480,), (1355237483,), (1355237487,), (1355237490,), (1355237494,), (1355237518,), (1355237521,), (1355237559,), (1355237560,), (1355237563,), (1355237566,), (1355237570,), (1355237575,), (1355237633,), (1355237635,), (1355237638,), (1355237642,), (1355237645,), (1355237681,), (1355237683,), (1355237686,), (1355237689,), (1355237693,), (1355237738,), (1355237739,), (1355237741,), (1355237787,), (1355237789,), (1355237800,), (1355237803,), (1355237845,), (1355237847,), (1355237849,), (1355237944,), (1355237936,), (1355237937,), (1355237942,), (1355238004,), (1355238007,), (1355238117,), (1355238122,), (1355238124,), (1355238126,), (1355238151,), (1355238155,), (1355238231,), (1355238239,), (1355238250,), (1355238259,), (1355238381,), (1355238384,), (1355238386,), (1355238388,), (1355238391,), (1355238468,), (1355238476,), (1355238478,), (1355238482,), (1355238588,), (1355238884,), (1355238910,), (1355238951,), (1355238977,), (1355239000,), (1355239132,), (1355239145,), (1355239148,), (1355239157,), (1355239163,), (1355239211,), (1355239228,), (1355239239,), (1355239247,), (1355239251,), (1355239295,), (1355239313,), (1355239319,), (1355239324,), (1355239625,), (1355239677,), (1355239742,), (1355240362,), (1355240387,), (1355240419,), (1355240434,), (1355240451,), (1355241356,), (1355241362,), (1355241385,), (1355241445,), (1355241472,), (1355241573,), (1355245025,), (1355245032,), (1355245037,), (1355245215,), (1355245218,), (1355245221,), (1355245225,), (1355245229,), (1355245264,), (1355245317,), (1355245319,), (1355245323,), (1355245337,), (1355245407,), (1355245409,), (1355245412,), (1355245447,), (1355245452,), (1355245455,), (1355245459,), (1355245496,), (1355245498,), (1355245501,), (1355245503,), (1355245507,), (1355245548,), (1355245550,), (1355245592,), (1355245594,), (1355245596,), (1355245666,), (1355245668,), (1355245863,), (1355245890,), (1355245917,), (1355246154,), (1355246158,), (1355246162,), (1355246165,), (1355246439,), (1355246442,), (1355246445,), (1355246448,), (1355246450,), (1355246604,), (1355246624,), (1355246630,), (1355246685,), (1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,), (1355249960,), (1355250013,), (1355250063,), (1355250398,), (1355250402,), (1355250408,), (1355250410,), (1355250416,), (1355250419,), (1355250633,), (1355250655,), (1355250660,), (1355250662,), (1355250832,), (1355250840,), (1355250841,), (1355250843,), (1355250895,), (1355250897,), (1355250899,), (1355250902,), (1355250941,), (1355250943,), (1355251001,), (1355251004,), (1355251008,), (1355251016,), (1355251055,), (1355251058,), (1355251060,), (1355251064,), (1355251102,), (1355251105,), (1355251108,), (1355251152,), (1355251156,), (1355251159,), (1355251162,), (1355251169,), (1355251254,), (1355251256,), (1355251259,), (1355251266,), (1355251269,), (1355251272,), (1355251305,), (1355251306,), (1355251308,), (1355251347,), (1355251351,), (1355251354,), (1355251410,), (1355251411,), (1355251413,), (1355251414,), (1355251417,), (1355251708,), (1355251721,), (1355251726,), (1355251730,), (1355251739,), (1355251785,), (1355251782,), (1355251896,), (1355251901,), (1355252124,), (1355252188,), (1355252190,), (1355252193,), (1355252197,), (1355252202,), (1355252207,), (1355252238,), (1355252240,), (1355252243,), (1355252246,), (1355252249,), (1355252253,), (1355252284,), (1355252287,), (1355252291,), (1355252295,), (1355252300,), (1355252304,), (1355252336,), (1355252341,), (1355252346,), (1355252393,), (1355252396,), (1355252400,), (1355252415,), (1355252461,), (1355252464,), (1355252468,), (1355252472,), (1355252645,), (1355252642,), (1355252702,), (1355252706,), (1355252709,), (1355252713,), (1355252715,), (1355252755,), (1355252757,), (1355252814,), (1355252817,), (1355252820,), (1355252823,), (1355252843,), (1355253085,), (1355253147,), (1355253149,), (1355253151,), (1355253154,), (1355253156,), (1355253160,), (1355253197,), (1355253199,), (1355253202,), (1355253206,), (1355253249,), (1355253252,), (1355253255,), (1355253326,), (1355253329,), (1355253337,), (1355253374,), (1355253378,), (1355253381,), (1355253384,), (1355253388,), (1355253392,), (1355253423,), (1355253427,), (1355253430,), (1355253434,), (1355253440,), (1355253528,), (1355253529,), (1355253534,), (1355253594,), (1355253597,), (1355253600,), (1355253604,), (1355253666,), (1355253668,), (1355253690,), (1355253693,), (1355253733,), (1355253736,), (1355253739,), (1355253743,), (1355253746,), (1355253748,), (1355253778,), (1355253781,), (1355253855,), (1355253835,), (1355253837,), (1355253841,), (1355253911,), (1355253913,), (1355253915,), (1355253917,), (1355253919,), (1355253965,), (1355253969,), (1355253971,), (1355253975,), (1355253978,), (1355254021,), (1355254025,), (1355254029,), (1355254033,), (1355254036,), (1355254116,), (1355254119,), (1355254175,), (1355254179,), (1355254183,), (1355254234,), (1355254238,), (1355254241,), (1355254244,), (1355254281,), (1355254286,), (1355254343,), (1355254348,), (1355254357,), (1355254362,), (1355254667,), (1355254672,), (1355254675,), (1355254713,), (1355254719,), (1355254760,), (1355254764,), (1355254835,), (1355254839,), (1355254844,), (1355254960,), (1355254991,), (1355255022,), (1355255153,), (1355255184,), (1355255217,), (1355255249,), (1355255669,), (1355255612,), (1355256521,), (1355257225,), (1355257482,), (1355257910,), (1355257956,), (1355258439,), (1355258562,), (1355258722,), (1355258825,), (1355258896,), (1355259140,), (1355259168,), (1355259180,), (1355259183,), (1355259189,), (1355259472,), (1355259476,), (1355259481,), (1355259486,), (1355259536,), (1355259539,), (1355259541,), (1355259544,), (1355259610,), (1355259592,), (1355259608,), (1355259658,), (1355259661,), (1355259662,), (1355259665,), (1355259762,), (1355259782,), (1355259788,), (1355259794,), (1355259853,), (1355259855,), (1355259858,), (1355259862,), (1355259911,), (1355259916,), (1355259920,), (1355259970,), (1355259972,), (1355259975,), (1355260009,), (1355260013,), (1355260015,), (1355260020,), (1355260059,), (1355260063,), (1355260065,), (1355260069,), (1355260103,), (1355260106,), (1355260108,), (1355260112,), (1355260147,), (1355260151,), (1355260155,), (1355260211,), (1355260214,), (1355260216,), (1355260273,), (1355260276,), (1355260281,), (1355260285,), (1355260331,), (1355260334,), (1355260336,), (1355260340,), (1355260343,), (1355260347,), (1355260372,), (1355260376,), (1355260381,), (1355260387,), (1355260393,), (1355260429,), (1355260436,), (1355260443,), (1355260521,), (1355260511,), (1355260516,), (1355260581,), (1355260585,), (1355260591,), (1355260595,), (1355260949,), (1355261002,), (1355261062,), (1355261116,), (1355261489,), (1355261530,), (1355261540,), (1355261566,), (1355261588,), (1355262039,), (1355262102,), (1355262135,), (1355262406,), (1355262442,), (1355262500,), (1355262503,), (1355262508,), (1355262565,), (1355262567,), (1355262570,), (1355262575,), (1355262676,), (1355262679,), (1355262706,), (1355262721,), (1355262731,), (1355262736,), (1355262827,), (1355262832,), (1355262837,), (1355262846,), (1355262999,), (1355263033,), (1355263059,), (1355263098,), (1355263138,), (1355263702,), (1355263707,), (1355263711,), (1355263762,), (1355263766,), (1355263769,), (1355263771,), (1355263773,), (1355263818,), (1355263824,), (1355263828,), (1355263833,), (1355263839,), (1355263847,), (1355263900,), (1355263878,), (1355263883,), (1355263887,), (1355263895,), (1355263974,), (1355263979,), (1355264019,), (1355264023,), (1355264027,), (1355264032,), (1355264069,), (1355264073,), (1355264078,), (1355264084,), (1355264134,), (1355264138,), (1355264143,), (1355264149,), (1355264156,), (1355264231,), (1355264238,), (1355264242,), (1355264248,), (1355264251,), (1355264255,), (1355264286,), (1355264289,), (1355264292,), (1355264295,), (1355264470,), (1355264474,), (1355264480,), (1355264487,), (1355264545,), (1355264550,), (1355264557,), (1355264563,), (1355264622,), (1355264625,), (1355264628,), (1355264631,), (1355264669,), (1355264674,), (1355264678,), (1355264681,), (1355264688,), (1355264718,), (1355264903,), (1355264939,), (1355264976,), (1355265011,), (1355265041,), (1355266353,), (1355266423,), (1355266499,), (1355266943,), (1355266880,), (1355266914,), (1355267633,), (1355268599,), (1355268631,), (1355268663,), (1355268715,), (1355269181,), (1355269184,), (1355269206,), (1355269235,), (1355269270,), (1355269434,), (1355269461,), (1355269490,), (1355269529,), (1355269683,), (1355270114,), (1355270161,), (1355270177,), (1355270181,), (1355270436,), (1355270462,), (1355270494,), (1355270631,), (1355270634,), (1355270658,), (1355270686,), (1355270836,), (1355270839,), (1355270848,), (1355270856,), (1355270936,), (1355304850,), (1355304820,), (1355305245,), (1355305298,), (1355305869,), (1355305873,), (1355305877,), (1355306089,), (1355306092,), (1355306094,), (1355306172,), (1355306174,), (1355306179,), (1355306186,), (1355306411,), (1355306439,), (1355306651,), (1355306681,), (1355306708,), (1355306716,), (1355306751,), (1355306755,), (1355306757,), (1355306855,), (1355306853,), (1355307014,), (1355307032,), (1355307182,), (1355307219,), (1355307226,), (1355307289,), (1355307301,), (1355307303,), (1355307320,), (1355307634,), (1355307690,), (1355307740,), (1355307799,), (1355308210,), (1355308265,), (1355308311,), (1355308341,), (1355315123,), (1355315400,), (1355315428,), (1355315457,), (1355315485,), (1355315976,), (1355316005,), (1355316153,), (1355316185,), (1355316215,), (1355316248,), (1355316411,), (1355316463,), (1355316514,), (1355316571,), (1355316637,), (1355317428,), (1355317522,), (1355317617,), (1355317692,), (1355318558,), (1355319158,), (1355319179,), (1355319618,), (1355320152,), (1355320155,), (1355320165,), (1355321116,), (1355321210,), (1355322166,), (1355321979,), (1355322041,), (1355322099,), (1355322133,), (1355322562,), (1355322596,), (1355323507,), (1355323565,), (1355323585,), (1355323647,), (1355323712,), (1355324039,), (1355324101,), (1355324153,), (1355324241,), (1355324358,), (1355325009,), (1355325080,), (1355325139,), (1355325195,), (1355325260,), (1355325317,), (1355326042,), (1355326115,), (1355326187,), (1355327416,), (1355327447,), (1355327477,), (1355327500,), (1355328123,), (1355328176,), (1355328229,), (1355328903,), (1355328960,), (1355329018,), (1355329407,), (1355329410,), (1355329413,), (1355329912,), (1355329924,), (1355329928,), (1355330164,), (1355330172,), (1355330190,), (1355330377,), (1355330455,), (1355330534,), (1355330614,), (1355331189,), (1355331267,), (1355331335,), (1355331390,), (1355331446,), (1355331533,), (1355332134,), (1355332220,), (1355333015,), (1355332965,), (1355333007,), (1355333464,), (1355333497,), (1355333551,), (1355333592,), (1355333618,), (1355333911,), (1355333972,), (1355334047,), (1355334150,), (1355334221,), (1355334275,), (1355334708,), (1355334763,), (1355334973,), (1355335003,), (1355335030,), (1355335035,), (1355335045,), (1355335533,), (1355338339,), (1355345898,), (1355344574,), (1355345826,), (1355345871,), (1355346169,), (1355346220,), (1355346261,), (1355346300,), (1355346332,), (1355346537,), (1355346539,), (1355346542,), (1355346990,), (1355347035,), (1355347061,), (1355347071,), (1355347076,), (1355347396,), (1355347447,), (1355347484,), (1355347963,), (1355347988,), (1355348064,), (1355348437,), (1355348489,), (1355348520,), (1355348549,), (1355348579,), (1355348610,), (1355348688,), (1355348689,), (1355348717,), (1355348746,), (1355349225,), (1355349250,), (1355350585,), (1355350662,), (1355350716,), (1355352027,), (1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,), (1355360999,), (1355362623,), (1355363465,), (1355363516,), (1355363615,), (1355363666,), (1355363721,), (1355364226,), (1355364271,), (1355364308,), (1355364338,), (1355364365,), (1355364411,), (1355364858,), (1355364862,), (1355364866,), (1355365106,), (1355365133,), (1355365161,), (1355365533,), (1355365593,), (1355365624,), (1355365654,), (1355365686,), (1355365707,), (1355365970,), (1355366007,), (1355366056,), (1355366100,), (1355366129,), (1355366218,), (1355366264,), (1355366500,), (1355366534,), (1355366562,), (1355366617,), (1355366671,), (1355366675,), (1355366679,), (1355366717,), (1355366721,), (1355366724,), (1355366786,), (1355366791,), (1355366796,), (1355366802,), (1355366901,), (1355366872,), (1355366876,), (1355366880,), (1355366885,), (1355366895,), (1355366924,), (1355366929,), (1355366964,), (1355366972,), (1355366977,), (1355366981,), (1355367168,), (1355367171,), (1355367193,), (1355367196,), (1355367219,), (1355367229,), (1355367250,), (1355367281,), (1355367312,), (1355367462,), (1355367470,), (1355367487,), (1355367489,), (1355367503,), (1355367532,), (1355367561,), (1355368688,), (1355372054,), (1355372047,), (1355372424,), (1355372471,), (1355372507,), (1355373148,), (1355373175,), (1355373205,), (1355373244,), (1355373570,), (1355373601,), (1355373637,), (1355373783,), (1355374027,), (1355374038,), (1355374042,), (1355374047,), (1355374084,), (1355374089,), (1355374142,), (1355374748,), (1355374762,), (1355374766,), (1355374773,), (1355374776,), (1355375195,), (1355375223,), (1355375256,), (1355375304,), (1355375334,), (1355375365,), (1355376008,), (1355376090,), (1355376167,), (1355376270,), (1355376399,), (1355376491,), (1355378026,), (1355378082,), (1355378642,), (1355378559,), (1355378586,), (1355378594,), (1355378607,), (1355378936,), (1355378973,), (1355379000,), (1355379031,), (1355379148,), (1355379168,), (1355379199,), (1355379661,), (1355379866,), (1355380073,), (1355380183,), (1355380281,), (1355381022,), (1355381076,), (1355381128,), (1355381180,), (1355381715,), (1355381742,), (1355381770,), (1355381813,), (1355381877,), (1355383039,), (1355383121,), (1355383834,), (1355383841,), (1355383854,), (1355383858,), (1355384031,), (1355384062,), (1355384093,), (1355384124,), (1355384630,), (1355384871,), (1355384927,), (1355384971,), (1355385644,), (1355385711,), (1355385754,), (1355385853,), (1355386149,), (1355386473,), (1355387662,), (1355387695,), (1355387771,), (1355388195,), (1355388223,), (1355388263,), (1355388350,), (1355389242,), (1355389313,), (1355389482,), (1355389537,), (1355389589,), (1355390012,), (1355390052,), (1355390081,), (1355390295,), (1355391562,), (1355391314,), (1355391343,), (1355391471,), (1355391848,), (1355391896,), (1355391951,), (1355392000,), (1355392050,), (1355392935,), (1355392976,), (1355393021,), (1355393054,), (1355393082,), (1355393122,), (1355393378,), (1355393528,), (1355393629,), (1355393676,), (1355393811,), (1355393815,), (1355393817,), (1355394140,), (1355394166,), (1355394199,), (1355394470,), (1355394528,), (1355394555,), (1355394582,), (1355394614,), (1355394642,), (1355394717,), (1355394721,), (1355394726,), (1355394729,), (1355394840,), (1355394877,), (1355394902,), (1355394907,), (1355394912,), (1355394918,), (1355394937,), (1355394942,), (1355394947,), (1355394987,), (1355394989,), (1355395169,), (1355395196,), (1355395307,), (1355395309,), (1355395312,), (1355404964,), (1355404953,), (1355404959,), (1355405041,), (1355405070,), (1355405096,), (1355405122,), (1355405162,), (1355405211,), (1355405353,), (1355405433,), (1355405724,), (1355405726,), (1355405729,), (1355405733,), (1355405882,), (1355405888,), (1355405904,), (1355405907,), (1355405932,), (1355406042,), (1355406072,), (1355406083,), (1355406255,), (1355406258,), (1355406260,), (1355406264,), (1355406279,), (1355406289,), (1355406351,), (1355406356,), (1355406402,), (1355406404,), (1355406427,), (1355406430,), (1355406617,), (1355406647,), (1355406700,), (1355406883,), (1355406920,), (1355406922,), (1355406925,), (1355407390,), (1355407446,), (1355407674,), (1355408122,), (1355408166,), (1355408197,), (1355408206,), (1355408525,), (1355408464,), (1355408513,), (1355408907,), (1355408951,), (1355408960,), (1355408994,), (1355409607,), (1355409638,), (1355409682,), (1355409709,), (1355409926,), (1355409929,), (1355409936,), (1355409941,), (1355409973,), (1355410006,), (1355410244,), (1355410261,), (1355410265,), (1355410270,), (1355410310,), (1355410312,), (1355410316,), (1355410357,), (1355410359,), (1355410362,), (1355410366,), (1355410425,), (1355410427,), (1355410430,), (1355410433,), (1355410746,), (1355411513,), (1355411543,), (1355411611,), (1355411927,), (1355411981,), (1355412175,), (1355412407,), (1355412533,), (1355412754,), (1355412905,), (1355412990,), (1355413076,), (1355413090,), (1355413095,), (1355413118,), (1355413149,), (1355413191,), (1355413229,), (1355413254,), (1355413266,), (1355413270,), (1355413371,), (1355413378,), (1355413390,), (1355413394,), (1355413717,), (1355413566,), (1355413570,), (1355413797,), (1355413801,), (1355413803,), (1355414066,), (1355414107,), (1355414141,), (1355414174,), (1355414317,), (1355414321,), (1355414347,), (1355414746,), (1355414776,), (1355414840,), (1355415069,), (1355415085,), (1355415094,), (1355415099,), (1355415103,), (1355415235,), (1355415550,), (1355415599,), (1355415633,), (1355415730,), (1355415975,), (1355416005,), (1355416037,), (1355416071,), (1355416101,), (1355416409,), (1355416442,), (1355416902,), (1355416934,), (1355416988,), (1355417308,), (1355417345,), (1355417366,), (1355417372,), (1355417432,), (1355417415,), (1355417420,), (1355417423,), (1355417426,), (1355417462,), (1355417466,), (1355417470,), (1355417511,), (1355417515,), (1355417533,), (1355417547,), (1355417848,), (1355417897,), (1355418188,), (1355418191,), (1355418200,), (1355418348,), (1355418391,), (1355418422,), (1355418452,), (1355418481,), (1355418777,), (1355418851,), (1355418917,), (1355418984,), (1355419029,), (1355419059,), (1355419533,), (1355419595,), (1355419665,), (1355420180,), (1355420240,), (1355420291,), (1355420343,), (1355420392,), (1355420618,), (1355420621,), (1355420625,), (1355420629,), (1355421025,), (1355421027,), (1355421029,), (1355421031,), (1355421033,), (1355421422,), (1355421455,), (1355423748,), (1355423713,), (1355424119,), (1355424155,), (1355424362,), (1355424366,), (1355424391,), (1355424524,), (1355424528,), (1355424533,), (1355424641,), (1355424678,), (1355424706,), (1355424736,), (1355424751,), (1355424774,), (1355424838,), (1355424843,), (1355424847,), (1355424851,), (1355424855,), (1355425118,), (1355425131,), (1355425134,), (1355425651,), (1355425681,), (1355425763,), (1355426190,), (1355426221,), (1355426264,), (1355426293,), (1355426322,), (1355426489,), (1355426519,), (1355426795,), (1355426876,), (1355427253,), (1355427265,), (1355427290,), (1355427337,), (1355427518,), (1355427523,), (1355427528,), (1355427535,), (1355427706,), (1355427870,), (1355428112,), (1355428141,), (1355428343,), (1355428318,), (1355428321,), (1355428325,), (1355428689,), (1355428724,), (1355428924,), (1355428955,), (1355428984,), (1355429209,), (1355429219,), (1355429255,), (1355429685,), (1355429722,), (1355429897,), (1355429910,), (1355429913,), (1355429928,), (1355430089,), (1355430092,), (1355430097,), (1355430100,), (1355430106,), (1355430136,), (1355430140,), (1355430145,), (1355430149,), (1355430230,), (1355430233,), (1355430253,), (1355430255,), (1355430373,), (1355430377,), (1355430471,), (1355430475,), (1355430480,), (1355430485,), (1355430490,), (1355430531,), (1355430535,), (1355430541,), (1355430572,), (1355430575,), (1355430579,), (1355430584,), (1355430589,), (1355430618,), (1355430621,), (1355430644,), (1355430678,), (1355430722,), (1355430757,), (1355430992,), (1355431022,), (1355431467,), (1355431962,), (1355431851,), (1355431885,), (1355431918,), (1355432305,), (1355432338,), (1355432360,), (1355432371,), (1355432569,), (1355432972,), (1355432975,), (1355432979,), (1355433010,), (1355433076,), (1355433121,), (1355433151,), (1355433292,), (1355433296,), (1355433325,), (1355433352,), (1355433601,), (1355433659,), (1355433716,), (1355433759,), (1355434128,), (1355434319,), (1355434351,), (1355434573,), (1355434576,), (1355434580,), (1355434585,), (1355434765,), (1355434770,), (1355434776,), (1355434825,), (1355434829,), (1355434836,), (1355435053,), (1355435080,), (1355435108,), (1355435138,), (1355435175,), (1355435312,), (1355435333,), (1355435348,), (1355435360,), (1355435375,), (1355435468,), (1355435470,), (1355435473,), (1355435750,), (1355435783,), (1355435853,), (1355435958,), (1355436003,), (1355436036,), (1355436460,), (1355436414,), (1355436435,), (1355436440,), (1355436446,), (1355436450,), (1355436484,), (1355436488,), (1355436491,), (1355436496,), (1355436502,), (1355436527,), (1355436615,), (1355436624,), (1355436630,), (1355436654,), (1355436657,), (1355436712,), (1355436729,), (1355436733,), (1355436749,), (1355436757,), (1355436794,), (1355436804,), (1355436831,), (1355436866,), (1355437173,), (1355437178,), (1355437182,), (1355437186,), (1355437217,), (1355437221,), (1355437263,), (1355437267,), (1355437269,), (1355437272,), (1355437276,), (1355437312,), (1355437314,), (1355437318,), (1355437324,), (1355437336,), (1355437342,), (1355437358,), (1355437361,), (1355437366,), (1355437409,), (1355437412,), (1355437419,), (1355437435,), (1355437456,), (1355437795,), (1355437849,), (1355437889,), (1355437922,), (1355438423,), (1355438430,), (1355438435,), (1355438442,), (1355438501,), (1355438485,), (1355438493,), (1355438498,), (1355438552,), (1355438563,), (1355438569,), (1355438572,), (1355438576,), (1355438633,), (1355438644,), (1355438648,), (1355438653,), (1355438673,), (1355438678,), (1355438719,), (1355438724,), (1355438727,), (1355438749,), (1355438781,), (1355438783,), (1355438786,), (1355438790,), (1355438793,), (1355438821,), (1355438822,), (1355438824,), (1355438827,), (1355438877,), (1355438881,), (1355438884,), (1355438917,), (1355438921,), (1355438924,), (1355438928,), (1355438931,), (1355438975,), (1355438978,), (1355438980,), (1355438984,), (1355439076,), (1355439107,), (1355439122,), (1355439124,), (1355439167,), (1355439171,), (1355439174,), (1355439222,), (1355439228,), (1355439348,), (1355439362,), (1355439371,), (1355439376,), (1355439589,), (1355439616,), (1355439645,), (1355439682,), (1355439717,), (1355440081,), (1355440025,), (1355440052,), (1355440440,), (1355440472,), (1355440511,), (1355440545,), (1355440575,), (1355440603,), (1355440875,), (1355440907,), (1355440945,), (1355440976,), (1355441268,), (1355441302,), (1355441313,), (1355441330,), (1355441337,), (1355441462,), (1355441492,), (1355441549,), (1355442049,), (1355442082,), (1355442110,), (1355442143,), (1355442628,), (1355442685,), (1355443327,), (1355443358,), (1355443393,), (1355443419,), (1355443587,), (1355443590,), (1355443592,), (1355444692,), (1355444694,), (1355444695,), (1355444697,), (1355444735,), (1355444738,), (1355444741,), (1355444744,), (1355444749,), (1355444753,), (1355444780,), (1355444784,), (1355444786,), (1355444789,), (1355444863,), (1355444839,), (1355444844,), (1355444848,), (1355444852,), (1355444857,), (1355444900,), (1355444905,), (1355444907,), (1355444909,), (1355444952,), (1355444958,), (1355444961,), (1355444964,), (1355445149,), (1355445152,), (1355445156,), (1355445252,), (1355445255,), (1355445258,), (1355445334,), (1355445335,), (1355445338,), (1355445352,), (1355445393,), (1355445426,), (1355445447,), (1355445453,), (1355445456,), (1355445458,), (1355445462,), (1355445490,), (1355445492,), (1355445497,), (1355445500,), (1355445526,), (1355445528,), (1355445531,), (1355445533,), (1355445536,), (1355445540,), (1355445572,), (1355445575,), (1355445578,), (1355445619,), (1355445627,), (1355445631,), (1355445634,), (1355448959,), (1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,), (1355454082,), (1355454088,), (1355454093,), (1355454097,), (1355454120,), (1355454124,), (1355454129,), (1355454133,), (1355454169,), (1355454181,), (1355454187,), (1355454190,), (1355454194,), (1355454199,), (1355454232,), (1355454234,), (1355454252,), (1355454325,), (1355454328,), (1355454332,), (1355454338,), (1355454343,), (1355454397,), (1355454400,), (1355454404,), (1355454409,), (1355454472,), (1355454476,), (1355454481,), (1355454536,), (1355454537,), (1355454596,), (1355454601,), (1355454603,), (1355454607,), (1355454625,), (1355454631,), (1355454663,), (1355454665,), (1355454669,), (1355454711,), (1355454712,), (1355454714,), (1355454718,), (1355454723,), (1355454732,), (1355454770,), (1355454778,), (1355454782,), (1355454788,), (1355454794,), (1355454978,), (1355454998,), (1355455005,), (1355455011,), (1355455051,), (1355455053,), (1355455057,), (1355455061,), (1355455066,), (1355455113,), (1355455116,), (1355455120,), (1355455125,), (1355455130,), (1355455133,), (1355455177,), (1355455160,), (1355455164,), (1355455168,), (1355455172,), (1355455205,), (1355455210,), (1355455215,), (1355455221,), (1355455228,), (1355455235,), (1355455260,), (1355455264,), (1355455275,), (1355455282,), (1355455287,), (1355455500,), (1355455506,), (1355455511,), (1355455517,), (1355455523,), (1355455530,), (1355455553,), (1355455558,), (1355455562,), (1355455611,), (1355455626,), (1355455633,), (1355455638,), (1355455644,), (1355455671,), (1355455676,), (1355455681,), (1355455700,), (1355455705,), (1355455729,), (1355455744,), (1355455748,), (1355455755,), (1355455792,), (1355455795,), (1355455845,), (1355455849,), (1355455855,), (1355455873,), (1355455911,), (1355455939,), (1355455945,), (1355456004,), (1355456008,), (1355456012,), (1355456019,), (1355456029,), (1355456059,), (1355456099,), (1355456103,), (1355456105,), (1355456146,), (1355456168,), (1355456173,), (1355456177,), (1355456531,), (1355456581,), (1355456584,), (1355456589,), (1355456595,), (1355456882,), (1355456865,), (1355456872,), (1355456876,), (1355456879,), (1355456963,), (1355456988,), (1355457014,), (1355457044,), (1355457133,), (1355457161,), (1355457189,), (1355457198,), (1355457203,), (1355457227,), (1355457230,), (1355457269,), (1355457285,), (1355457291,), (1355457296,), (1355457339,), (1355457343,), (1355457346,), (1355457386,), (1355457422,), (1355457452,), (1355457485,), (1355457522,), (1355457802,), (1355457806,), (1355457811,), (1355457835,), (1355457868,), (1355457943,), (1355457947,), (1355457950,), (1355457954,), (1355457958,), (1355458006,), (1355458009,), (1355458083,), (1355458086,), (1355458088,), (1355458093,), (1355458121,), (1355458126,), (1355458130,), (1355458141,), (1355458183,), (1355458185,), (1355458193,), (1355458202,), (1355458209,), (1355458765,), (1355458788,), (1355458794,), (1355458819,), (1355458845,), (1355458873,), (1355458901,), (1355458909,), (1355458981,), (1355458956,), (1355458961,), (1355458965,), (1355458971,), (1355458976,), (1355459035,), (1355459044,), (1355459050,), (1355459098,), (1355459100,), (1355459104,), (1355459117,), (1355459146,), (1355459193,), (1355459482,), (1355459511,), (1355459541,), (1355459570,), (1355459606,), (1355459919,), (1355459946,), (1355459995,), (1355460025,), (1355461044,), (1355461049,), (1355461052,), (1355461363,), (1355461385,), (1355461432,), (1355461484,), (1355461539,), (1355462275,), (1355462325,), (1355462381,), (1355462455,), (1355462539,), (1355463198,), (1355463252,), (1355463993,), (1355464028,), (1355464057,), (1355464084,), (1355464124,), (1355464154,), (1355464262,), (1355464267,), (1355464289,), (1355464293,), (1355464317,), (1355464345,), (1355464770,), (1355464823,), (1355464868,), (1355464898,), (1355464933,), (1355464965,), (1355465110,), (1355465151,), (1355465474,), (1355465485,), (1355465489,), (1355465493,), (1355465499,), (1355465503,), (1355465523,), (1355465527,), (1355465531,), (1355465534,), (1355465539,), (1355465541,), (1355465574,), (1355465569,), (1355465572,), (1355465759,), (1355465789,), (1355465815,), (1355465841,), (1355465871,), (1355466162,), (1355466192,), (1355466220,), (1355466258,), (1355466290,), (1355466633,), (1355466658,), (1355466689,), (1355466744,), (1355466836,), (1355467375,), (1355467434,), (1355467664,), (1355467727,), (1355467791,), (1355467848,), (1355468186,), (1355468273,), (1355470449,), (1355470699,), (1355470738,), (1355470790,), (1355471563,), (1355471592,), (1355471673,), (1355472081,), (1355472114,), (1355472163,), (1355472243,), (1355472780,), (1355472808,), (1355472835,), (1355472864,), (1355472892,), (1355473193,), (1355473223,), (1355473255,), (1355473288,), (1355473421,), (1355473426,), (1355473429,), (1355473433,), (1355473436,), (1355473714,), (1355473771,), (1355473824,), (1355473876,), (1355473922,), (1355474590,), (1355474643,), (1355474695,), (1355474753,), (1355475444,), (1355475472,), (1355475500,), (1355475509,), (1355475513,), (1355475706,), (1355475532,), (1355475586,), (1355475619,), (1355475651,), (1355475678,), (1355476005,), (1355476034,), (1355476080,), (1355476297,), (1355476312,), (1355476317,), (1355476374,), (1355476378,), (1355476383,), (1355476393,), (1355476405,), (1355476413,), (1355476713,), (1355476721,), (1355476726,), (1355476740,), (1355476750,), (1355476773,), (1355476799,), (1355476827,), (1355476859,), (1355478491,), (1355478579,), (1355479417,), (1355479484,), (1355479540,), (1355479596,), (1355479724,), (1355480065,), (1355480301,), (1355480303,), (1355480307,), (1355480363,), (1355480465,), (1355480469,), (1355480484,), (1355480515,), (1355480549,), (1355481138,), (1355481216,), (1355481298,), (1355481382,), (1355481436,), (1355482168,), (1355482235,), (1355482322,), (1355482394,), (1355483062,), (1355483112,), (1355483165,), (1355483219,), (1355483273,), (1355483570,), (1355483606,), (1355483670,), (1355483741,), (1355483801,), (1355483850,), (1355484253,), (1355484257,), (1355484285,), (1355484674,), (1355484640,), (1355484664,), (1355484896,), (1355484926,), (1355484991,), (1355485026,), (1355485341,), (1355485374,), (1355485394,), (1355485398,), (1355485542,), (1355485552,), (1355485554,), (1355485634,), (1355485639,), (1355485646,), (1355485654,), (1355485668,), (1355485745,), (1355485746,), (1355485747,), (1355485759,), (1355485911,), (1355485912,), (1355485914,), (1355485917,), (1355485919,), (1355485951,), (1355485956,), (1355485961,), (1355485965,), (1355486009,), (1355486014,), (1355486018,), (1355486325,), (1355486330,), (1355486337,), (1355486342,), (1355486347,), (1355486462,), (1355486477,), (1355486486,), (1355486491,), (1355486521,), (1355486523,), (1355486526,), (1355486531,), (1355486536,), (1355486569,), (1355486579,), (1355486594,), (1355487581,), (1355487610,), (1355487617,), (1355487649,), (1355487683,), (1355487730,), (1355488274,), (1355488082,), (1355488209,), (1355488236,), (1355488268,), (1355488320,), (1355488362,), (1355488526,), (1355488728,), (1355488781,), (1355488812,), (1355489192,), (1355489204,), (1355489214,), (1355489251,), (1355489327,), (1355489329,), (1355489332,), (1355489350,), (1355489354,), (1355489360,), (1355489397,), (1355489427,), (1355489457,), (1355489729,), (1355489759,), (1355489790,), (1355489833,), (1355489895,), (1355489948,), (1355490544,), (1355490590,), (1355490622,), (1355490783,), (1355490785,), (1355490821,), (1355490896,), (1355490956,), (1355491144,), (1355491167,), (1355491195,), (1355491335,), (1355491338,), (1355491340,), (1355491342,), (1355491376,), (1355491380,), (1355491382,), (1355491387,), (1355491430,), (1355491435,), (1355491439,), (1355491445,), (1355491451,), (1355491456,), (1355491475,), (1355491481,), (1355491486,), (1355491492,), (1355491496,), (1355491500,), (1355491634,), (1355491744,), (1355492435,), (1355492491,), (1355492546,), (1355492600,), (1355492967,), (1355492836,), (1355492897,), (1355492933,), (1355492961,), (1355493124,), (1355493177,), (1355493689,), (1355493777,), (1355493857,), (1355493949,), (1355493952,), (1355493955,), (1355494757,), (1355494760,), (1355494766,), (1355494771,), (1355494776,), (1355495025,), (1355495034,), (1355495115,), (1355495127,), (1355495204,), (1355495210,), (1355495214,), (1355495219,), (1355495224,), (1355495228,), (1355495340,), (1355495374,), (1355496022,), (1355496053,), (1355496082,), (1355496109,), (1355496156,), (1355496185,), (1355496232,), (1355496235,), (1355496239,), (1355496258,), (1355496464,), (1355496515,), (1355496546,), (1355496577,), (1355496581,), (1355496585,), (1355496622,), (1355496625,), (1355496627,), (1355496632,), (1355496671,), (1355496673,), (1355496677,), (1355496684,), (1355496689,), (1355496716,), (1355496728,), (1355496753,), (1355496780,), (1355496813,), (1355497199,), (1355497109,), (1355497137,), (1355497167,), (1355497509,), (1355497538,), (1355497612,), (1355497728,), (1355497829,), (1355497831,), (1355497834,), (1355497838,), (1355497855,), (1355498256,), (1355498328,), (1355498399,), (1355498471,), (1355498536,), (1355498599,), (1355499115,), (1355499907,), (1355500116,), (1355500172,), (1355500208,), (1355500629,), (1355500676,), (1355500683,), (1355500687,), (1355500726,), (1355500912,), (1355500991,), (1355501009,), (1355501099,), (1355501416,), (1355501437,), (1355501596,), (1355501635,), (1355501638,), (1355501646,), (1355501666,), (1355501668,), (1355501672,), (1355501676,), (1355501680,), (1355501699,), (1355501702,), (1355501706,), (1355501710,), (1355501737,), (1355501740,), (1355501743,), (1355501747,), (1355501752,), (1355501787,), (1355501792,), (1355501816,), (1355501820,), (1355501824,), (1355501829,), (1355501910,), (1355501900,), (1355501902,), (1355501906,), (1355501937,), (1355501941,), (1355501945,), (1355501948,), (1355501990,), (1355501993,), (1355501996,), (1355501999,), (1355502032,), (1355502038,), (1355502065,), (1355502068,), (1355502071,), (1355502075,), (1355502077,), (1355502134,), (1355502138,), (1355502141,), (1355502154,), (1355502181,), (1355502183,), (1355502185,), (1355502186,), (1355502190,), (1355502235,), (1355502237,), (1355502240,), (1355502243,), (1355502248,), (1355502268,), (1355502270,), (1355502273,), (1355502304,), (1355502308,), (1355502333,), (1355502336,), (1355502341,), (1355502354,), (1355502382,), (1355502827,), (1355502872,), (1355502920,), (1355502949,), (1355503246,), (1355503277,), (1355503307,), (1355503336,), (1355503855,), (1355503879,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02052025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22620531]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] map_info['map_portfolio_photo'] : {22620531: [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925]} final : True mtd_id 4302 list_pids : [1355454101, 1355454060, 1355454055, 1355454049, 1355454019, 1355454016, 1355454013, 1355454008, 1355454003, 1355453972, 1355453961, 1355453954, 1355453941, 1355453937, 1355453925, 1355453919, 1355453915, 1355453903, 1355453898, 1355453599, 1355453261, 1355453227, 1355453196, 1355453149, 1355452995, 1355452948, 1355452917, 1355452882, 1355452849, 1355452813, 1355452778, 1355452494, 1355452432, 1355452387, 1355449391, 1355449360, 1355448925] Looping around the photos to save general results len do output : 1 /22620531Didn'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, '2787013') ('4302', '22620531', '1355454101', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454060', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454055', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454049', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454019', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454016', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454013', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454008', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355454003', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453972', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453961', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453954', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453941', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453937', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453925', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453919', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453915', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453903', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453898', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453599', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453261', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453227', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453196', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355453149', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452995', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452948', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452917', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452882', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452849', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452813', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452778', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452494', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452432', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355452387', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449391', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355449360', None, None, None, None, None, '2787013') ('4302', None, None, None, None, None, None, None, '2787013') ('4302', '22620531', '1355448925', None, None, None, None, None, '2787013') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22620531', 'None', None, None, None, None, '2787013'), ('4302', '22620531', '1355454101', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454060', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454055', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454049', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454019', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454016', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454013', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454008', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355454003', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453972', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453961', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453954', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453941', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453937', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453925', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453919', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453915', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453903', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453898', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453599', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453261', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453227', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453196', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355453149', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452995', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452948', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452917', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452882', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452849', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452813', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452778', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452494', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452432', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355452387', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355449391', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355449360', None, None, None, None, None, '2787013'), ('4302', '22620531', '1355448925', None, None, None, None, None, '2787013')] time used for this insertion : 0.019726037979125977 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.635782480239868 time spend to save output : 0.020066499710083008 total time spend for step 5 : 3.655848979949951 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 (2787013) 3.08user 2.45system 0:16.97elapsed 32%CPU (0avgtext+0avgdata 167588maxresident)k 1152inputs+28688outputs (12major+90089minor)pagefaults 0swaps