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 : 568129 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 (3490838) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3490838) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817271 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3490838'] with mtr_portfolio_ids : ['25817271'] and first list_photo_ids : [] new path : /proc/568129/ Name: python3 Umask: 0002 State: R (running) Tgid: 568129 Ngid: 0 Pid: 568129 PPid: 568128 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 568129 NSpid: 568129 NSpgid: 567220 NSsid: 567220 VmPeak: 1106964 kB VmSize: 1106964 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98424 kB VmRSS: 98424 kB RssAnon: 59816 kB RssFile: 38608 kB RssShmem: 0 kB VmData: 865716 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 52 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '568129', 'Ngid': '0', 'Pid': '568129', 'PPid': '568128', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '568129', 'NSpid': '568129', 'NSpgid': '567220', 'NSsid': '567220', 'VmPeak': '1106964 kB', 'VmSize': '1106964 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98424 kB', 'VmRSS': '98424 kB', 'RssAnon': '59816 kB', 'RssFile': '38608 kB', 'RssShmem': '0 kB', 'VmData': '865716 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '52', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '568129', '1106964', '0', '1106964', '865716', '98424', b'', 'marlene', '3490838') 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 (25817271) 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 (3490838 ) ) 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 (25817271) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1375918017, 'portfolio_id': 25817271}, {'photo_id': 1375899797, 'portfolio_id': 25817271}, {'photo_id': 1375899776, 'portfolio_id': 25817271}, {'photo_id': 1375899773, 'portfolio_id': 25817271}, {'photo_id': 1375899742, 'portfolio_id': 25817271}, {'photo_id': 1375899740, 'portfolio_id': 25817271}, {'photo_id': 1375899737, 'portfolio_id': 25817271}, {'photo_id': 1375899734, 'portfolio_id': 25817271}, {'photo_id': 1375899732, 'portfolio_id': 25817271}, {'photo_id': 1375899728, 'portfolio_id': 25817271}, {'photo_id': 1375899715, 'portfolio_id': 25817271}, {'photo_id': 1375899711, 'portfolio_id': 25817271}, {'photo_id': 1375899705, 'portfolio_id': 25817271}, {'photo_id': 1375899702, 'portfolio_id': 25817271}, {'photo_id': 1375899698, 'portfolio_id': 25817271}, {'photo_id': 1375899694, 'portfolio_id': 25817271}, {'photo_id': 1375899660, 'portfolio_id': 25817271}, {'photo_id': 1375899659, 'portfolio_id': 25817271}, {'photo_id': 1375899658, 'portfolio_id': 25817271}, {'photo_id': 1375899646, 'portfolio_id': 25817271}, {'photo_id': 1375899643, 'portfolio_id': 25817271}, {'photo_id': 1375899640, 'portfolio_id': 25817271}, {'photo_id': 1375899638, 'portfolio_id': 25817271}, {'photo_id': 1375899637, 'portfolio_id': 25817271}, {'photo_id': 1375899634, 'portfolio_id': 25817271}, {'photo_id': 1375899538, 'portfolio_id': 25817271}, {'photo_id': 1375899514, 'portfolio_id': 25817271}, {'photo_id': 1375899492, 'portfolio_id': 25817271}, {'photo_id': 1375899468, 'portfolio_id': 25817271}, {'photo_id': 1375899449, 'portfolio_id': 25817271}, {'photo_id': 1375899226, 'portfolio_id': 25817271}, {'photo_id': 1375899222, 'portfolio_id': 25817271}, {'photo_id': 1375899192, 'portfolio_id': 25817271}, {'photo_id': 1375899190, 'portfolio_id': 25817271}, {'photo_id': 1375899188, 'portfolio_id': 25817271}, {'photo_id': 1375899186, 'portfolio_id': 25817271}, {'photo_id': 1375899110, 'portfolio_id': 25817271}] map_portfolio_id_photo_id: {25817271: [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110]} ##### 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.02959585189819336 #### 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 Aug 9 05:44: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25817271) 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 : 25817271 get user id for portfolio 25817271 get sub ptf for main ptf 25817271, type 3726 and hashtags ['metal', 'papier', 'Teint_Dans_La_Masse', 'mal_croppe', 'cartonnette', 'Carton_gris', 'plastique', 'environnement', 'autre_refus', 'Carton_brun', 'kraft', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25817271 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','Teint_Dans_La_Masse','mal_croppe','cartonnette','Carton_gris','plastique','environnement','autre_refus','Carton_brun','kraft','flou')) 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`=25817271 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','Teint_Dans_La_Masse','mal_croppe','cartonnette','Carton_gris','plastique','environnement','autre_refus','Carton_brun','kraft','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 25817271, 'sub_port_id': 25817277, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397536, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'Carton_gris': {'main_port_id': 25817271, 'sub_port_id': 25817278, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397537, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'autre_refus': {'main_port_id': 25817271, 'sub_port_id': 25817279, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397538, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'environnement': {'main_port_id': 25817271, 'sub_port_id': 25817280, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397539, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 25817271, 'sub_port_id': 25817281, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397540, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'kraft': {'main_port_id': 25817271, 'sub_port_id': 25817282, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397541, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'mal_croppe': {'main_port_id': 25817271, 'sub_port_id': 25817283, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397542, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'Carton_brun': {'main_port_id': 25817271, 'sub_port_id': 25817284, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397543, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'plastique': {'main_port_id': 25817271, 'sub_port_id': 25817285, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397544, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'flou': {'main_port_id': 25817271, 'sub_port_id': 25817286, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397545, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'metal': {'main_port_id': 25817271, 'sub_port_id': 25817287, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397546, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}, 'papier': {'main_port_id': 25817271, 'sub_port_id': 25817288, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397547, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 22, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25817277 , 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=25817271 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 (25817277) result : ((1375899631,), (1375899766,), (1375899972,), (1375899973,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817278 , 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=25817271 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 (25817278) result : ((1375899760,), (1375899762,), (1375899829,), (1375899830,), (1375899883,), (1375899884,), (1375899885,), (1375900025,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817279 , 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=25817271 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 (25817279) result : ((1375899825,), (1375899826,), (1375899827,), (1375900023,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817280 , 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=25817271 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 (25817280) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817281 , 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=25817271 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 (25817281) result : ((1375899629,), (1375899758,), (1375899759,), (1375899822,), (1375899823,), (1375899824,), (1375899965,), (1375899966,), (1375899967,), (1375899968,), (1375899969,), (1375899970,), (1375900019,), (1375900020,), (1375900021,), (1375900022,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817282 , 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=25817271 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 (25817282) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817283 , 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=25817271 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 (25817283) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817284 , 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=25817271 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 (25817284) result : ((1375899887,), (1375899888,), (1375899889,), (1375899890,), (1375899974,), (1375899975,), (1375900027,), (1375900064,), (1375900249,), (1375900251,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817285 , 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=25817271 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 (25817285) result : ((1375899831,), (1375900257,), (1375900259,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817286 , 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=25817271 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 (25817286) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817287 , 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=25817271 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 (25817287) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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 25817288 , 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=25817271 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 (25817288) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25817271) result : ((1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,)) 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`=25817271 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','Teint_Dans_La_Masse','mal_croppe','cartonnette','Carton_gris','plastique','environnement','autre_refus','Carton_brun','kraft','flou')) 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`=25817271 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','Teint_Dans_La_Masse','mal_croppe','cartonnette','Carton_gris','plastique','environnement','autre_refus','Carton_brun','kraft','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 25817271, 'sub_port_id': 25817290, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397548, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'Carton_gris': {'main_port_id': 25817271, 'sub_port_id': 25817291, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397549, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'autre_refus': {'main_port_id': 25817271, 'sub_port_id': 25817292, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397550, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'environnement': {'main_port_id': 25817271, 'sub_port_id': 25817293, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397551, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'Teint_Dans_La_Masse': {'main_port_id': 25817271, 'sub_port_id': 25817294, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397552, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'kraft': {'main_port_id': 25817271, 'sub_port_id': 25817295, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397553, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'mal_croppe': {'main_port_id': 25817271, 'sub_port_id': 25817296, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397554, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'Carton_brun': {'main_port_id': 25817271, 'sub_port_id': 25817297, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397555, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'plastique': {'main_port_id': 25817271, 'sub_port_id': 25817298, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397556, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'flou': {'main_port_id': 25817271, 'sub_port_id': 25817299, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397557, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'metal': {'main_port_id': 25817271, 'sub_port_id': 25817300, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397558, 'last_updated_at': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 16, 23, 3), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}, 'papier': {'main_port_id': 25817271, 'sub_port_id': 25817301, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17397559, 'last_updated_at': datetime.datetime(2025, 8, 8, 20, 31, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 8, 20, 31, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 8, 16, 23, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817290,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817279 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817280 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817294,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817281 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817282 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817296,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817283 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817284 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817298,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817285 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817299,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817286 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817300,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817287 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25817301,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25817288 lien utilise dans velours : https://www.fotonower.com/velours/25817290,25817291,25817292,25817293,25817294,25817295,25817296,25817297,25817298,25817299,25817300,25817301?tags=cartonnette,Carton_gris,autre_refus,environnement,Teint_Dans_La_Masse,kraft,mal_croppe,Carton_brun,plastique,flou,metal,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25817271]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] map_info['map_portfolio_photo'] : {25817271: [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110]} final : False mtd_id 4302 list_pids : [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] Looping around the photos to save general results len do output : 1 /25817271. 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, '3490838') ('4302', '25817271', '1375918017', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899797', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899776', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899773', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899742', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899740', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899737', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899734', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899732', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899728', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899715', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899711', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899705', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899702', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899698', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899694', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899660', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899659', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899658', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899646', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899643', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899640', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899638', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899637', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899634', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899538', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899514', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899492', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899468', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899449', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899226', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899222', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899192', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899190', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899188', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899186', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899110', None, None, None, None, None, '3490838') 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, '25817271', "{'cartonnette': 25817277, 'Carton_gris': 25817278, 'autre_refus': 25817279, 'environnement': 25817280, 'Teint_Dans_La_Masse': 25817281, 'kraft': 25817282, 'mal_croppe': 25817283, 'Carton_brun': 25817284, 'plastique': 25817285, 'flou': 25817286, 'metal': 25817287, 'papier': 25817288}", None, None, None, None, '3490838'), ('4302', '25817271', '1375918017', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899797', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899776', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899773', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899742', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899740', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899737', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899734', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899732', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899728', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899715', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899711', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899705', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899702', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899698', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899694', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899660', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899659', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899658', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899646', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899643', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899640', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899638', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899637', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899634', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899538', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899514', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899492', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899468', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899449', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899226', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899222', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899192', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899190', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899188', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899186', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899110', None, None, None, None, None, '3490838')] time used for this insertion : 0.17085957527160645 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4505541324615479 time spend to save output : 0.17135119438171387 total time spend for step 1 : 1.6219053268432617 step2:final Sat Aug 9 05:45:01 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 (25817271) 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 25817271 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1375899110,1375899192,1375899190,1375899188,1375899186,1375899226,1375899222,1375899538,1375899514,1375899492,1375899468,1375899449,1375899646,1375899643,1375899640,1375899638,1375899637,1375899634,1375899660,1375899659,1375899658,1375899715,1375899711,1375899705,1375899702,1375899698,1375899694,1375899742,1375899740,1375899737,1375899734,1375899732,1375899728,1375899776,1375899773,1375918017,1375899797); 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([25817271]) Inside saveOutput : final : False verbose : True original output for save of step final : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} new output for save of step final : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] map_info['map_portfolio_photo'] : {25817271: [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110]} final : False mtd_id 4302 list_pids : [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] Looping around the photos to save general results len do output : 37 /1375918017.Didn't retrieve data . /1375899797.Didn't retrieve data . /1375899776.Didn't retrieve data . /1375899773.Didn't retrieve data . /1375899742.Didn't retrieve data . /1375899740.Didn't retrieve data . /1375899737.Didn't retrieve data . /1375899734.Didn't retrieve data . /1375899732.Didn't retrieve data . /1375899728.Didn't retrieve data . /1375899715.Didn't retrieve data . /1375899711.Didn't retrieve data . /1375899705.Didn't retrieve data . /1375899702.Didn't retrieve data . /1375899698.Didn't retrieve data . /1375899694.Didn't retrieve data . /1375899660.Didn't retrieve data . /1375899659.Didn't retrieve data . /1375899658.Didn't retrieve data . /1375899646.Didn't retrieve data . /1375899643.Didn't retrieve data . /1375899640.Didn't retrieve data . /1375899638.Didn't retrieve data . /1375899637.Didn't retrieve data . /1375899634.Didn't retrieve data . /1375899538.Didn't retrieve data . /1375899514.Didn't retrieve data . /1375899492.Didn't retrieve data . /1375899468.Didn't retrieve data . /1375899449.Didn't retrieve data . /1375899226.Didn't retrieve data . /1375899222.Didn't retrieve data . /1375899192.Didn't retrieve data . /1375899190.Didn't retrieve data . /1375899188.Didn't retrieve data . /1375899186.Didn't retrieve data . /1375899110.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, '3490838') ('4302', '25817271', '1375918017', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899797', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899776', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899773', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899742', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899740', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899737', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899734', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899732', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899728', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899715', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899711', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899705', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899702', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899698', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899694', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899660', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899659', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899658', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899646', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899643', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899640', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899638', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899637', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899634', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899538', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899514', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899492', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899468', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899449', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899226', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899222', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899192', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899190', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899188', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899186', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899110', None, None, None, None, None, '3490838') 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', '25817271', '1375918017', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899797', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899776', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899773', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899742', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899740', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899737', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899734', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899732', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899728', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899715', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899711', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899705', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899702', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899698', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899694', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899660', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899659', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899658', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899646', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899643', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899640', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899638', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899637', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899634', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899538', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899514', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899492', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899468', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899449', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899226', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899222', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899192', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899190', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899188', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899186', '0.05318670897000121', None, None, None, None, '3490838'), ('4302', '25817271', '1375899110', '0.05318670897000121', None, None, None, None, '3490838')] time used for this insertion : 0.02288341522216797 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06539630889892578 time spend to save output : 0.024326086044311523 total time spend for step 2 : 0.0897223949432373 step3:velours_tree Sat Aug 9 05:45:01 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 : {25817271: [{'cartonnette': 25817277, 'Carton_gris': 25817278, 'autre_refus': 25817279, 'environnement': 25817280, 'Teint_Dans_La_Masse': 25817281, 'kraft': 25817282, 'mal_croppe': 25817283, 'Carton_brun': 25817284, 'plastique': 25817285, 'flou': 25817286, 'metal': 25817287, 'papier': 25817288}]} input_args_next_step : {25817271: ()} output_args : {25817271: [{'cartonnette': 25817277, 'Carton_gris': 25817278, 'autre_refus': 25817279, 'environnement': 25817280, 'Teint_Dans_La_Masse': 25817281, 'kraft': 25817282, 'mal_croppe': 25817283, 'Carton_brun': 25817284, 'plastique': 25817285, 'flou': 25817286, 'metal': 25817287, 'papier': 25817288}]} args : 25817271 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 : ({'cartonnette': 25817277, 'Carton_gris': 25817278, 'autre_refus': 25817279, 'environnement': 25817280, 'Teint_Dans_La_Masse': 25817281, 'kraft': 25817282, 'mal_croppe': 25817283, 'Carton_brun': 25817284, 'plastique': 25817285, 'flou': 25817286, 'metal': 25817287, 'papier': 25817288},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25817271) 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([25817271]) 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.2880868911743164 time spend to save output : 5.245208740234375e-05 total time spend for step 3 : 0.28813934326171875 step4:send_mail_cod Sat Aug 9 05:45:01 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 : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} input_args_next_step : {1375918017: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375918017 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899797 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899776 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899773 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899742 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899740 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899737 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899734 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899732 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899728 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899715 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899711 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899705 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899702 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899698 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899694 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899660 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899659 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899658 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899646 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899643 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899640 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899638 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899637 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899634 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899538 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899514 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899492 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899468 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899449 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899226 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899222 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899192 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899190 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899188 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899186 depend.output_id : 0 input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ()} output_args : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',)} args : 1375899110 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 : {25817271: [{'cartonnette': 25817277, 'Carton_gris': 25817278, 'autre_refus': 25817279, 'environnement': 25817280, 'Teint_Dans_La_Masse': 25817281, 'kraft': 25817282, 'mal_croppe': 25817283, 'Carton_brun': 25817284, 'plastique': 25817285, 'flou': 25817286, 'metal': 25817287, 'papier': 25817288}]} input_args_next_step : {1375918017: ('0.05318670897000121',), 1375899797: ('0.05318670897000121',), 1375899776: ('0.05318670897000121',), 1375899773: ('0.05318670897000121',), 1375899742: ('0.05318670897000121',), 1375899740: ('0.05318670897000121',), 1375899737: ('0.05318670897000121',), 1375899734: ('0.05318670897000121',), 1375899732: ('0.05318670897000121',), 1375899728: ('0.05318670897000121',), 1375899715: ('0.05318670897000121',), 1375899711: ('0.05318670897000121',), 1375899705: ('0.05318670897000121',), 1375899702: ('0.05318670897000121',), 1375899698: ('0.05318670897000121',), 1375899694: ('0.05318670897000121',), 1375899660: ('0.05318670897000121',), 1375899659: ('0.05318670897000121',), 1375899658: ('0.05318670897000121',), 1375899646: ('0.05318670897000121',), 1375899643: ('0.05318670897000121',), 1375899640: ('0.05318670897000121',), 1375899638: ('0.05318670897000121',), 1375899637: ('0.05318670897000121',), 1375899634: ('0.05318670897000121',), 1375899538: ('0.05318670897000121',), 1375899514: ('0.05318670897000121',), 1375899492: ('0.05318670897000121',), 1375899468: ('0.05318670897000121',), 1375899449: ('0.05318670897000121',), 1375899226: ('0.05318670897000121',), 1375899222: ('0.05318670897000121',), 1375899192: ('0.05318670897000121',), 1375899190: ('0.05318670897000121',), 1375899188: ('0.05318670897000121',), 1375899186: ('0.05318670897000121',), 1375899110: ('0.05318670897000121',), 25817271: ()} output_args : {25817271: [{'cartonnette': 25817277, 'Carton_gris': 25817278, 'autre_refus': 25817279, 'environnement': 25817280, 'Teint_Dans_La_Masse': 25817281, 'kraft': 25817282, 'mal_croppe': 25817283, 'Carton_brun': 25817284, 'plastique': 25817285, 'flou': 25817286, 'metal': 25817287, 'papier': 25817288}]} args : 25817271 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.05318670897000121',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25817271) 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 (1375918017,1375899797,1375899776,1375899773,1375899742,1375899740,1375899737,1375899734,1375899732,1375899728,1375899715,1375899711,1375899705,1375899702,1375899698,1375899694,1375899660,1375899659,1375899658,1375899646,1375899643,1375899640,1375899638,1375899637,1375899634,1375899538,1375899514,1375899492,1375899468,1375899449,1375899226,1375899222,1375899192,1375899190,1375899188,1375899186,1375899110) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1375899110 begin to download photo : 1375899468 begin to download photo : 1375899643 begin to download photo : 1375899705 begin to download photo : 1375899742 download finish for photo 1375899643 begin to download photo : 1375899646 download finish for photo 1375899468 begin to download photo : 1375899492 download finish for photo 1375899110 begin to download photo : 1375899186 download finish for photo 1375899742 begin to download photo : 1375899773 download finish for photo 1375899705 begin to download photo : 1375899711 download finish for photo 1375899646 begin to download photo : 1375899658 download finish for photo 1375899492 begin to download photo : 1375899514 download finish for photo 1375899773 begin to download photo : 1375899776 download finish for photo 1375899711 begin to download photo : 1375899715 download finish for photo 1375899186 begin to download photo : 1375899188 download finish for photo 1375899514 begin to download photo : 1375899538 download finish for photo 1375899658 begin to download photo : 1375899659 download finish for photo 1375899776 begin to download photo : 1375899797 download finish for photo 1375899715 begin to download photo : 1375899728 download finish for photo 1375899659 begin to download photo : 1375899660 download finish for photo 1375899538 begin to download photo : 1375899634 download finish for photo 1375899728 begin to download photo : 1375899732 download finish for photo 1375899188 begin to download photo : 1375899190 download finish for photo 1375899797 begin to download photo : 1375918017 download finish for photo 1375899660 begin to download photo : 1375899694 download finish for photo 1375899634 begin to download photo : 1375899637 download finish for photo 1375918017 download finish for photo 1375899190 begin to download photo : 1375899192 download finish for photo 1375899732 begin to download photo : 1375899734 download finish for photo 1375899694 begin to download photo : 1375899698 download finish for photo 1375899637 begin to download photo : 1375899638 download finish for photo 1375899698 begin to download photo : 1375899702 download finish for photo 1375899734 begin to download photo : 1375899737 download finish for photo 1375899638 begin to download photo : 1375899640 download finish for photo 1375899192 begin to download photo : 1375899222 download finish for photo 1375899737 begin to download photo : 1375899740 download finish for photo 1375899702 download finish for photo 1375899222 begin to download photo : 1375899226 download finish for photo 1375899640 download finish for photo 1375899740 download finish for photo 1375899226 begin to download photo : 1375899449 download finish for photo 1375899449 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_P25817271_09-08-2025_05_45_03.pdf 25817277 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=25817277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375899631: '1754663007_3625274_1375899186_1965437e288f091009d7e2c8505c6011_rle_crop_3907386558_0.png', 1375899766: '1754663246_3631459_1375899659_3671b1e77fbf12e12cc25f3cdd1f1944_rle_crop_3907390386_0.png', 1375899972: '1754663606_3641965_1375899646_2666a9ea8380eb5b1815582c7bf240d5_rle_crop_3907393690_0.png', 1375899973: '1754663606_3641965_1375899468_8ab260642f3ac7738460252a79f278f2_rle_crop_3907393725_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/4490749243bbdcdf3ca5a36f419397b1_69079828.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/b9763d43bfe442f10652eeaf1bc7e8e5_73672469.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/0ef761524b73dd65322165fc23514c7d_24988822.png change filename to text .imagette258172771754711103/ imagette258172771754711103/1754663007_3625274_1375899186_1965437e288f091009d7e2c8505c6011_rle_crop_3907386558_0.png.png imagette258172771754711103/1754663606_3641965_1375899646_2666a9ea8380eb5b1815582c7bf240d5_rle_crop_3907393690_0.png.png imagette258172771754711103/1754663246_3631459_1375899659_3671b1e77fbf12e12cc25f3cdd1f1944_rle_crop_3907390386_0.png.png imagette258172771754711103/1754663606_3641965_1375899468_8ab260642f3ac7738460252a79f278f2_rle_crop_3907393725_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/8a9af2d1aad631b380b7a3211504b73f_91938399.png imagette258172771754711103 25817279 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=25817279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375899825: '1754663366_3634610_1375899776_1aa8be5ce032fdaa5c3cd1076d4359d6_rle_crop_3907392004_0.png', 1375899826: '1754663366_3634610_1375899776_1aa8be5ce032fdaa5c3cd1076d4359d6_rle_crop_3907392002_0.png', 1375899827: '1754663366_3634610_1375899737_ce31a7db255b5b9af6ac55b10f69e480_rle_crop_3907392034_0.png', 1375900023: '1754663727_3645376_1375899643_9e2c570a109aa2fffdb2766c096e9a88_rle_crop_3907394753_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/034a122aa520f3568e3f8abc9a4f4bbf_22329254.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/603b2f29c28dda7796b71148c18bccf4_49942554.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/37afbd3d855e57c04c508343c4eda265_14580696.png change filename to text .imagette258172791754711103/ imagette258172791754711103/1754663366_3634610_1375899776_1aa8be5ce032fdaa5c3cd1076d4359d6_rle_crop_3907392002_0.png.png imagette258172791754711103/1754663366_3634610_1375899776_1aa8be5ce032fdaa5c3cd1076d4359d6_rle_crop_3907392004_0.png.png imagette258172791754711103/1754663366_3634610_1375899737_ce31a7db255b5b9af6ac55b10f69e480_rle_crop_3907392034_0.png.png imagette258172791754711103/1754663727_3645376_1375899643_9e2c570a109aa2fffdb2766c096e9a88_rle_crop_3907394753_0.png.png imagette258172821754711104/ imagette258172831754711104/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/3ac312ad13f1d94ef90c9ad780d608e5_4259905.png imagette258172791754711103 25817282 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=25817282 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette258172821754711104 25817283 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=25817283 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette258172831754711104 25817285 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=25817285 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375899831: '1754663366_3634610_1375899734_312fa6514c4709a7a58b7a6fd4cf6339_rle_crop_3907392044_0.png', 1375900257: '1754663967_3653433_1375899192_2fdaf4e7f6a95e7eaf35cc80d5155480_rle_crop_3907397096_0.png', 1375900259: '1754663967_3653433_1375899192_2fdaf4e7f6a95e7eaf35cc80d5155480_rle_crop_3907397092_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/e9267906ad092dbdc50c3c7b363d355a_55667322.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/5412e3d997a1455c23a83fac4b881611_81060008.png change filename to text .imagette258172851754711104/ imagette258172851754711104/1754663366_3634610_1375899734_312fa6514c4709a7a58b7a6fd4cf6339_rle_crop_3907392044_0.png.png imagette258172851754711104/1754663967_3653433_1375899192_2fdaf4e7f6a95e7eaf35cc80d5155480_rle_crop_3907397092_0.png.png imagette258172851754711104/1754663967_3653433_1375899192_2fdaf4e7f6a95e7eaf35cc80d5155480_rle_crop_3907397096_0.png.png imagette258172861754711104/ imagette258172871754711104/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/e15d3bc29e175341b7783e0a4a3f470f_49527123.png imagette258172851754711104 25817286 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=25817286 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette258172861754711104 25817287 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=25817287 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette258172871754711104 25817278 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=25817278 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375899760: '1754663246_3631459_1375899659_3671b1e77fbf12e12cc25f3cdd1f1944_rle_crop_3907390392_0.png', 1375899762: '1754663246_3631459_1375899658_6c8873c7afb8ef506083a712b1229c76_rle_crop_3907390401_0.png', 1375899829: '1754663366_3634610_1375899776_1aa8be5ce032fdaa5c3cd1076d4359d6_rle_crop_3907392003_0.png', 1375899830: '1754663366_3634610_1375899740_88feb5fdb36f489d0ace42a93e9b48b0_rle_crop_3907392015_0.png', 1375899883: '1754663487_3637867_1375899711_15c5fa10f000a412cf08a30f60690ca3_rle_crop_3907392719_0.png', 1375899884: '1754663487_3637867_1375899705_b50a443294280a2dc9c112a30d4e024b_rle_crop_3907392730_0.png', 1375899885: '1754663487_3637867_1375899702_48d67da3196f4ed2987de27f11c567fb_rle_crop_3907392741_0.png', 1375900025: '1754663727_3645376_1375899660_3189d919fed308f674814786696e8f8c_rle_crop_3907394683_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/34aee859594aed358d5092a6f48fe119_6952640.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/66734080efd229a356bf6f5d7df41d53_40573827.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/431474f542df5dfefa7315e391c1fca3_60518341.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/cd08512c0d6bb88d859b4b43cfb7b26f_2005509.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/b4dfea2a631ffe469a27bb7e74d020c0_66951167.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/896e2344fcd1f3226ca5f1a719136650_6596482.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/4101887a014198f97a30f8f0652c18b1_54033355.png change filename to text .imagette258172781754711104/ imagette258172781754711104/1754663487_3637867_1375899711_15c5fa10f000a412cf08a30f60690ca3_rle_crop_3907392719_0.png.png imagette258172781754711104/1754663727_3645376_1375899660_3189d919fed308f674814786696e8f8c_rle_crop_3907394683_0.png.png imagette258172781754711104/1754663246_3631459_1375899658_6c8873c7afb8ef506083a712b1229c76_rle_crop_3907390401_0.png.png imagette258172781754711104/1754663487_3637867_1375899705_b50a443294280a2dc9c112a30d4e024b_rle_crop_3907392730_0.png.png imagette258172781754711104/1754663246_3631459_1375899659_3671b1e77fbf12e12cc25f3cdd1f1944_rle_crop_3907390392_0.png.png imagette258172781754711104/1754663487_3637867_1375899702_48d67da3196f4ed2987de27f11c567fb_rle_crop_3907392741_0.png.png imagette258172781754711104/1754663366_3634610_1375899776_1aa8be5ce032fdaa5c3cd1076d4359d6_rle_crop_3907392003_0.png.png imagette258172781754711104/1754663366_3634610_1375899740_88feb5fdb36f489d0ace42a93e9b48b0_rle_crop_3907392015_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/61d0f979395dae7f3977a9473bed8ad1_65277017.png imagette258172781754711104 25817281 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=25817281 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375899629: '1754663007_3625274_1375899188_e829918c9d1fd540e732174da7cab92a_rle_crop_3907386552_0.png', 1375899758: '1754663246_3631459_1375899658_6c8873c7afb8ef506083a712b1229c76_rle_crop_3907390403_0.png', 1375899759: '1754663246_3631459_1375899658_6c8873c7afb8ef506083a712b1229c76_rle_crop_3907390408_0.png', 1375899822: '1754663366_3634610_1375899740_88feb5fdb36f489d0ace42a93e9b48b0_rle_crop_3907392018_0.png', 1375899823: '1754663366_3634610_1375899737_ce31a7db255b5b9af6ac55b10f69e480_rle_crop_3907392037_0.png', 1375899824: '1754663366_3634610_1375899734_312fa6514c4709a7a58b7a6fd4cf6339_rle_crop_3907392052_0.png', 1375899965: '1754663606_3641965_1375899514_794a318ab7e9b54ed084a6d2fb3a5381_rle_crop_3907393703_0.png', 1375899966: '1754663606_3641965_1375899514_794a318ab7e9b54ed084a6d2fb3a5381_rle_crop_3907393707_0.png', 1375899967: '1754663606_3641965_1375899492_e6a55f644ce54e9c79d02e30c6e4a881_rle_crop_3907393718_0.png', 1375899968: '1754663606_3641965_1375899468_8ab260642f3ac7738460252a79f278f2_rle_crop_3907393731_0.png', 1375899969: '1754663606_3641965_1375899449_1044a261e9b9901e45b7ce0ea773f62c_rle_crop_3907393746_0.png', 1375899970: '1754663606_3641965_1375899449_1044a261e9b9901e45b7ce0ea773f62c_rle_crop_3907393742_0.png', 1375900019: '1754663727_3645376_1375899640_8d200c10c02566ccbf69ecfa4bf1c58d_rle_crop_3907394763_0.png', 1375900020: '1754663727_3645376_1375899638_6164e31bbf04a7e5f6ca07666ee6e8a1_rle_crop_3907394779_0.png', 1375900021: '1754663727_3645376_1375899638_6164e31bbf04a7e5f6ca07666ee6e8a1_rle_crop_3907394780_0.png', 1375900022: '1754663727_3645376_1375899637_2409ab59518288005fd48d07110b38a8_rle_crop_3907394795_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/e22561a69bdcf7fdd53eefc81c6a8dd8_71189414.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/cdce117927880e6401442d408670a0f2_65963393.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/50ec22f40aed1182280ee3230bd2f063_40954640.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/666236a13c45b163e6d20ef573650532_23383548.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/73eb7ecdaf6e880a6969d866ff6e7a2b_8900668.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/eabb97630ed2886103345e5fe7beddec_57974952.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/e3559e7e2a834089880ee7d9d91b40fb_17564105.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/d492015d80aa53629cafa03f80728126_90063870.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/56bb24852609d0a9cf0f03cb283a5bde_6567794.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/e5961e7242fbdfe8ab70b143c3768cf4_16177151.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/7b0a881bf8b2d5983428232d9c47a386_30426147.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/79dca779e6413eaf54acf3b32c1d67e8_59060230.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/a21854ba2997008b83aa4991b9917bc8_4281060.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/c6d3245b8d024738ec4d93e2836b40f4_20428648.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/bd9b938d860066dd3357c06244e60baf_50433555.png change filename to text .imagette258172811754711105/ imagette258172811754711105/1754663606_3641965_1375899449_1044a261e9b9901e45b7ce0ea773f62c_rle_crop_3907393746_0.png.png imagette258172811754711105/1754663366_3634610_1375899737_ce31a7db255b5b9af6ac55b10f69e480_rle_crop_3907392037_0.png.png imagette258172811754711105/1754663366_3634610_1375899740_88feb5fdb36f489d0ace42a93e9b48b0_rle_crop_3907392018_0.png.png imagette258172811754711105/1754663246_3631459_1375899658_6c8873c7afb8ef506083a712b1229c76_rle_crop_3907390403_0.png.png imagette258172811754711105/1754663606_3641965_1375899514_794a318ab7e9b54ed084a6d2fb3a5381_rle_crop_3907393703_0.png.png imagette258172811754711105/1754663606_3641965_1375899514_794a318ab7e9b54ed084a6d2fb3a5381_rle_crop_3907393707_0.png.png imagette258172811754711105/1754663606_3641965_1375899492_e6a55f644ce54e9c79d02e30c6e4a881_rle_crop_3907393718_0.png.png imagette258172811754711105/1754663727_3645376_1375899637_2409ab59518288005fd48d07110b38a8_rle_crop_3907394795_0.png.png imagette258172811754711105/1754663366_3634610_1375899734_312fa6514c4709a7a58b7a6fd4cf6339_rle_crop_3907392052_0.png.png imagette258172811754711105/1754663007_3625274_1375899188_e829918c9d1fd540e732174da7cab92a_rle_crop_3907386552_0.png.png imagette258172811754711105/1754663606_3641965_1375899449_1044a261e9b9901e45b7ce0ea773f62c_rle_crop_3907393742_0.png.png imagette258172811754711105/1754663246_3631459_1375899658_6c8873c7afb8ef506083a712b1229c76_rle_crop_3907390408_0.png.png imagette258172811754711105/1754663606_3641965_1375899468_8ab260642f3ac7738460252a79f278f2_rle_crop_3907393731_0.png.png imagette258172811754711105/1754663727_3645376_1375899638_6164e31bbf04a7e5f6ca07666ee6e8a1_rle_crop_3907394780_0.png.png imagette258172811754711105/1754663727_3645376_1375899638_6164e31bbf04a7e5f6ca07666ee6e8a1_rle_crop_3907394779_0.png.png imagette258172811754711105/1754663727_3645376_1375899640_8d200c10c02566ccbf69ecfa4bf1c58d_rle_crop_3907394763_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/94c10afbad4794028b22cdf36de51f67_99917737.png imagette258172811754711105 25817284 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=25817284 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375899887: '1754663487_3637867_1375899742_d6318f963ad2691078140a1550cc25f2_rle_crop_3907392709_0.png', 1375899888: '1754663487_3637867_1375899742_d6318f963ad2691078140a1550cc25f2_rle_crop_3907392707_0.png', 1375899889: '1754663487_3637867_1375899694_96ed6fddc5f1d5f4e79ca803211442e3_rle_crop_3907392763_0.png', 1375899890: '1754663487_3637867_1375899694_96ed6fddc5f1d5f4e79ca803211442e3_rle_crop_3907392762_0.png', 1375899974: '1754663606_3641965_1375899646_2666a9ea8380eb5b1815582c7bf240d5_rle_crop_3907393692_0.png', 1375899975: '1754663606_3641965_1375899514_794a318ab7e9b54ed084a6d2fb3a5381_rle_crop_3907393701_0.png', 1375900027: '1754663727_3645376_1375899634_10b4c34e4c1cec3fc4d3f7fd3afcfca8_rle_crop_3907394813_0.png', 1375900064: '1754663845_3650540_1375899538_6fee556a3870fccc2bd32fa9bbd5008c_rle_crop_3907395178_0.png', 1375900249: '1754663967_3653433_1375899192_2fdaf4e7f6a95e7eaf35cc80d5155480_rle_crop_3907397091_0.png', 1375900251: '1754663967_3653433_1375899110_89d67e01ea53cda7ad1659df78591e0e_rle_crop_3907397101_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/30438f32ebbd748576b14d157ad45ee1_74324942.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/1f181ff2e0b94251e28831ec4cf216a5_58078351.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/bd53453b52131c1ff128bf3e71003a73_80663836.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/22bbb6e7c4871814cb69779a03b06409_72444143.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/382bcbd14754fbdade2df56a5e4bb0cd_35159737.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/043772f9796aa11ca1c5ae1790c4cfd5_71759061.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/ec77d57f810e543b7adad8fe13f5c54e_2052847.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/165c0e8aef5af745c2eeb41d34c05b10_34563186.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/4020c193d5ba5aaa53a5baa33b322b11_29443653.png change filename to text .imagette258172841754711106/ imagette258172841754711106/1754663967_3653433_1375899110_89d67e01ea53cda7ad1659df78591e0e_rle_crop_3907397101_0.png.png imagette258172841754711106/1754663845_3650540_1375899538_6fee556a3870fccc2bd32fa9bbd5008c_rle_crop_3907395178_0.png.png imagette258172841754711106/1754663727_3645376_1375899634_10b4c34e4c1cec3fc4d3f7fd3afcfca8_rle_crop_3907394813_0.png.png imagette258172841754711106/1754663967_3653433_1375899192_2fdaf4e7f6a95e7eaf35cc80d5155480_rle_crop_3907397091_0.png.png imagette258172841754711106/1754663606_3641965_1375899514_794a318ab7e9b54ed084a6d2fb3a5381_rle_crop_3907393701_0.png.png imagette258172841754711106/1754663606_3641965_1375899646_2666a9ea8380eb5b1815582c7bf240d5_rle_crop_3907393692_0.png.png imagette258172841754711106/1754663487_3637867_1375899742_d6318f963ad2691078140a1550cc25f2_rle_crop_3907392707_0.png.png imagette258172841754711106/1754663487_3637867_1375899694_96ed6fddc5f1d5f4e79ca803211442e3_rle_crop_3907392762_0.png.png imagette258172841754711106/1754663487_3637867_1375899694_96ed6fddc5f1d5f4e79ca803211442e3_rle_crop_3907392763_0.png.png imagette258172841754711106/1754663487_3637867_1375899742_d6318f963ad2691078140a1550cc25f2_rle_crop_3907392709_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/42071a5efb748cf1fdbed014a41e6014_21685858.png imagette258172841754711106 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25817271 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25817290,25817291,25817292,25817293,25817294,25817295,25817296,25817297,25817298,25817299,25817300,25817301?tags=cartonnette,Carton_gris,autre_refus,environnement,Teint_Dans_La_Masse,kraft,mal_croppe,Carton_brun,plastique,flou,metal,papier your option no_mail is active, we will not send the real mail to your client args[1375918017] : ('0.05318670897000121',) no score found for photo 1375918017 We are sending mail with results at report@fotonower.com args[1375899797] : ('0.05318670897000121',) no score found for photo 1375899797 We are sending mail with results at report@fotonower.com args[1375899776] : ('0.05318670897000121',) no score found for photo 1375899776 We are sending mail with results at report@fotonower.com args[1375899773] : ('0.05318670897000121',) no score found for photo 1375899773 We are sending mail with results at report@fotonower.com args[1375899742] : ('0.05318670897000121',) no score found for photo 1375899742 We are sending mail with results at report@fotonower.com args[1375899740] : ('0.05318670897000121',) no score found for photo 1375899740 We are sending mail with results at report@fotonower.com args[1375899737] : ('0.05318670897000121',) no score found for photo 1375899737 We are sending mail with results at report@fotonower.com args[1375899734] : ('0.05318670897000121',) no score found for photo 1375899734 We are sending mail with results at report@fotonower.com args[1375899732] : ('0.05318670897000121',) no score found for photo 1375899732 We are sending mail with results at report@fotonower.com args[1375899728] : ('0.05318670897000121',) no score found for photo 1375899728 We are sending mail with results at report@fotonower.com args[1375899715] : ('0.05318670897000121',) no score found for photo 1375899715 We are sending mail with results at report@fotonower.com args[1375899711] : ('0.05318670897000121',) no score found for photo 1375899711 We are sending mail with results at report@fotonower.com args[1375899705] : ('0.05318670897000121',) no score found for photo 1375899705 We are sending mail with results at report@fotonower.com args[1375899702] : ('0.05318670897000121',) no score found for photo 1375899702 We are sending mail with results at report@fotonower.com args[1375899698] : ('0.05318670897000121',) no score found for photo 1375899698 We are sending mail with results at report@fotonower.com args[1375899694] : ('0.05318670897000121',) no score found for photo 1375899694 We are sending mail with results at report@fotonower.com args[1375899660] : ('0.05318670897000121',) no score found for photo 1375899660 We are sending mail with results at report@fotonower.com args[1375899659] : ('0.05318670897000121',) no score found for photo 1375899659 We are sending mail with results at report@fotonower.com args[1375899658] : ('0.05318670897000121',) no score found for photo 1375899658 We are sending mail with results at report@fotonower.com args[1375899646] : ('0.05318670897000121',) no score found for photo 1375899646 We are sending mail with results at report@fotonower.com args[1375899643] : ('0.05318670897000121',) no score found for photo 1375899643 We are sending mail with results at report@fotonower.com args[1375899640] : ('0.05318670897000121',) no score found for photo 1375899640 We are sending mail with results at report@fotonower.com args[1375899638] : ('0.05318670897000121',) no score found for photo 1375899638 We are sending mail with results at report@fotonower.com args[1375899637] : ('0.05318670897000121',) no score found for photo 1375899637 We are sending mail with results at report@fotonower.com args[1375899634] : ('0.05318670897000121',) no score found for photo 1375899634 We are sending mail with results at report@fotonower.com args[1375899538] : ('0.05318670897000121',) no score found for photo 1375899538 We are sending mail with results at report@fotonower.com args[1375899514] : ('0.05318670897000121',) no score found for photo 1375899514 We are sending mail with results at report@fotonower.com args[1375899492] : ('0.05318670897000121',) no score found for photo 1375899492 We are sending mail with results at report@fotonower.com args[1375899468] : ('0.05318670897000121',) no score found for photo 1375899468 We are sending mail with results at report@fotonower.com args[1375899449] : ('0.05318670897000121',) no score found for photo 1375899449 We are sending mail with results at report@fotonower.com args[1375899226] : ('0.05318670897000121',) no score found for photo 1375899226 We are sending mail with results at report@fotonower.com args[1375899222] : ('0.05318670897000121',) no score found for photo 1375899222 We are sending mail with results at report@fotonower.com args[1375899192] : ('0.05318670897000121',) no score found for photo 1375899192 We are sending mail with results at report@fotonower.com args[1375899190] : ('0.05318670897000121',) no score found for photo 1375899190 We are sending mail with results at report@fotonower.com args[1375899188] : ('0.05318670897000121',) no score found for photo 1375899188 We are sending mail with results at report@fotonower.com args[1375899186] : ('0.05318670897000121',) no score found for photo 1375899186 We are sending mail with results at report@fotonower.com args[1375899110] : ('0.05318670897000121',) no score found for photo 1375899110 We are sending mail with results at report@fotonower.com refus_total : 0.05318670897000121 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=25817271 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_P25817271_09-08-2025_05_45_03.pdf results_Auto_P25817271_09-08-2025_05_45_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25817271_09-08-2025_05_45_03.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','25817271','results_Auto_P25817271_09-08-2025_05_45_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25817271_09-08-2025_05_45_03.pdf','pdf','','0.4','0.05318670897000121') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25817271]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] map_info['map_portfolio_photo'] : {25817271: [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110]} final : False mtd_id 4302 list_pids : [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] 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, '3490838') ('4302', '25817271', '1375918017', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899797', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899776', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899773', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899742', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899740', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899737', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899734', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899732', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899728', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899715', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899711', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899705', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899702', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899698', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899694', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899660', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899659', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899658', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899646', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899643', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899640', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899638', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899637', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899634', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899538', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899514', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899492', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899468', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899449', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899226', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899222', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899192', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899190', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899188', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899186', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899110', None, None, None, None, None, '3490838') 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', '25817271', '1375918017', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899797', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899776', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899773', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899742', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899740', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899737', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899734', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899732', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899728', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899715', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899711', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899705', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899702', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899698', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899694', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899660', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899659', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899658', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899646', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899643', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899640', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899638', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899637', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899634', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899538', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899514', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899492', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899468', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899449', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899226', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899222', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899192', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899190', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899188', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899186', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899110', None, None, None, None, None, '3490838')] time used for this insertion : 0.20260262489318848 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.287515878677368 time spend to save output : 0.20303583145141602 total time spend for step 4 : 7.490551710128784 step5:split_time_score Sat Aug 9 05:45:09 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 : ['25817271'] 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 : [('25817271',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25817271) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1375899742: {'path': 'temp/1754711101_568129_1375899742_d6318f963ad2691078140a1550cc25f2.jpg', 'extension': 'jpg'}, 1375899773: {'path': 'temp/1754711101_568129_1375899773_6225672d453d7799f8e523993b6589a2.jpg', 'extension': 'jpg'}, 1375899776: {'path': 'temp/1754711101_568129_1375899776_1aa8be5ce032fdaa5c3cd1076d4359d6.jpg', 'extension': 'jpg'}, 1375899797: {'path': 'temp/1754711101_568129_1375899797_8f31e1d59bf9b33dc48d79e2f2361eae.jpg', 'extension': 'jpg'}, 1375918017: {'path': 'temp/1754711101_568129_1375918017_29b3df0c452d40aea31dacccd9b08dd1.jpg', 'extension': 'jpg'}, 1375899643: {'path': 'temp/1754711101_568129_1375899643_9e2c570a109aa2fffdb2766c096e9a88.jpg', 'extension': 'jpg'}, 1375899646: {'path': 'temp/1754711101_568129_1375899646_2666a9ea8380eb5b1815582c7bf240d5.jpg', 'extension': 'jpg'}, 1375899658: {'path': 'temp/1754711101_568129_1375899658_6c8873c7afb8ef506083a712b1229c76.jpg', 'extension': 'jpg'}, 1375899659: {'path': 'temp/1754711101_568129_1375899659_3671b1e77fbf12e12cc25f3cdd1f1944.jpg', 'extension': 'jpg'}, 1375899660: {'path': 'temp/1754711101_568129_1375899660_3189d919fed308f674814786696e8f8c.jpg', 'extension': 'jpg'}, 1375899694: {'path': 'temp/1754711101_568129_1375899694_96ed6fddc5f1d5f4e79ca803211442e3.jpg', 'extension': 'jpg'}, 1375899698: {'path': 'temp/1754711101_568129_1375899698_e27b3aebb8574bc70cf535588e4f75c4.jpg', 'extension': 'jpg'}, 1375899702: {'path': 'temp/1754711101_568129_1375899702_48d67da3196f4ed2987de27f11c567fb.jpg', 'extension': 'jpg'}, 1375899468: {'path': 'temp/1754711101_568129_1375899468_8ab260642f3ac7738460252a79f278f2.jpg', 'extension': 'jpg'}, 1375899492: {'path': 'temp/1754711101_568129_1375899492_e6a55f644ce54e9c79d02e30c6e4a881.jpg', 'extension': 'jpg'}, 1375899514: {'path': 'temp/1754711101_568129_1375899514_794a318ab7e9b54ed084a6d2fb3a5381.jpg', 'extension': 'jpg'}, 1375899538: {'path': 'temp/1754711101_568129_1375899538_6fee556a3870fccc2bd32fa9bbd5008c.jpg', 'extension': 'jpg'}, 1375899634: {'path': 'temp/1754711101_568129_1375899634_10b4c34e4c1cec3fc4d3f7fd3afcfca8.jpg', 'extension': 'jpg'}, 1375899637: {'path': 'temp/1754711101_568129_1375899637_2409ab59518288005fd48d07110b38a8.jpg', 'extension': 'jpg'}, 1375899638: {'path': 'temp/1754711101_568129_1375899638_6164e31bbf04a7e5f6ca07666ee6e8a1.jpg', 'extension': 'jpg'}, 1375899640: {'path': 'temp/1754711101_568129_1375899640_8d200c10c02566ccbf69ecfa4bf1c58d.jpg', 'extension': 'jpg'}, 1375899705: {'path': 'temp/1754711101_568129_1375899705_b50a443294280a2dc9c112a30d4e024b.jpg', 'extension': 'jpg'}, 1375899711: {'path': 'temp/1754711101_568129_1375899711_15c5fa10f000a412cf08a30f60690ca3.jpg', 'extension': 'jpg'}, 1375899715: {'path': 'temp/1754711101_568129_1375899715_aa4f80b4a40f30f60581e467f89ab7cd.jpg', 'extension': 'jpg'}, 1375899728: {'path': 'temp/1754711101_568129_1375899728_a07efdd45d62ea9ad099443917e2d943.jpg', 'extension': 'jpg'}, 1375899732: {'path': 'temp/1754711101_568129_1375899732_d56c23f3577ce254523a4eb2b99b4034.jpg', 'extension': 'jpg'}, 1375899734: {'path': 'temp/1754711101_568129_1375899734_312fa6514c4709a7a58b7a6fd4cf6339.jpg', 'extension': 'jpg'}, 1375899737: {'path': 'temp/1754711101_568129_1375899737_ce31a7db255b5b9af6ac55b10f69e480.jpg', 'extension': 'jpg'}, 1375899740: {'path': 'temp/1754711101_568129_1375899740_88feb5fdb36f489d0ace42a93e9b48b0.jpg', 'extension': 'jpg'}, 1375899110: {'path': 'temp/1754711101_568129_1375899110_89d67e01ea53cda7ad1659df78591e0e.jpg', 'extension': 'jpg'}, 1375899186: {'path': 'temp/1754711101_568129_1375899186_1965437e288f091009d7e2c8505c6011.jpg', 'extension': 'jpg'}, 1375899188: {'path': 'temp/1754711101_568129_1375899188_e829918c9d1fd540e732174da7cab92a.jpg', 'extension': 'jpg'}, 1375899190: {'path': 'temp/1754711101_568129_1375899190_17f79928f08642a288ab4ecfd487241f.jpg', 'extension': 'jpg'}, 1375899192: {'path': 'temp/1754711101_568129_1375899192_2fdaf4e7f6a95e7eaf35cc80d5155480.jpg', 'extension': 'jpg'}, 1375899222: {'path': 'temp/1754711101_568129_1375899222_1cafb07f6764a0ad6ee28e116bcf88ee.jpg', 'extension': 'jpg'}, 1375899226: {'path': 'temp/1754711101_568129_1375899226_81363389b560f6264efa73bf0aad15f6.jpg', 'extension': 'jpg'}, 1375899449: {'path': 'temp/1754711101_568129_1375899449_1044a261e9b9901e45b7ce0ea773f62c.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 = 25817271; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 25817271 group by h (('16', 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=25817271 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 (25817271) 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 (25817271) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08082025 25817271 Nombre de photos uploadées : 37 / 23040 (0%) 08082025 25817271 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 08082025 25817271 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1375899110, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/89d67e01ea53cda7ad1659df78591e0e.jpg', 'username': None, 'uploaded_at': 1754662807, 'text': 'image_08082025_16_19_25_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1375899192, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/2fdaf4e7f6a95e7eaf35cc80d5155480.jpg', 'username': None, 'uploaded_at': 1754662868, 'text': 'image_08082025_16_19_35_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1375899190, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/17f79928f08642a288ab4ecfd487241f.jpg', 'username': None, 'uploaded_at': 1754662868, 'text': 'image_08082025_16_20_15_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1375899188, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/8/e829918c9d1fd540e732174da7cab92a.jpg', 'username': None, 'uploaded_at': 1754662868, 'text': 'image_08082025_16_20_35_010143m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017485618591308594 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25817271, '2025-08-08' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-08' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2085247,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20725703239440918 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= 2085247 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25799827, 'dashboard_result_id': 13818790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799827_09-08-2025_05_34_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25799828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25799829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25799830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25799831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25799832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25799833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25799834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25799835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25799836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25799837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25799838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25799839, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25799927, 'dashboard_result_id': 13818791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799927_09-08-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25799947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25799948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25799949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25799950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25799951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25799952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25799953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25799954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25799955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25799956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25799957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25799958, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25800110, 'dashboard_result_id': 13818792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800110_09-08-2025_05_35_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25800112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800123, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25800322, 'dashboard_result_id': 13818793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800322_09-08-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800334, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25800662, 'dashboard_result_id': 13818794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800662_09-08-2025_05_35_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800675, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25800775, 'dashboard_result_id': 13818795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800775_09-08-2025_05_36_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25800776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800787, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25801008, 'dashboard_result_id': 13818796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801008_09-08-2025_05_36_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801023, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25801368, 'dashboard_result_id': 13818797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801368_09-08-2025_05_37_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801381, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25801481, 'dashboard_result_id': 13818798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801481_09-08-2025_05_37_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801489, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801494, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25801571, 'dashboard_result_id': 13818799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801571_09-08-2025_05_38_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801583, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25801970, 'dashboard_result_id': 13818800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801970_09-08-2025_05_38_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801982, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25802109, 'dashboard_result_id': 13818801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802109_09-08-2025_05_39_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25802113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802123, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25802632, 'dashboard_result_id': 13818802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802632_09-08-2025_05_39_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25802634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802645, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25802900, 'dashboard_result_id': 13818803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802900_09-08-2025_05_39_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25802909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802910, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802916, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25803160, 'dashboard_result_id': 13818804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803160_09-08-2025_05_40_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803196, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25803515, 'dashboard_result_id': 13818805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803515_09-08-2025_05_40_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803559, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25803890, 'dashboard_result_id': 13818806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803890_09-08-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803914, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25804462, 'dashboard_result_id': 13818807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804462_09-08-2025_05_41_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25804467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25804468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25804469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25804470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25804471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25804472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25804473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25804474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25804475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25804476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25804477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25804478, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25804858, 'dashboard_result_id': 13818808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804858_09-08-2025_05_41_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25804877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25804878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25804879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25804880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25804881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25804882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25804883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25804884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25804885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25804886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25804888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25804889, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25805376, 'dashboard_result_id': 13818809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805376_09-08-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25805394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25805395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25805396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25805397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25805398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25805399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25805400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25805401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25805402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25805403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25805404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25805405, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25805766, 'dashboard_result_id': 13818810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805766_09-08-2025_05_42_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25805801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25805802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25805803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25805804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25805805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25805807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25805808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25805809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25805810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25805811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25805812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25805813, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25806550, 'dashboard_result_id': 13818811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25806550_09-08-2025_05_43_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25806568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25806569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25806570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25806571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25806572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25806573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25806574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25806575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25806576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25806577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25806578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25806579, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25807125, 'dashboard_result_id': 13818812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25807125_09-08-2025_05_43_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25807176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25807177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25807178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25807179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25807180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25807181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25807182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25807183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25807184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25807185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25807186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25807187, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25808017, 'dashboard_result_id': 13818813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808017_09-08-2025_05_43_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25808022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25808023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25808024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25808025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25808026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25808027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25808028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25808029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25808030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25808031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25808032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25808033, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25808151, 'dashboard_result_id': 13818814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808151_09-08-2025_05_44_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25808160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25808161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25808162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25808163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25808164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25808165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25808166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25808167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25808168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25808169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25808170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25808171, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25816869, 'dashboard_result_id': 13818815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25816869_09-08-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25816880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25816881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25816882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25816883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25816884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25816885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25816886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25816887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25816888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25816889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25816890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25816891, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25817271, 'dashboard_result_id': 13818816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25817271_08-08-2025_20_31_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25817277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25817278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25817279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25817280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25817281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25817282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25817283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25817284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25817285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25817286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25817287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25817288, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25818825, 'dashboard_result_id': 13818817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818825_08-08-2025_18_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25818850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25818851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25818852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25818853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25818854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25818855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25818857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25818858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25818859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25818860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25818861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25818862, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25819037, 'dashboard_result_id': 13818818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819037_08-08-2025_18_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25819048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819051, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25819351, 'dashboard_result_id': 13818819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819351_08-08-2025_18_51_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25819387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819392, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25819887, 'dashboard_result_id': 13818820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819887_08-08-2025_19_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25819903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819910, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819915, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25820214, 'dashboard_result_id': 13818821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820214_08-08-2025_19_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25820230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25820231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25820232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25820233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25820234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25820235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25820236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25820237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25820238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25820239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25820240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25820241, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25820854, 'dashboard_result_id': 13818822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820854_08-08-2025_19_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25820887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25820888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25820890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25820891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25820892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25820893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25820894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25820895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25820896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25820897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25820898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25820899, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25821248, 'dashboard_result_id': 13818823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821248_08-08-2025_19_49_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25821266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25821268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25821269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25821270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25821271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25821272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25821274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25821275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25821276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25821277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25821278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25821279, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25821800, 'dashboard_result_id': 13818824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821800_08-08-2025_20_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25821807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25821809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25821810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25821811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25821812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25821813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25821814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25821815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25821816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25821817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25821818, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25822326, 'dashboard_result_id': 13818825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25822326_08-08-2025_20_25_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25822349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25822350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25822351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25822352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25822353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25822354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25822355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25822356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25822357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25822358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25822360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25822361, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25823183, 'dashboard_result_id': 13818826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823183_08-08-2025_20_33_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25823229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25823230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25823231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25823232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25823233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25823234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25823235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25823236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25823237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25823238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25823239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25823240, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25823604, 'dashboard_result_id': 13818827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823604_08-08-2025_21_27_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25823609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25823610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25823611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25823612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25823614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25823615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25823616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25823617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25823618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25823619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25823620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25823621, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25824866, 'dashboard_result_id': 13818828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824866_08-08-2025_21_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25824896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25824897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25824898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25824899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25824900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25824901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25824902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25824903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25824904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25824905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25824906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25824907, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25824982, 'dashboard_result_id': 13818829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824982_08-08-2025_21_47_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25824991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25824992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25824993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25824994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25824995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25824996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25824997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25824998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25824999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25825000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825002, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25825284, 'dashboard_result_id': 13818830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825284_08-08-2025_22_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25825317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25825319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25825321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25825323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25825326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25825328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25825331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25825333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25825335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25825340, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25825807, 'dashboard_result_id': 13818831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825807_08-08-2025_22_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25825823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25825824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25825825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25825827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25825828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25825830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25825831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25825832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25825833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25825834, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25826215, 'dashboard_result_id': 13818832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826215_08-08-2025_22_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25826268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25826269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25826270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25826271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25826272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25826273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25826274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25826275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25826276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25826277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25826278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25826279, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25826892, 'dashboard_result_id': 13818833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826892_08-08-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25826900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25826901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25826902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25826903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25826904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25826905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25826907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25826908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25826909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25826910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25826911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25826912, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25827685, 'dashboard_result_id': 13818834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25827685_08-08-2025_23_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25827700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25827701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25827702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25827703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25827704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25827705, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25827706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25827707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25827708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25827709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25827710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25827711, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25828247, 'dashboard_result_id': 13818835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25828247_08-08-2025_23_19_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25828274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25828275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25828276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25828277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25828278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25828279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25828280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25828281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25828282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25828283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25828284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25828285, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25829123, 'dashboard_result_id': 13818836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829123_08-08-2025_23_34_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25829142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25829143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25829144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25829145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25829146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25829147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25829148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25829149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25829150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25829151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25829152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25829153, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25829811, 'dashboard_result_id': 13818837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829811_08-08-2025_23_51_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25829888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25829889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25829890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25829891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25829892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25829893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25829894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25829895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25829896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25829897, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25829898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25829899, 'pht': 3726}}"}, {'dashboat_entry_day': 2085247, 'dashboard_run_id': 2100999, 'mtr_portfolio_id': 25830758, 'dashboard_result_id': 13818838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25830758_09-08-2025_03_01_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25830856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25830857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25830858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25830859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25830860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25830861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25830862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25830863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25830864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25830865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25830866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25830867, '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 = 25799827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490812, 'mtr_portfolio_id': 25799827, 'created_at': datetime.datetime(2025, 8, 9, 5, 34, 32), 'result': '0.07417989975117388', 'result_long': None, 'result_double': None}] Qualite : 0.07417989975117388 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25799827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799827_09-08-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25799827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799827_09-08-2025_05_34_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25799828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25799829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25799830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25799831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25799832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25799833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25799834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25799835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25799836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25799837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25799838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25799839, 'pht': 3726}}" where mtr_portfolio_id = 25799827 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25799827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818790, 0.07417989975117388, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799827_09-08-2025_05_34_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25799828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25799829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25799830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25799831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25799832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25799833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25799834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25799835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25799836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25799837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25799838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25799839, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25799927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490813, 'mtr_portfolio_id': 25799927, 'created_at': datetime.datetime(2025, 8, 9, 5, 35, 2), 'result': '0.08866506788848165', 'result_long': None, 'result_double': None}] Qualite : 0.08866506788848165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25799927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799927_09-08-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25799927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799927_09-08-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25799947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25799948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25799949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25799950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25799951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25799952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25799953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25799954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25799955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25799956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25799957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25799958, 'pht': 3726}}" where mtr_portfolio_id = 25799927 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25799927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818791, 0.08866506788848165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25799927_09-08-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25799947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25799948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25799949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25799950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25799951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25799952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25799953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25799954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25799955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25799956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25799957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25799958, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25800110 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490814, 'mtr_portfolio_id': 25800110, 'created_at': datetime.datetime(2025, 8, 9, 5, 35, 33), 'result': '0.11787486643355535', 'result_long': None, 'result_double': None}] Qualite : 0.11787486643355535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25800110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800110_09-08-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25800110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800110_09-08-2025_05_35_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25800112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800123, 'pht': 3726}}" where mtr_portfolio_id = 25800110 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25800110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818792, 0.11787486643355535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800110_09-08-2025_05_35_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25800112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800123, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25800322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490815, 'mtr_portfolio_id': 25800322, 'created_at': datetime.datetime(2025, 8, 9, 5, 35, 30), 'result': '0.11238992732464646', 'result_long': None, 'result_double': None}] Qualite : 0.11238992732464646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25800322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800322_09-08-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25800322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800322_09-08-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800334, 'pht': 3726}}" where mtr_portfolio_id = 25800322 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25800322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818793, 0.11238992732464646, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800322_09-08-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800334, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25800662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490816, 'mtr_portfolio_id': 25800662, 'created_at': datetime.datetime(2025, 8, 9, 5, 35, 58), 'result': '0.06703334582812703', 'result_long': None, 'result_double': None}] Qualite : 0.06703334582812703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25800662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800662_09-08-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25800662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800662_09-08-2025_05_35_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800675, 'pht': 3726}}" where mtr_portfolio_id = 25800662 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25800662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818794, 0.06703334582812703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800662_09-08-2025_05_35_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25800670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800675, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25800775 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490817, 'mtr_portfolio_id': 25800775, 'created_at': datetime.datetime(2025, 8, 9, 5, 36, 28), 'result': '0.032603175677963225', 'result_long': None, 'result_double': None}] Qualite : 0.032603175677963225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25800775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800775_09-08-2025_05_36_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25800775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800775_09-08-2025_05_36_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25800776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800787, 'pht': 3726}}" where mtr_portfolio_id = 25800775 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25800775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818795, 0.032603175677963225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25800775_09-08-2025_05_36_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25800776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25800777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25800778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25800779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25800780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25800781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25800782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25800783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25800784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25800785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25800786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25800787, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25801008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490818, 'mtr_portfolio_id': 25801008, 'created_at': datetime.datetime(2025, 8, 9, 5, 36, 59), 'result': '0.061391656519411496', 'result_long': None, 'result_double': None}] Qualite : 0.061391656519411496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25801008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801008_09-08-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25801008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801008_09-08-2025_05_36_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801023, 'pht': 3726}}" where mtr_portfolio_id = 25801008 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25801008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818796, 0.061391656519411496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801008_09-08-2025_05_36_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25801368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490819, 'mtr_portfolio_id': 25801368, 'created_at': datetime.datetime(2025, 8, 9, 5, 37, 32), 'result': '0.05034086755553191', 'result_long': None, 'result_double': None}] Qualite : 0.05034086755553191 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25801368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801368_09-08-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25801368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801368_09-08-2025_05_37_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801381, 'pht': 3726}}" where mtr_portfolio_id = 25801368 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25801368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818797, 0.05034086755553191, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801368_09-08-2025_05_37_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801381, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25801481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490820, 'mtr_portfolio_id': 25801481, 'created_at': datetime.datetime(2025, 8, 9, 5, 37, 29), 'result': '0.17528541026771466', 'result_long': None, 'result_double': None}] Qualite : 0.17528541026771466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25801481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801481_09-08-2025_05_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25801481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801481_09-08-2025_05_37_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801489, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801494, 'pht': 3726}}" where mtr_portfolio_id = 25801481 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25801481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818798, 0.17528541026771466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801481_09-08-2025_05_37_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801489, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801494, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25801571 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490821, 'mtr_portfolio_id': 25801571, 'created_at': datetime.datetime(2025, 8, 9, 5, 37, 59), 'result': '0.046093681147583686', 'result_long': None, 'result_double': None}] Qualite : 0.046093681147583686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25801571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801571_09-08-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25801571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801571_09-08-2025_05_38_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801583, 'pht': 3726}}" where mtr_portfolio_id = 25801571 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25801571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818799, 0.046093681147583686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801571_09-08-2025_05_38_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25801970 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490822, 'mtr_portfolio_id': 25801970, 'created_at': datetime.datetime(2025, 8, 9, 5, 38, 29), 'result': '0.06456127347209602', 'result_long': None, 'result_double': None}] Qualite : 0.06456127347209602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25801970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801970_09-08-2025_05_38_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25801970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801970_09-08-2025_05_38_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801982, 'pht': 3726}}" where mtr_portfolio_id = 25801970 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25801970 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818800, 0.06456127347209602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25801970_09-08-2025_05_38_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25801971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25801972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25801973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25801974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25801975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25801976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25801977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25801978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25801979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25801980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25801981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25801982, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25802109 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490823, 'mtr_portfolio_id': 25802109, 'created_at': datetime.datetime(2025, 8, 9, 5, 39), 'result': '0.07652594118949221', 'result_long': None, 'result_double': None}] Qualite : 0.07652594118949221 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25802109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802109_09-08-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25802109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802109_09-08-2025_05_39_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25802113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802123, 'pht': 3726}}" where mtr_portfolio_id = 25802109 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25802109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818801, 0.07652594118949221, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802109_09-08-2025_05_39_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25802113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802123, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25802632 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490824, 'mtr_portfolio_id': 25802632, 'created_at': datetime.datetime(2025, 8, 9, 5, 39, 32), 'result': '0.0550394551941452', 'result_long': None, 'result_double': None}] Qualite : 0.0550394551941452 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25802632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802632_09-08-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25802632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802632_09-08-2025_05_39_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25802634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802645, 'pht': 3726}}" where mtr_portfolio_id = 25802632 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25802632 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818802, 0.0550394551941452, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802632_09-08-2025_05_39_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25802634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802645, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25802900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490825, 'mtr_portfolio_id': 25802900, 'created_at': datetime.datetime(2025, 8, 9, 5, 39, 30), 'result': '0.05607412342315648', 'result_long': None, 'result_double': None}] Qualite : 0.05607412342315648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25802900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802900_09-08-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25802900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802900_09-08-2025_05_39_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25802909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802910, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802916, 'pht': 3726}}" where mtr_portfolio_id = 25802900 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25802900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818803, 0.05607412342315648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25802900_09-08-2025_05_39_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25802905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25802906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25802907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25802908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25802909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25802910, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25802911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25802912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25802913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25802914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25802915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25802916, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25803160 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490826, 'mtr_portfolio_id': 25803160, 'created_at': datetime.datetime(2025, 8, 9, 5, 40), 'result': '0.04155659818259214', 'result_long': None, 'result_double': None}] Qualite : 0.04155659818259214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25803160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803160_09-08-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25803160 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803160_09-08-2025_05_40_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803196, 'pht': 3726}}" where mtr_portfolio_id = 25803160 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25803160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818804, 0.04155659818259214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803160_09-08-2025_05_40_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25803515 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490827, 'mtr_portfolio_id': 25803515, 'created_at': datetime.datetime(2025, 8, 9, 5, 40, 29), 'result': '0.052328379193761425', 'result_long': None, 'result_double': None}] Qualite : 0.052328379193761425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25803515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803515_09-08-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25803515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803515_09-08-2025_05_40_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803559, 'pht': 3726}}" where mtr_portfolio_id = 25803515 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25803515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818805, 0.052328379193761425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803515_09-08-2025_05_40_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803559, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25803890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490828, 'mtr_portfolio_id': 25803890, 'created_at': datetime.datetime(2025, 8, 9, 5, 40, 59), 'result': '0.05009351818494012', 'result_long': None, 'result_double': None}] Qualite : 0.05009351818494012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25803890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803890_09-08-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25803890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803890_09-08-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803914, 'pht': 3726}}" where mtr_portfolio_id = 25803890 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25803890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818806, 0.05009351818494012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25803890_09-08-2025_05_41_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25803903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25803904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25803905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25803906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25803907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25803908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25803909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25803910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25803911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25803912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25803913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25803914, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25804462 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490829, 'mtr_portfolio_id': 25804462, 'created_at': datetime.datetime(2025, 8, 9, 5, 41, 28), 'result': '0.044619710235455336', 'result_long': None, 'result_double': None}] Qualite : 0.044619710235455336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25804462 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804462_09-08-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25804462 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804462_09-08-2025_05_41_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25804467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25804468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25804469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25804470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25804471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25804472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25804473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25804474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25804475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25804476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25804477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25804478, 'pht': 3726}}" where mtr_portfolio_id = 25804462 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25804462 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818807, 0.044619710235455336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804462_09-08-2025_05_41_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25804467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25804468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25804469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25804470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25804471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25804472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25804473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25804474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25804475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25804476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25804477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25804478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25804858 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490830, 'mtr_portfolio_id': 25804858, 'created_at': datetime.datetime(2025, 8, 9, 5, 41, 29), 'result': '0.05171774671496443', 'result_long': None, 'result_double': None}] Qualite : 0.05171774671496443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25804858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804858_09-08-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25804858 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804858_09-08-2025_05_41_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25804877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25804878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25804879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25804880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25804881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25804882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25804883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25804884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25804885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25804886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25804888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25804889, 'pht': 3726}}" where mtr_portfolio_id = 25804858 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25804858 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818808, 0.05171774671496443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25804858_09-08-2025_05_41_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25804877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25804878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25804879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25804880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25804881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25804882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25804883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25804884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25804885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25804886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25804888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25804889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25805376 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490831, 'mtr_portfolio_id': 25805376, 'created_at': datetime.datetime(2025, 8, 9, 5, 42), 'result': '0.05544404102162601', 'result_long': None, 'result_double': None}] Qualite : 0.05544404102162601 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25805376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805376_09-08-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25805376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805376_09-08-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25805394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25805395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25805396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25805397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25805398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25805399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25805400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25805401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25805402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25805403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25805404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25805405, 'pht': 3726}}" where mtr_portfolio_id = 25805376 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25805376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818809, 0.05544404102162601, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805376_09-08-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25805394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25805395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25805396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25805397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25805398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25805399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25805400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25805401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25805402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25805403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25805404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25805405, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25805766 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490832, 'mtr_portfolio_id': 25805766, 'created_at': datetime.datetime(2025, 8, 9, 5, 42, 29), 'result': '0.040171019172762244', 'result_long': None, 'result_double': None}] Qualite : 0.040171019172762244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25805766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805766_09-08-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25805766 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805766_09-08-2025_05_42_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25805801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25805802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25805803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25805804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25805805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25805807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25805808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25805809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25805810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25805811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25805812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25805813, 'pht': 3726}}" where mtr_portfolio_id = 25805766 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25805766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818810, 0.040171019172762244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25805766_09-08-2025_05_42_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25805801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25805802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25805803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25805804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25805805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25805807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25805808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25805809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25805810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25805811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25805812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25805813, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25806550 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490833, 'mtr_portfolio_id': 25806550, 'created_at': datetime.datetime(2025, 8, 9, 5, 42, 59), 'result': '0.044835059916879146', 'result_long': None, 'result_double': None}] Qualite : 0.044835059916879146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25806550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25806550_09-08-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25806550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25806550_09-08-2025_05_43_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25806568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25806569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25806570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25806571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25806572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25806573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25806574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25806575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25806576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25806577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25806578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25806579, 'pht': 3726}}" where mtr_portfolio_id = 25806550 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25806550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818811, 0.044835059916879146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25806550_09-08-2025_05_43_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25806568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25806569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25806570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25806571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25806572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25806573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25806574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25806575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25806576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25806577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25806578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25806579, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25807125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490834, 'mtr_portfolio_id': 25807125, 'created_at': datetime.datetime(2025, 8, 9, 5, 43, 32), 'result': '0.045512388420262874', 'result_long': None, 'result_double': None}] Qualite : 0.045512388420262874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25807125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25807125_09-08-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25807125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25807125_09-08-2025_05_43_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25807176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25807177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25807178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25807179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25807180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25807181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25807182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25807183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25807184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25807185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25807186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25807187, 'pht': 3726}}" where mtr_portfolio_id = 25807125 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25807125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818812, 0.045512388420262874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25807125_09-08-2025_05_43_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25807176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25807177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25807178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25807179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25807180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25807181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25807182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25807183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25807184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25807185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25807186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25807187, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25808017 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490835, 'mtr_portfolio_id': 25808017, 'created_at': datetime.datetime(2025, 8, 9, 5, 43, 27), 'result': '0.040612706862800454', 'result_long': None, 'result_double': None}] Qualite : 0.040612706862800454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25808017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808017_09-08-2025_05_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25808017 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808017_09-08-2025_05_43_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25808022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25808023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25808024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25808025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25808026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25808027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25808028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25808029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25808030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25808031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25808032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25808033, 'pht': 3726}}" where mtr_portfolio_id = 25808017 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25808017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818813, 0.040612706862800454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808017_09-08-2025_05_43_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25808022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25808023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25808024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25808025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25808026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25808027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25808028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25808029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25808030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25808031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25808032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25808033, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25808151 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490836, 'mtr_portfolio_id': 25808151, 'created_at': datetime.datetime(2025, 8, 9, 5, 43, 58), 'result': '0.048467706078361046', 'result_long': None, 'result_double': None}] Qualite : 0.048467706078361046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25808151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808151_09-08-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25808151 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808151_09-08-2025_05_44_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25808160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25808161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25808162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25808163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25808164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25808165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25808166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25808167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25808168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25808169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25808170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25808171, 'pht': 3726}}" where mtr_portfolio_id = 25808151 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25808151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818814, 0.048467706078361046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808151_09-08-2025_05_44_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25808160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25808161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25808162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25808163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25808164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25808165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25808166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25808167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25808168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25808169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25808170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25808171, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25816869 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490837, 'mtr_portfolio_id': 25816869, 'created_at': datetime.datetime(2025, 8, 9, 5, 44, 31), 'result': '0.05821129566655305', 'result_long': None, 'result_double': None}] Qualite : 0.05821129566655305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25816869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25816869_09-08-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25816869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25816869_09-08-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25816880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25816881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25816882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25816883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25816884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25816885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25816886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25816887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25816888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25816889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25816890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25816891, 'pht': 3726}}" where mtr_portfolio_id = 25816869 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25816869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818815, 0.05821129566655305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25816869_09-08-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25816880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25816881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25816882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25816883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25816884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25816885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25816886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25816887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25816888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25816889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25816890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25816891, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25817271 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3490838, 'mtr_portfolio_id': 25817271, 'created_at': datetime.datetime(2025, 8, 9, 5, 45, 1), 'result': '0.05318670897000121', 'result_long': None, 'result_double': None}] Qualite : 0.05318670897000121 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25817271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25817271_09-08-2025_05_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25817271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25817271_09-08-2025_05_45_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25817277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25817278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25817279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25817280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25817281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25817282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25817283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25817284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25817285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25817286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25817287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25817288, 'pht': 3726}}" where mtr_portfolio_id = 25817271 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25817271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818816, 0.05318670897000121, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25817271_09-08-2025_05_45_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25817277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25817278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25817279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25817280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25817281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25817282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25817283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25817284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25817285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25817286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25817287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25817288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25818825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25818825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 25818825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25818825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25818825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25818825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818825_08-08-2025_18_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25818825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818825_08-08-2025_18_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25818850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25818851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25818852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25818853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25818854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25818855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25818857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25818858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25818859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25818860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25818861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25818862, 'pht': 3726}}" where mtr_portfolio_id = 25818825 and dashboard_run_id = 2100999 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25819037 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3484685, 'mtr_portfolio_id': 25819037, 'created_at': datetime.datetime(2025, 8, 8, 18, 33), 'result': '0.04274566310542567', 'result_long': None, 'result_double': None}] Qualite : 0.04274566310542567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25819037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819037_08-08-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25819037 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819037_08-08-2025_18_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25819048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819051, 'pht': 3726}}" where mtr_portfolio_id = 25819037 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25819037 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818818, 0.04274566310542567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819037_08-08-2025_18_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25819048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819051, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25819351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3484753, 'mtr_portfolio_id': 25819351, 'created_at': datetime.datetime(2025, 8, 8, 18, 50, 59), 'result': '0.06150729028590512', 'result_long': None, 'result_double': None}] Qualite : 0.06150729028590512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25819351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819351_08-08-2025_18_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25819351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819351_08-08-2025_18_51_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25819387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819392, 'pht': 3726}}" where mtr_portfolio_id = 25819351 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25819351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818819, 0.06150729028590512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819351_08-08-2025_18_51_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25819387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819392, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25819887 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3484843, 'mtr_portfolio_id': 25819887, 'created_at': datetime.datetime(2025, 8, 8, 19, 3, 1), 'result': '0.0021953344657098337', 'result_long': None, 'result_double': None}] Qualite : 0.0021953344657098337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25819887 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819887_08-08-2025_19_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25819887 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819887_08-08-2025_19_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25819903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819910, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819915, 'pht': 3726}}" where mtr_portfolio_id = 25819887 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25819887 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818820, 0.0021953344657098337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25819887_08-08-2025_19_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25819903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25819904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25819905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25819906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25819907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25819909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25819910, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25819911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25819912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25819913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25819914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25819915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25820214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3484949, 'mtr_portfolio_id': 25820214, 'created_at': datetime.datetime(2025, 8, 8, 19, 21), 'result': '0.028160288102032974', 'result_long': None, 'result_double': None}] Qualite : 0.028160288102032974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25820214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820214_08-08-2025_19_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25820214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820214_08-08-2025_19_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25820230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25820231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25820232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25820233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25820234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25820235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25820236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25820237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25820238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25820239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25820240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25820241, 'pht': 3726}}" where mtr_portfolio_id = 25820214 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25820214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818821, 0.028160288102032974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820214_08-08-2025_19_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25820230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25820231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25820232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25820233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25820234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25820235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25820236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25820237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25820238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25820239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25820240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25820241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25820854 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3485145, 'mtr_portfolio_id': 25820854, 'created_at': datetime.datetime(2025, 8, 8, 19, 33, 1), 'result': '0.06164518311863923', 'result_long': None, 'result_double': None}] Qualite : 0.06164518311863923 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25820854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820854_08-08-2025_19_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25820854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820854_08-08-2025_19_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25820887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25820888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25820890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25820891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25820892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25820893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25820894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25820895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25820896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25820897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25820898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25820899, 'pht': 3726}}" where mtr_portfolio_id = 25820854 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25820854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818822, 0.06164518311863923, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25820854_08-08-2025_19_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25820887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25820888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25820890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25820891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25820892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25820893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25820894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25820895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25820896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25820897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25820898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25820899, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25821248 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3485294, 'mtr_portfolio_id': 25821248, 'created_at': datetime.datetime(2025, 8, 8, 19, 49, 30), 'result': '0.03923316031673571', 'result_long': None, 'result_double': None}] Qualite : 0.03923316031673571 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25821248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821248_08-08-2025_19_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25821248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821248_08-08-2025_19_49_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25821266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25821268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25821269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25821270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25821271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25821272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25821274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25821275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25821276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25821277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25821278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25821279, 'pht': 3726}}" where mtr_portfolio_id = 25821248 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25821248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818823, 0.03923316031673571, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821248_08-08-2025_19_49_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25821266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25821268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25821269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25821270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25821271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25821272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25821274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25821275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25821276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25821277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25821278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25821279, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25821800 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3485496, 'mtr_portfolio_id': 25821800, 'created_at': datetime.datetime(2025, 8, 8, 20, 3), 'result': '0.04350412128589486', 'result_long': None, 'result_double': None}] Qualite : 0.04350412128589486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25821800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821800_08-08-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25821800 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821800_08-08-2025_20_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25821807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25821809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25821810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25821811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25821812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25821813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25821814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25821815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25821816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25821817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25821818, 'pht': 3726}}" where mtr_portfolio_id = 25821800 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25821800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818824, 0.04350412128589486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25821800_08-08-2025_20_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25821807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25821809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25821810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25821811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25821812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25821813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25821814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25821815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25821816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25821817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25821818, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25822326 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3485709, 'mtr_portfolio_id': 25822326, 'created_at': datetime.datetime(2025, 8, 8, 20, 25, 4), 'result': '0.062326578149041675', 'result_long': None, 'result_double': None}] Qualite : 0.062326578149041675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25822326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25822326_08-08-2025_20_25_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25822326 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25822326_08-08-2025_20_25_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25822349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25822350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25822351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25822352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25822353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25822354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25822355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25822356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25822357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25822358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25822360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25822361, 'pht': 3726}}" where mtr_portfolio_id = 25822326 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25822326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818825, 0.062326578149041675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25822326_08-08-2025_20_25_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25822349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25822350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25822351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25822352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25822353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25822354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25822355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25822356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25822357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25822358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25822360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25822361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25823183 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3485971, 'mtr_portfolio_id': 25823183, 'created_at': datetime.datetime(2025, 8, 8, 20, 33, 35), 'result': '0.030671023653978027', 'result_long': None, 'result_double': None}] Qualite : 0.030671023653978027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25823183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823183_08-08-2025_20_33_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25823183 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823183_08-08-2025_20_33_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25823229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25823230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25823231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25823232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25823233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25823234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25823235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25823236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25823237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25823238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25823239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25823240, 'pht': 3726}}" where mtr_portfolio_id = 25823183 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25823183 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818826, 0.030671023653978027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823183_08-08-2025_20_33_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25823229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25823230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25823231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25823232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25823233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25823234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25823235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25823236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25823237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25823238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25823239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25823240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25823604 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3486067, 'mtr_portfolio_id': 25823604, 'created_at': datetime.datetime(2025, 8, 8, 21, 27, 4), 'result': '0.027552621048163837', 'result_long': None, 'result_double': None}] Qualite : 0.027552621048163837 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25823604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823604_08-08-2025_21_27_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25823604 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823604_08-08-2025_21_27_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25823609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25823610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25823611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25823612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25823614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25823615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25823616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25823617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25823618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25823619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25823620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25823621, 'pht': 3726}}" where mtr_portfolio_id = 25823604 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25823604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818827, 0.027552621048163837, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25823604_08-08-2025_21_27_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25823609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25823610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25823611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25823612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25823614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25823615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25823616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25823617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25823618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25823619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25823620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25823621, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25824866 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3486311, 'mtr_portfolio_id': 25824866, 'created_at': datetime.datetime(2025, 8, 8, 21, 33, 2), 'result': '0.035874684745682534', 'result_long': None, 'result_double': None}] Qualite : 0.035874684745682534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25824866 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824866_08-08-2025_21_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25824866 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824866_08-08-2025_21_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25824896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25824897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25824898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25824899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25824900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25824901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25824902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25824903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25824904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25824905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25824906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25824907, 'pht': 3726}}" where mtr_portfolio_id = 25824866 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25824866 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818828, 0.035874684745682534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824866_08-08-2025_21_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25824896, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25824897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25824898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25824899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25824900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25824901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25824902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25824903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25824904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25824905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25824906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25824907, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25824982 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3486328, 'mtr_portfolio_id': 25824982, 'created_at': datetime.datetime(2025, 8, 8, 21, 47, 2), 'result': '0.049305654669755505', 'result_long': None, 'result_double': None}] Qualite : 0.049305654669755505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25824982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824982_08-08-2025_21_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25824982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824982_08-08-2025_21_47_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25824991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25824992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25824993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25824994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25824995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25824996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25824997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25824998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25824999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25825000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825002, 'pht': 3726}}" where mtr_portfolio_id = 25824982 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25824982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818829, 0.049305654669755505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25824982_08-08-2025_21_47_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25824991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25824992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25824993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25824994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25824995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25824996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25824997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25824998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25824999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25825000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25825284 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3486406, 'mtr_portfolio_id': 25825284, 'created_at': datetime.datetime(2025, 8, 8, 22, 3, 3), 'result': '0.037433467493583485', 'result_long': None, 'result_double': None}] Qualite : 0.037433467493583485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25825284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825284_08-08-2025_22_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25825284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825284_08-08-2025_22_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25825317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25825319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25825321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25825323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25825326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25825328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25825331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25825333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25825335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25825340, 'pht': 3726}}" where mtr_portfolio_id = 25825284 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25825284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818830, 0.037433467493583485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825284_08-08-2025_22_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25825317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25825319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25825321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25825323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25825326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25825328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25825331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25825333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25825335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25825340, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25825807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3486562, 'mtr_portfolio_id': 25825807, 'created_at': datetime.datetime(2025, 8, 8, 22, 16, 58), 'result': '0.10295833533812707', 'result_long': None, 'result_double': None}] Qualite : 0.10295833533812707 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25825807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825807_08-08-2025_22_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25825807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825807_08-08-2025_22_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25825823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25825824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25825825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25825827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25825828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25825830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25825831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25825832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25825833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25825834, 'pht': 3726}}" where mtr_portfolio_id = 25825807 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25825807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818831, 0.10295833533812707, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25825807_08-08-2025_22_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25825823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25825824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25825825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25825826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25825827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25825828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25825829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25825830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25825831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25825832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25825833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25825834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25826215 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3486705, 'mtr_portfolio_id': 25826215, 'created_at': datetime.datetime(2025, 8, 8, 22, 33), 'result': '0.03019250820741119', 'result_long': None, 'result_double': None}] Qualite : 0.03019250820741119 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25826215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826215_08-08-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25826215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826215_08-08-2025_22_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25826268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25826269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25826270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25826271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25826272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25826273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25826274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25826275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25826276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25826277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25826278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25826279, 'pht': 3726}}" where mtr_portfolio_id = 25826215 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25826215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818832, 0.03019250820741119, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826215_08-08-2025_22_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25826268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25826269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25826270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25826271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25826272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25826273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25826274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25826275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25826276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25826277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25826278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25826279, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25826892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3486885, 'mtr_portfolio_id': 25826892, 'created_at': datetime.datetime(2025, 8, 8, 22, 48, 59), 'result': '0.07276757863799141', 'result_long': None, 'result_double': None}] Qualite : 0.07276757863799141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25826892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826892_08-08-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25826892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826892_08-08-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25826900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25826901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25826902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25826903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25826904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25826905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25826907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25826908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25826909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25826910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25826911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25826912, 'pht': 3726}}" where mtr_portfolio_id = 25826892 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25826892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818833, 0.07276757863799141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25826892_08-08-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25826900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25826901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25826902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25826903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25826904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25826905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25826907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25826908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25826909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25826910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25826911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25826912, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25827685 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3487076, 'mtr_portfolio_id': 25827685, 'created_at': datetime.datetime(2025, 8, 8, 23, 3, 31), 'result': '0.051125616699855374', 'result_long': None, 'result_double': None}] Qualite : 0.051125616699855374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25827685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25827685_08-08-2025_23_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25827685 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25827685_08-08-2025_23_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25827700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25827701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25827702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25827703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25827704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25827705, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25827706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25827707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25827708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25827709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25827710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25827711, 'pht': 3726}}" where mtr_portfolio_id = 25827685 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25827685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818834, 0.051125616699855374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25827685_08-08-2025_23_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25827700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25827701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25827702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25827703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25827704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25827705, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25827706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25827707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25827708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25827709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25827710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25827711, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25828247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3487265, 'mtr_portfolio_id': 25828247, 'created_at': datetime.datetime(2025, 8, 8, 23, 19, 32), 'result': '0.023977424719132192', 'result_long': None, 'result_double': None}] Qualite : 0.023977424719132192 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25828247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25828247_08-08-2025_23_19_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25828247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25828247_08-08-2025_23_19_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25828274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25828275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25828276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25828277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25828278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25828279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25828280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25828281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25828282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25828283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25828284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25828285, 'pht': 3726}}" where mtr_portfolio_id = 25828247 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25828247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818835, 0.023977424719132192, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25828247_08-08-2025_23_19_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25828274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25828275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25828276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25828277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25828278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25828279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25828280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25828281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25828282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25828283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25828284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25828285, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25829123 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3487491, 'mtr_portfolio_id': 25829123, 'created_at': datetime.datetime(2025, 8, 8, 23, 34, 2), 'result': '0.034930535576577694', 'result_long': None, 'result_double': None}] Qualite : 0.034930535576577694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25829123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829123_08-08-2025_23_34_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25829123 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829123_08-08-2025_23_34_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25829142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25829143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25829144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25829145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25829146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25829147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25829148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25829149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25829150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25829151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25829152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25829153, 'pht': 3726}}" where mtr_portfolio_id = 25829123 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25829123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818836, 0.034930535576577694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829123_08-08-2025_23_34_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25829142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25829143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25829144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25829145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25829146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25829147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25829148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25829149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25829150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25829151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25829152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25829153, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25829811 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3487668, 'mtr_portfolio_id': 25829811, 'created_at': datetime.datetime(2025, 8, 8, 23, 51, 1), 'result': '0.05321048680700943', 'result_long': None, 'result_double': None}] Qualite : 0.05321048680700943 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25829811 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829811_08-08-2025_23_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25829811 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829811_08-08-2025_23_51_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25829888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25829889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25829890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25829891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25829892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25829893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25829894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25829895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25829896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25829897, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25829898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25829899, 'pht': 3726}}" where mtr_portfolio_id = 25829811 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25829811 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818837, 0.05321048680700943, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25829811_08-08-2025_23_51_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25829888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25829889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25829890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25829891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25829892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25829893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25829894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25829895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25829896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25829897, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25829898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25829899, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25830758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3487892, 'mtr_portfolio_id': 25830758, 'created_at': datetime.datetime(2025, 8, 9, 3, 0, 59), 'result': '0.05910688941009127', 'result_long': None, 'result_double': None}] Qualite : 0.05910688941009127 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25830758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25830758_09-08-2025_03_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25830758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25830758_09-08-2025_03_01_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25830856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25830857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25830858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25830859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25830860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25830861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25830862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25830863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25830864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25830865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25830866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25830867, 'pht': 3726}}" where mtr_portfolio_id = 25830758 and dashboard_run_id = 2100999 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25830758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13818838, 0.05910688941009127, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25830758_09-08-2025_03_01_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25830856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25830857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25830858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25830859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25830860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25830861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25830862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25830863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25830864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25830865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25830866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25830867, '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 (25799827,25799927,25800110,25800322,25800662,25800775,25801008,25801368,25801481,25801571,25801970,25802109,25802632,25802900,25803160,25803515,25803890,25804462,25804858,25805376,25805766,25806550,25807125,25808017,25808151,25816869,25817271,25818825,25819037,25819351,25819887,25820214,25820854,25821248,25821800,25822326,25823183,25823604,25824866,25824982,25825284,25825807,25826215,25826892,25827685,25828247,25829123,25829811,25830758) result : ((1375774972,), (1375774992,), (1375775015,), (1375775058,), (1375775136,), (1375775191,), (1375775202,), (1375775411,), (1375775410,), (1375775461,), (1375775462,), (1375775578,), (1375775637,), (1375775667,), (1375775864,), (1375775889,), (1375775890,), (1375775904,), (1375775947,), (1375775975,), (1375775977,), (1375776093,), (1375776090,), (1375776092,), (1375776222,), (1375776273,), (1375776302,), (1375776434,), (1375776499,), (1375776501,), (1375776516,), (1375776518,), (1375776523,), (1375776543,), (1375776546,), (1375776570,), (1375776591,), (1375776593,), (1375776618,), (1375776646,), (1375776694,), (1375776696,), (1375776754,), (1375776815,), (1375776853,), (1375776877,), (1375776909,), (1375776910,), (1375776977,), (1375776978,), (1375781039,), (1375781057,), (1375781145,), (1375781147,), (1375781162,), (1375781252,), (1375781275,), (1375781294,), (1375781316,), (1375781318,), (1375781382,), (1375781408,), (1375781412,), (1375781453,), (1375781514,), (1375781516,), (1375781541,), (1375781542,), (1375781568,), (1375781582,), (1375781583,), (1375781675,), (1375781676,), (1375781724,), (1375781745,), (1375781748,), (1375781774,), (1375781776,), (1375781835,), (1375782143,), (1375782856,), (1375782880,), (1375785041,), (1375785066,), (1375786986,), (1375786987,), (1375787002,), (1375787025,), (1375787026,), (1375787093,), (1375787112,), (1375787217,), (1375787236,), (1375787238,), (1375787242,), (1375787343,), (1375787387,), (1375787433,), (1375787498,), (1375787517,), (1375787538,), (1375787575,), (1375787578,), (1375787581,), (1375787721,), (1375787722,), (1375787742,), (1375787743,), (1375787794,), (1375787913,), (1375787953,), (1375787954,), (1375787980,), (1375787981,), (1375787983,), (1375787988,), (1375788008,), (1375788010,), (1375788083,), (1375788154,), (1375788549,), (1375789049,), (1375791171,), (1375791189,), (1375791222,), (1375791224,), (1375791268,), (1375791314,), (1375791357,), (1375791359,), (1375791539,), (1375791822,), (1375791825,), (1375791837,), (1375791838,), (1375791840,), (1375791895,), (1375791924,), (1375791941,), (1375791969,), (1375791996,), (1375792021,), (1375792048,), (1375792959,), (1375793540,), (1375794182,), (1375794555,), (1375797628,), (1375798026,), (1375798052,), (1375798075,), (1375798101,), (1375798249,), (1375798252,), (1375798472,), (1375798490,), (1375798507,), (1375798559,), (1375798561,), (1375798563,), (1375798565,), (1375798586,), (1375798589,), (1375798593,), (1375798597,), (1375798601,), (1375798620,), (1375798622,), (1375798624,), (1375798627,), (1375798631,), (1375798644,), (1375798647,), (1375798656,), (1375798661,), (1375798663,), (1375798668,), (1375798682,), (1375798684,), (1375798687,), (1375798690,), (1375798693,), (1375798696,), (1375798708,), (1375798710,), (1375798713,), (1375798716,), (1375798717,), (1375798719,), (1375798724,), (1375798727,), (1375798730,), (1375798732,), (1375798734,), (1375798737,), (1375798748,), (1375798751,), (1375798753,), (1375798755,), (1375798757,), (1375798841,), (1375798913,), (1375798915,), (1375798923,), (1375798943,), (1375798954,), (1375798829,), (1375798830,), (1375798833,), (1375798836,), (1375798838,), (1375798853,), (1375798855,), (1375798857,), (1375798858,), (1375798859,), (1375798861,), (1375798867,), (1375798870,), (1375798874,), (1375798878,), (1375798880,), (1375798887,), (1375798902,), (1375798904,), (1375798907,), (1375798910,), (1375798964,), (1375798966,), (1375798970,), (1375798973,), (1375798976,), (1375799005,), (1375799008,), (1375799013,), (1375799016,), (1375799020,), (1375799022,), (1375799032,), (1375799036,), (1375799039,), (1375799043,), (1375799045,), (1375799047,), (1375799063,), (1375799068,), (1375799074,), (1375799078,), (1375799089,), (1375799093,), (1375799095,), (1375799120,), (1375799125,), (1375799141,), (1375799144,), (1375799147,), (1375799149,), (1375799152,), (1375799155,), (1375799177,), (1375799180,), (1375799182,), (1375799185,), (1375799188,), (1375799206,), (1375799207,), (1375799209,), (1375799234,), (1375799237,), (1375799240,), (1375799243,), (1375799246,), (1375799272,), (1375799276,), (1375799280,), (1375799295,), (1375799310,), (1375799331,), (1375799335,), (1375799337,), (1375799340,), (1375799343,), (1375799374,), (1375799379,), (1375799440,), (1375799442,), (1375799462,), (1375799465,), (1375799466,), (1375799477,), (1375799361,), (1375799363,), (1375799366,), (1375799369,), (1375799396,), (1375799401,), (1375799404,), (1375799409,), (1375799413,), (1375799416,), (1375799422,), (1375799424,), (1375799427,), (1375799437,), (1375799454,), (1375799458,), (1375799460,), (1375799490,), (1375799493,), (1375799495,), (1375799498,), (1375799502,), (1375799503,), (1375799514,), (1375799517,), (1375799519,), (1375799521,), (1375799547,), (1375799549,), (1375799550,), (1375799553,), (1375799557,), (1375799560,), (1375799582,), (1375799589,), (1375799593,), (1375799595,), (1375799615,), (1375799623,), (1375799626,), (1375799629,), (1375799633,), (1375799637,), (1375799651,), (1375799653,), (1375799655,), (1375799659,), (1375799662,), (1375799666,), (1375799674,), (1375799676,), (1375799677,), (1375799679,), (1375799687,), (1375799691,), (1375799694,), (1375799698,), (1375799701,), (1375799703,), (1375799716,), (1375799719,), (1375799722,), (1375799723,), (1375799743,), (1375799745,), (1375799748,), (1375799751,), (1375799754,), (1375799758,), (1375799768,), (1375799775,), (1375799777,), (1375799780,), (1375799785,), (1375799788,), (1375799791,), (1375799805,), (1375799806,), (1375799807,), (1375799809,), (1375799816,), (1375799830,), (1375799855,), (1375799857,), (1375799860,), (1375799862,), (1375799899,), (1375799882,), (1375799890,), (1375799891,), (1375799893,), (1375799895,), (1375799919,), (1375799923,), (1375799925,), (1375799928,), (1375799948,), (1375799949,), (1375799950,), (1375799952,), (1375799954,), (1375799957,), (1375799974,), (1375799975,), (1375799978,), (1375799986,), (1375799988,), (1375800013,), (1375800015,), (1375800018,), (1375800021,), (1375800022,), (1375800024,), (1375800054,), (1375800056,), (1375800057,), (1375800060,), (1375800079,), (1375800080,), (1375800082,), (1375800086,), (1375800088,), (1375800092,), (1375800101,), (1375800103,), (1375800104,), (1375800105,), (1375800110,), (1375800122,), (1375800133,), (1375800140,), (1375800143,), (1375800158,), (1375800162,), (1375800164,), (1375800167,), (1375800171,), (1375800174,), (1375800196,), (1375800198,), (1375800199,), (1375800200,), (1375800203,), (1375800238,), (1375800243,), (1375800251,), (1375800254,), (1375800257,), (1375800270,), (1375800271,), (1375800272,), (1375800275,), (1375800280,), (1375800304,), (1375800305,), (1375800307,), (1375800310,), (1375800311,), (1375800314,), (1375800328,), (1375800347,), (1375800374,), (1375800401,), (1375800424,), (1375800451,), (1375800536,), (1375800566,), (1375800594,), (1375800636,), (1375800822,), (1375802163,), (1375800753,), (1375800774,), (1375800797,), (1375801100,), (1375801101,), (1375801111,), (1375801137,), (1375801162,), (1375801203,), (1375801334,), (1375801336,), (1375801340,), (1375801345,), (1375801352,), (1375801379,), (1375801473,), (1375801497,), (1375801523,), (1375801548,), (1375801571,), (1375801593,), (1375801782,), (1375801825,), (1375801872,), (1375801922,), (1375801968,), (1375802003,), (1375802134,), (1375802316,), (1375802344,), (1375802372,), (1375802398,), (1375802423,), (1375802567,), (1375802591,), (1375802614,), (1375802640,), (1375802670,), (1375802732,), (1375802948,), (1375802973,), (1375802998,), (1375803022,), (1375803049,), (1375803235,), (1375803237,), (1375803238,), (1375803240,), (1375803243,), (1375803247,), (1375803365,), (1375803389,), (1375803412,), (1375803438,), (1375803464,), (1375803643,), (1375803672,), (1375803675,), (1375803692,), (1375803697,), (1375803720,), (1375803721,), (1375803723,), (1375803729,), (1375803735,), (1375803741,), (1375803763,), (1375803766,), (1375803770,), (1375803773,), (1375803776,), (1375803778,), (1375803785,), (1375803788,), (1375803791,), (1375803794,), (1375803796,), (1375803798,), (1375803805,), (1375803807,), (1375803811,), (1375803814,), (1375803816,), (1375803820,), (1375803834,), (1375803836,), (1375803841,), (1375803846,), (1375803872,), (1375803875,), (1375803877,), (1375803878,), (1375803927,), (1375803911,), (1375803913,), (1375803915,), (1375803918,), (1375803922,), (1375803952,), (1375803955,), (1375803957,), (1375803959,), (1375803962,), (1375803987,), (1375803988,), (1375803990,), (1375803992,), (1375803994,), (1375803998,), (1375804011,), (1375804013,), (1375804015,), (1375804017,), (1375804020,), (1375804049,), (1375804051,), (1375804052,), (1375804055,), (1375804058,), (1375804063,), (1375804092,), (1375804093,), (1375804095,), (1375804098,), (1375804100,), (1375804102,), (1375804130,), (1375804132,), (1375804136,), (1375804138,), (1375804142,), (1375804145,), (1375804153,), (1375804154,), (1375804156,), (1375804159,), (1375804163,), (1375804165,), (1375804179,), (1375804185,), (1375804189,), (1375804193,), (1375804197,), (1375804201,), (1375804204,), (1375804207,), (1375804210,), (1375804213,), (1375804216,), (1375804229,), (1375804232,), (1375804235,), (1375804240,), (1375804243,), (1375804250,), (1375804252,), (1375804254,), (1375804336,), (1375804338,), (1375804348,), (1375804356,), (1375804380,), (1375804381,), (1375804382,), (1375804384,), (1375804389,), (1375804415,), (1375804418,), (1375804420,), (1375804422,), (1375804427,), (1375804466,), (1375804519,), (1375804520,), (1375804521,), (1375804555,), (1375804557,), (1375804559,), (1375804447,), (1375804448,), (1375804456,), (1375804461,), (1375804464,), (1375804486,), (1375804488,), (1375804491,), (1375804493,), (1375804496,), (1375804500,), (1375804513,), (1375804516,), (1375804518,), (1375804527,), (1375804532,), (1375804538,), (1375804541,), (1375804546,), (1375804550,), (1375804564,), (1375804567,), (1375804570,), (1375804572,), (1375804575,), (1375804578,), (1375804590,), (1375804591,), (1375804592,), (1375804594,), (1375804597,), (1375804626,), (1375804629,), (1375804631,), (1375804633,), (1375804634,), (1375804661,), (1375804663,), (1375804664,), (1375804666,), (1375804670,), (1375804672,), (1375804687,), (1375804694,), (1375804698,), (1375804700,), (1375804705,), (1375804734,), (1375804742,), (1375804744,), (1375804746,), (1375804748,), (1375804752,), (1375804777,), (1375804778,), (1375804779,), (1375804780,), (1375804782,), (1375804814,), (1375804818,), (1375804824,), (1375804829,), (1375804832,), (1375804835,), (1375804850,), (1375804865,), (1375804875,), (1375804879,), (1375804882,), (1375804887,), (1375804900,), (1375804907,), (1375804913,), (1375804914,), (1375804915,), (1375804917,), (1375804922,), (1375804923,), (1375804926,), (1375804929,), (1375804931,), (1375804933,), (1375804946,), (1375804947,), (1375804950,), (1375804955,), (1375804959,), (1375804963,), (1375804969,), (1375804985,), (1375804988,), (1375804992,), (1375804996,), (1375805041,), (1375805020,), (1375805028,), (1375805033,), (1375805035,), (1375805038,), (1375805063,), (1375805066,), (1375805068,), (1375805072,), (1375805076,), (1375805094,), (1375805096,), (1375805099,), (1375805104,), (1375805109,), (1375805113,), (1375805130,), (1375805133,), (1375805135,), (1375805136,), (1375805164,), (1375805167,), (1375805168,), (1375805169,), (1375805171,), (1375805174,), (1375805194,), (1375805196,), (1375805199,), (1375805204,), (1375805206,), (1375805210,), (1375805229,), (1375805231,), (1375805234,), (1375805236,), (1375805238,), (1375805241,), (1375805251,), (1375805255,), (1375805258,), (1375805265,), (1375805275,), (1375805277,), (1375805282,), (1375805285,), (1375805287,), (1375805288,), (1375805289,), (1375805291,), (1375805299,), (1375805305,), (1375805317,), (1375805335,), (1375805339,), (1375805342,), (1375805345,), (1375805348,), (1375805352,), (1375805354,), (1375805356,), (1375805359,), (1375805362,), (1375805365,), (1375805377,), (1375805380,), (1375805383,), (1375805385,), (1375805410,), (1375805412,), (1375805414,), (1375805416,), (1375805419,), (1375805423,), (1375805445,), (1375805448,), (1375805450,), (1375805452,), (1375805713,), (1375805769,), (1375805827,), (1375805876,), (1375805938,), (1375805985,), (1375806814,), (1375806884,), (1375808530,), (1375808533,), (1375808536,), (1375808537,), (1375808544,), (1375808547,), (1375808591,), (1375806539,), (1375806608,), (1375806680,), (1375806749,), (1375807502,), (1375807532,), (1375807555,), (1375807584,), (1375807622,), (1375807651,), (1375807983,), (1375808047,), (1375808107,), (1375808137,), (1375808178,), (1375808229,), (1375808370,), (1375808391,), (1375808412,), (1375808422,), (1375808424,), (1375808426,), (1375808472,), (1375808498,), (1375808516,), (1375808523,), (1375808527,), (1375808528,), (1375808555,), (1375808556,), (1375808558,), (1375808560,), (1375808561,), (1375808563,), (1375808578,), (1375808581,), (1375808585,), (1375808587,), (1375808647,), (1375808652,), (1375808653,), (1375808656,), (1375808659,), (1375808663,), (1375808736,), (1375808739,), (1375808742,), (1375808744,), (1375808763,), (1375808772,), (1375808776,), (1375808779,), (1375808782,), (1375808786,), (1375808804,), (1375808844,), (1375808847,), (1375808849,), (1375808852,), (1375808854,), (1375808857,), (1375808884,), (1375808886,), (1375808890,), (1375808896,), (1375808902,), (1375808906,), (1375808919,), (1375808921,), (1375808925,), (1375808927,), (1375808929,), (1375808931,), (1375808938,), (1375808942,), (1375808946,), (1375808950,), (1375808953,), (1375808957,), (1375808986,), (1375808988,), (1375808995,), (1375808999,), (1375809004,), (1375809010,), (1375809014,), (1375809147,), (1375809150,), (1375809154,), (1375809155,), (1375809161,), (1375809270,), (1375809208,), (1375809216,), (1375809221,), (1375809240,), (1375809482,), (1375809497,), (1375809517,), (1375809529,), (1375809555,), (1375809582,), (1375809686,), (1375809804,), (1375809806,), (1375810294,), (1375810514,), (1375810517,), (1375810518,), (1375810520,), (1375810523,), (1375810547,), (1375810549,), (1375810552,), (1375810568,), (1375810868,), (1375810878,), (1375810880,), (1375811576,), (1375811613,), (1375811617,), (1375811685,), (1375811689,), (1375811708,), (1375811715,), (1375811995,), (1375812003,), (1375812017,), (1375812037,), (1375812153,), (1375812166,), (1375812169,), (1375812173,), (1375812211,), (1375811987,), (1375811991,), (1375812125,), (1375812145,), (1375813177,), (1375813179,), (1375813213,), (1375813214,), (1375813216,), (1375813219,), (1375813223,), (1375813279,), (1375813289,), (1375813297,), (1375813302,), (1375813306,), (1375814451,), (1375814545,), (1375814562,), (1375814575,), (1375814820,), (1375814827,), (1375814859,), (1375814871,), (1375814892,), (1375814900,), (1375814921,), (1375814937,), (1375814940,), (1375814942,), (1375814944,), (1375814946,), (1375814954,), (1375814957,), (1375816587,), (1375816611,), (1375814948,), (1375814950,), (1375814952,), (1375815108,), (1375815135,), (1375815182,), (1375815227,), (1375815275,), (1375815320,), (1375815841,), (1375815843,), (1375815889,), (1375815892,), (1375815939,), (1375815944,), (1375815983,), (1375815990,), (1375816035,), (1375816036,), (1375816081,), (1375816087,), (1375816242,), (1375816271,), (1375816300,), (1375816327,), (1375816351,), (1375816386,), (1375816486,), (1375816511,), (1375816537,), (1375816561,), (1375816751,), (1375816801,), (1375816856,), (1375816918,), (1375817545,), (1375817610,), (1375818234,), (1375821650,), (1375892831,), (1375892901,), (1375892975,), (1375893024,), (1375893083,), (1375893146,), (1375893715,), (1375893764,), (1375893814,), (1375899129,), (1375899110,), (1375899186,), (1375899188,), (1375899190,), (1375899192,), (1375899222,), (1375899226,), (1375899449,), (1375899468,), (1375899492,), (1375899514,), (1375899538,), (1375899634,), (1375899637,), (1375899638,), (1375899640,), (1375899643,), (1375899646,), (1375899658,), (1375899659,), (1375899660,), (1375899694,), (1375899698,), (1375899702,), (1375899705,), (1375899711,), (1375899715,), (1375899728,), (1375899732,), (1375899734,), (1375899737,), (1375899740,), (1375899742,), (1375899773,), (1375899776,), (1375899797,), (1375918017,), (1375913736,), (1375917833,), (1375918056,), (1375918059,), (1375918062,), (1375918066,), (1375918071,), (1375918116,), (1375918118,), (1375918120,), (1375918121,), (1375918151,), (1375918148,), (1375918263,), (1375918265,), (1375918330,), (1375918338,), (1375918341,), (1375918343,), (1375918347,), (1375918383,), (1375918386,), (1375918389,), (1375918391,), (1375918521,), (1375918524,), (1375918526,), (1375918528,), (1375918531,), (1375918702,), (1375918720,), (1375918738,), (1375918757,), (1375918778,), (1375918800,), (1375918883,), (1375918889,), (1375918892,), (1375918899,), (1375918919,), (1375918922,), (1375918936,), (1375918939,), (1375918941,), (1375918944,), (1375918948,), (1375918973,), (1375918976,), (1375918980,), (1375918983,), (1375918986,), (1375918990,), (1375919004,), (1375919007,), (1375919009,), (1375919079,), (1375919096,), (1375919113,), (1375919138,), (1375919140,), (1375919142,), (1375919144,), (1375919170,), (1375919177,), (1375919187,), (1375919190,), (1375919195,), (1375919228,), (1375919230,), (1375919234,), (1375919284,), (1375919287,), (1375919289,), (1375919220,), (1375919222,), (1375919225,), (1375919311,), (1375919332,), (1375919561,), (1375919582,), (1375919601,), (1375919606,), (1375919609,), (1375919615,), (1375919622,), (1375919623,), (1375919624,), (1375919626,), (1375919631,), (1375919636,), (1375919640,), (1375919652,), (1375919654,), (1375919656,), (1375919659,), (1375919828,), (1375919847,), (1375919867,), (1375919884,), (1375919889,), (1375920001,), (1375920020,), (1375920039,), (1375920043,), (1375920138,), (1375920139,), (1375920140,), (1375920143,), (1375920148,), (1375920166,), (1375920169,), (1375920172,), (1375920175,), (1375920199,), (1375920201,), (1375920203,), (1375920205,), (1375920208,), (1375920244,), (1375920246,), (1375920248,), (1375920251,), (1375920254,), (1375920258,), (1375920271,), (1375920274,), (1375920277,), (1375920279,), (1375920285,), (1375920294,), (1375920296,), (1375920300,), (1375920303,), (1375920318,), (1375920319,), (1375920324,), (1375920325,), (1375920329,), (1375920330,), (1375920334,), (1375920335,), (1375920340,), (1375920341,), (1375920344,), (1375920346,), (1375920349,), (1375920350,), (1375920352,), (1375920356,), (1375920360,), (1375920503,), (1375920440,), (1375920495,), (1375920497,), (1375920498,), (1375920500,), (1375920519,), (1375920520,), (1375920522,), (1375920524,), (1375920578,), (1375920579,), (1375920599,), (1375920600,), (1375920617,), (1375920620,), (1375920652,), (1375920654,), (1375920657,), (1375920661,), (1375920665,), (1375920670,), (1375920691,), (1375920693,), (1375920694,), (1375920717,), (1375920719,), (1375920721,), (1375920724,), (1375920727,), (1375920747,), (1375920752,), (1375920755,), (1375920759,), (1375920763,), (1375920766,), (1375920778,), (1375920779,), (1375920781,), (1375920806,), (1375920808,), (1375920810,), (1375920812,), (1375920816,), (1375920845,), (1375920850,), (1375920854,), (1375920857,), (1375920861,), (1375920909,), (1375920902,), (1375920905,), (1375920931,), (1375920934,), (1375920935,), (1375920937,), (1375920939,), (1375921113,), (1375921131,), (1375921149,), (1375921167,), (1375921188,), (1375921209,), (1375921442,), (1375921460,), (1375921482,), (1375921503,), (1375921525,), (1375921544,), (1375921720,), (1375921741,), (1375921761,), (1375921783,), (1375921805,), (1375921826,), (1375921883,), (1375921902,), (1375921922,), (1375921945,), (1375921958,), (1375921963,), (1375921983,), (1375921988,), (1375921991,), (1375921995,), (1375922011,), (1375922038,), (1375922181,), (1375922224,), (1375922261,), (1375922305,), (1375922360,), (1375922412,), (1375922618,), (1375922671,), (1375922721,), (1375922770,), (1375922822,), (1375922979,), (1375923035,), (1375923097,), (1375923157,), (1375923209,), (1375923489,), (1375923535,), (1375923590,), (1375923608,), (1375923628,), (1375923668,), (1375923951,), (1375923982,), (1375924020,), (1375924055,), (1375924089,), (1375924126,), (1375924342,), (1375924368,), (1375924391,), (1375924411,), (1375924594,), (1375924615,), (1375924634,), (1375924646,), (1375924650,), (1375924825,), (1375924847,), (1375924872,), (1375924900,), (1375924927,), (1375924951,), (1375925087,), (1375925090,), (1375925092,), (1375925095,), (1375925097,), (1375925100,), (1375925142,), (1375925143,), (1375925154,), (1375925155,), (1375925158,), (1375925159,), (1375925162,), (1375925163,), (1375925165,), (1375925166,), (1375925179,), (1375925182,), (1375925341,), (1375925412,), (1375925418,), (1375925438,), (1375925459,), (1375925479,), (1375925498,), (1375925614,), (1375925615,), (1375925626,), (1375925630,), (1375925678,), (1375925680,), (1375925698,), (1375925711,), (1375925715,), (1375925240,), (1375925258,), (1375925277,), (1375925298,), (1375925321,), (1375925581,), (1375925582,), (1375925592,), (1375925593,), (1375925606,), (1375925608,), (1375925611,), (1375925612,), (1375925676,), (1375925791,), (1375926082,), (1375926108,), (1375926111,), (1375926113,), (1375926116,), (1375926119,), (1375926129,), (1375926132,), (1375926134,), (1375926137,), (1375926139,), (1375926157,), (1375926160,), (1375926162,), (1375926165,), (1375926168,), (1375926225,), (1375926243,), (1375926261,), (1375926281,), (1375926301,), (1375926322,), (1375926488,), (1375926513,), (1375926533,), (1375926553,), (1375926558,), (1375926571,), (1375926574,), (1375926577,), (1375926579,), (1375926583,), (1375926597,), (1375926600,), (1375926601,), (1375926607,), (1375926617,), (1375926622,), (1375926637,), (1375926631,), (1375926633,), (1375926635,), (1375926687,), (1375926690,), (1375926693,), (1375926697,), (1375926708,), (1375926710,), (1375926713,), (1375926716,), (1375926719,), (1375926723,), (1375926730,), (1375926733,), (1375926735,), (1375926738,), (1375926745,), (1375926748,), (1375926750,), (1375926753,), (1375926756,), (1375926773,), (1375926776,), (1375926778,), (1375926800,), (1375926817,), (1375926851,), (1375926854,), (1375926856,), (1375926858,), (1375926861,), (1375926962,), (1375926964,), (1375926966,), (1375926968,), (1375926972,), (1375926976,), (1375926992,), (1375926997,), (1375926998,), (1375927002,), (1375927019,), (1375927022,), (1375927025,), (1375927027,), (1375927049,), (1375927052,), (1375927054,), (1375927056,), (1375927076,), (1375927078,), (1375927080,), (1375927083,), (1375927088,), (1375927093,), (1375927112,), (1375927115,), (1375927118,), (1375927122,), (1375927127,), (1375927141,), (1375927147,), (1375927158,), (1375927167,), (1375927169,), (1375927174,), (1375927182,), (1375927184,), (1375927186,), (1375927188,), (1375927200,), (1375927201,), (1375927205,), (1375927206,), (1375927210,), (1375927211,), (1375927214,), (1375927216,), (1375927218,), (1375927221,), (1375927223,), (1375927224,), (1375927231,), (1375927234,), (1375927237,), (1375927240,), (1375927272,), (1375927255,), (1375927263,), (1375927264,), (1375927266,), (1375927269,), (1375927297,), (1375927298,), (1375927300,), (1375927302,), (1375927312,), (1375927339,), (1375927364,), (1375927371,), (1375927377,), (1375927399,), (1375927400,), (1375927402,), (1375927404,), (1375927444,), (1375927447,), (1375927451,), (1375927453,), (1375927457,), (1375927461,), (1375927465,), (1375927466,), (1375927468,), (1375927471,), (1375927478,), (1375927481,), (1375927484,), (1375927487,), (1375927516,), (1375927517,), (1375927520,), (1375927521,), (1375927523,), (1375927525,), (1375927528,), (1375927530,), (1375927532,), (1375927533,), (1375927536,), (1375927537,), (1375927548,), (1375927550,), (1375927552,), (1375927556,), (1375927559,), (1375927563,), (1375927578,), (1375927582,), (1375927586,), (1375927589,), (1375927595,), (1375927597,), (1375927600,), (1375927602,), (1375927608,), (1375927610,), (1375927612,), (1375927616,), (1375927621,), (1375927626,), (1375927648,), (1375927654,), (1375927656,), (1375927658,), (1375927662,), (1375927676,), (1375927684,), (1375927692,), (1375927726,), (1375927731,), (1375927735,), (1375927738,), (1375927742,), (1375927746,), (1375927810,), (1375927812,), (1375927822,), (1375927828,), (1375927838,), (1375927842,), (1375927845,), (1375927803,), (1375927805,), (1375927807,), (1375927808,), (1375927907,), (1375927928,), (1375927948,), (1375927970,), (1375927991,), (1375928009,), (1375928190,), (1375928208,), (1375928227,), (1375928250,), (1375928267,), (1375928286,), (1375928355,), (1375928373,), (1375928393,), (1375928413,), (1375928435,), (1375928454,), (1375928533,), (1375928551,), (1375928584,), (1375928746,), (1375928781,), (1375928831,), (1375928873,), (1375928906,), (1375928926,), (1375929036,), (1375929039,), (1375929042,), (1375929044,), (1375929062,), (1375929083,), (1375929120,), (1375929157,), (1375929193,), (1375929235,), (1375929678,), (1375929737,), (1375929808,), (1375929867,), (1375930379,), (1375930425,), (1375930475,), (1375930527,), (1375930571,), (1375930616,), (1375930946,), (1375930988,), (1375931036,), (1375931074,), (1375931117,), (1375931160,), (1375931499,), (1375936663,), (1375937036,), (1375935937,), (1375936649,), (1375936654,), (1375936661,), (1375936976,), (1375936998,), (1375937016,), (1375937098,), (1375937123,), (1375937125,), (1375937127,), (1375937129,), (1375937133,), (1375937154,), (1375937155,), (1375937157,), (1375937159,), (1375937163,), (1375937165,), (1375937211,), (1375937232,), (1375937251,), (1375937270,), (1375937289,), (1375937310,), (1375937491,), (1375937510,), (1375937527,), (1375937589,), (1375937591,), (1375937594,), (1375937605,), (1375937617,), (1375937646,), (1375937647,), (1375937649,), (1375937651,), (1375937706,), (1375937697,), (1375937703,), (1375937704,), (1375937723,), (1375937725,), (1375937726,), (1375937729,), (1375937733,), (1375937737,), (1375937805,), (1375937809,), (1375937813,), (1375937816,), (1375937818,), (1375937822,), (1375937832,), (1375937937,), (1375945529,), (1375945503,), (1375945521,), (1375945523,), (1375945526,), (1375945703,), (1375945706,), (1375945730,), (1375945732,), (1375945734,), (1375945736,), (1375945739,), (1375945811,), (1375945806,), (1375945808,), (1375945809,), (1375945839,), (1375945842,), (1375945860,), (1375945862,), (1375945866,), (1375945887,), (1375945890,), (1375945894,), (1375945898,), (1375945901,), (1375945905,), (1375945913,), (1375945918,), (1375945924,), (1375945930,), (1375945933,), (1375945936,), (1375945938,), (1375945941,), (1375945952,), (1375945954,), (1375945955,), (1375945957,), (1375945959,), (1375945962,), (1375945985,), (1375945988,), (1375945991,), (1375946019,), (1375946020,), (1375946022,), (1375946024,), (1375946027,), (1375946046,), (1375946048,), (1375946049,), (1375946051,), (1375946054,), (1375946074,), (1375946076,), (1375946077,), (1375946079,), (1375946083,), (1375946104,), (1375946105,), (1375946107,), (1375946109,), (1375946143,), (1375946145,), (1375946148,), (1375946152,), (1375946156,), (1375946160,), (1375946181,), (1375946186,), (1375946195,), (1375946198,), (1375946210,), (1375946212,), (1375946229,), (1375946230,), (1375946232,), (1375946235,), (1375946238,), (1375946243,), (1375946269,), (1375946288,), (1375946303,), (1375946313,), (1375946318,), (1375946320,), (1375946324,), (1375946332,), (1375946379,), (1375946381,), (1375946382,), (1375946452,), (1375946417,), (1375946419,), (1375946420,), (1375946426,), (1375946718,), (1375946737,), (1375946753,), (1375946771,), (1375946804,), (1375946854,), (1375946856,), (1375947049,), (1375947053,), (1375947057,), (1375947061,), (1375947064,), (1375947086,), (1375947094,), (1375947096,), (1375947099,), (1375947109,), (1375947176,), (1375947197,), (1375947199,), (1375947201,), (1375947204,), (1375947226,), (1375947227,), (1375947285,), (1375947293,), (1375947299,), (1375947391,), (1375947409,), (1375947427,), (1375947445,), (1375947521,), (1375947537,), (1375947549,), (1375947632,), (1375947633,), (1375947634,), (1375947636,), (1375947639,), (1375947668,), (1375947669,), (1375947688,), (1375947689,), (1375947690,), (1375947692,), (1375947695,), (1375947729,), (1375947733,), (1375947739,), (1375947742,), (1375947745,), (1375947779,), (1375947781,), (1375947783,), (1375947792,), (1375947796,), (1375947799,), (1375947775,), (1375947777,), (1375947778,), (1375947878,), (1375947899,), (1375947921,), (1375948213,), (1375948247,), (1375948284,), (1375948317,), (1375949121,), (1375949657,), (1375949691,), (1375949729,), (1375949762,), (1375950342,), (1375950391,), (1375950443,), (1375950491,), (1375951052,), (1375951087,), (1375951114,), (1375951394,), (1375951412,), (1375951697,), (1375954160,), (1375954663,), (1375954697,), (1375954725,), (1375955028,), (1375954966,), (1375954987,), (1375955005,), (1375955524,), (1375955564,), (1375955600,), (1375955639,), (1375955958,), (1375955985,), (1375956026,), (1375956059,), (1375956089,), (1375956420,), (1375956455,), (1375956885,), (1375956918,), (1375956939,), (1375956959,), (1375957231,), (1375957268,), (1375957300,), (1375957349,), (1375957397,), (1375957444,), (1375957642,), (1375957684,), (1375957732,), (1375957786,), (1375957981,), (1375958066,), (1375958129,), (1375958190,), (1375958802,), (1375958839,), (1375958878,), (1375958918,), (1375958968,), (1375959003,), (1375959148,), (1375959186,), (1375959224,), (1375959276,), (1375959305,), (1375959548,), (1375959552,), (1375959572,), (1375959592,), (1375959611,), (1375959773,), (1375959792,), (1375959827,), (1375959864,), (1375960392,), (1375960443,), (1375960489,), (1375960734,), (1375960857,), (1375961133,), (1375961169,), (1375961201,), (1375961249,), (1375961573,), (1375961594,), (1375961614,), (1375962042,), (1375962062,), (1375962095,), (1375962121,), (1375962145,), (1375962170,), (1375962805,), (1375962533,), (1375962583,), (1375962634,), (1375962699,), (1375962750,), (1375963321,), (1375963370,), (1375963429,), (1375963602,), (1375963629,), (1375963655,), (1375963677,), (1375963956,), (1375963993,), (1375964029,), (1375964055,), (1375964088,), (1375964343,), (1375964359,), (1375964383,), (1375964416,), (1375964727,), (1375964748,), (1375964790,), (1375965094,), (1375965112,), (1375965129,), (1375965369,), (1375965389,), (1375965411,), (1375965432,), (1375965452,), (1375965491,), (1375965493,), (1375965494,), (1375965496,), (1375965500,), (1375965503,), (1375965638,), (1375965659,), (1375965679,), (1375965696,), (1375965957,), (1375965976,), (1375965987,), (1375965992,), (1375965995,), (1375966103,), (1375966159,), (1375966190,), (1375966465,), (1375966485,), (1375966504,), (1375966524,), (1375966530,), (1375966532,), (1375966541,), (1375966546,), (1375966549,), (1375966617,), (1375966632,), (1375966652,), (1375966674,), (1375966733,), (1375966817,), (1375966820,), (1375966822,), (1375966823,), (1375966865,), (1375966847,), (1375966852,), (1375966855,), (1375966859,), (1375966862,), (1375967004,), (1375967024,), (1375967049,), (1375967067,), (1375967087,), (1375967300,), (1375967322,), (1375967342,), (1375967695,), (1375967731,), (1375967765,), (1375967789,), (1375967807,), (1375967996,), (1375968025,), (1375968047,), (1375968068,), (1375968091,), (1375968251,), (1375968269,), (1375968289,), (1375968323,), (1375968369,), (1375968418,), (1375968612,), (1375968666,), (1375968860,), (1375968910,), (1375968957,), (1375969383,), (1375969403,), (1375969412,), (1375969415,), (1375969442,), (1375969451,), (1375969469,), (1375969488,), (1375969507,), (1375969687,), (1375969712,), (1375969737,), (1375969768,), (1375970012,), (1375970029,), (1375970051,), (1375970070,), (1375970096,), (1375970120,), (1375970307,), (1375970341,), (1375970365,), (1375970439,), (1375970459,), (1375970502,), (1375970540,), (1375970577,), (1375970622,), (1375971216,), (1375971247,), (1375971267,), (1375971285,), (1375971504,), (1375971494,), (1375971496,), (1375971498,), (1375971501,), (1375971754,), (1375971829,), (1375971896,), (1375972869,), (1375973021,), (1375973183,), (1375973297,), (1375973442,), (1375973563,), (1375974384,), (1375974448,), (1375974510,), (1375974590,), (1375974651,), (1375974728,), (1375975487,), (1375975542,), (1375975611,), (1375975663,), (1375975709,), (1375975759,), (1375975883,), (1375975939,), (1375976003,), (1375976055,), (1375976096,), (1375976130,), (1375976436,), (1375976438,), (1375976553,), (1375976563,), (1375976659,), (1375976725,), (1375976771,), (1375976834,), (1375976886,), (1375976939,), (1375976988,), (1375977036,), (1375977406,), (1375977498,), (1375977592,), (1375977702,), (1375977829,), (1375978505,), (1375978672,), (1375978783,), (1375978886,), (1375978980,), (1375979553,), (1375979620,), (1375979677,), (1375979733,), (1375979802,), (1375979855,), (1375980124,), (1375980141,), (1375980161,), (1375980193,), (1375980448,), (1375980466,), (1375980471,), (1375980474,), (1375980497,), (1375980511,), (1375980559,), (1375980567,), (1375980568,), (1375980569,), (1375980657,), (1375980693,), (1375980725,), (1375980774,), (1375981139,), (1375981174,), (1375981217,), (1375981255,), (1375981290,), (1375981343,), (1375981558,), (1375981698,), (1375981794,), (1375981817,), (1375982013,), (1375982062,), (1375982103,), (1375982162,), (1375982211,), (1375982237,), (1375982552,), (1375982470,), (1375982489,), (1375982506,), (1375982528,), (1375983021,), (1375983055,), (1375983095,), (1375983578,), (1375983628,), (1375983676,), (1375983723,), (1375983773,), (1375984059,), (1375984409,), (1375984706,), (1375984724,), (1375984742,), (1375984761,), (1375984995,), (1375985035,), (1375985105,), (1375985150,), (1375985165,), (1375985167,), (1375985208,), (1375985230,), (1375985251,), (1375985275,), (1375985318,), (1375985356,), (1375985512,), (1375985557,), (1375985682,), (1375985720,), (1375985753,), (1375985773,), (1375985795,), (1375986008,), (1375986052,), (1375986074,), (1375986097,), (1375986118,), (1375986140,), (1375986286,), (1375986295,), (1375986296,), (1375986297,), (1375986299,), (1375986329,), (1375986347,), (1375986364,), (1375986387,), (1375986582,), (1375986609,), (1375986640,), (1375986668,), (1375986907,), (1375986927,), (1375986943,), (1375986960,), (1375986980,), (1375987166,), (1375987184,), (1375987201,), (1375987218,), (1375987466,), (1375987336,), (1375987356,), (1375987410,), (1375987433,), (1375988002,), (1375988066,), (1375988113,), (1375988195,), (1375988237,), (1375988609,), (1375988655,), (1375988714,), (1375988762,), (1375988806,), (1375989093,), (1375989112,), (1375989128,), (1375989206,), (1375989270,), (1375989553,), (1375989619,), (1375989666,), (1375989959,), (1375989963,), (1375989981,), (1375989988,), (1375989997,), (1375990099,), (1375990154,), (1375990207,), (1375990274,), (1375990331,), (1375990862,), (1375990922,), (1375990978,), (1375991031,), (1375991513,), (1375991539,), (1375991559,), (1375991578,), (1375991890,), (1375991928,), (1375991982,), (1375992031,), (1375992065,), (1375992137,), (1375992727,), (1375992794,), (1375992874,), (1375992953,), (1375993008,), (1375993058,), (1375993299,), (1375993358,), (1375993379,), (1375993394,), (1375993396,), (1375993441,), (1375993482,), (1375993521,), (1375993558,), (1375993968,), (1375993969,), (1375994024,), (1375994062,), (1375994081,), (1375994121,), (1375994131,), (1375994144,), (1375994145,), (1375994147,), (1375994148,), (1375994151,), (1375994227,), (1375994235,), (1375994251,), (1375994264,), (1375994272,), (1375994815,), (1375994795,), (1375994808,), (1375994820,), (1375994821,), (1375994823,), (1375994883,), (1375994884,), (1375994885,), (1375994910,), (1375994915,), (1375994918,), (1375994920,), (1375994922,), (1375994931,), (1375994932,), (1375994934,), (1375995255,), (1375995297,), (1375995353,), (1375995399,), (1375995446,), (1375995488,), (1375995645,), (1375995768,), (1375995818,), (1375995865,), (1375996083,), (1375996092,), (1375996105,), (1375996110,), (1375996114,), (1375996116,), (1375996153,), (1375996157,), (1375996158,), (1375996160,), (1375996162,), (1375996177,), (1375996181,), (1375996183,), (1375996185,), (1375996210,), (1375996214,), (1375996217,), (1375996220,), (1375996224,), (1375996273,), (1375996274,), (1375996277,), (1375996279,), (1375996281,), (1375996283,), (1375996286,), (1375996289,), (1375996294,), (1375996301,), (1375996318,), (1375996322,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08082025': {'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([25817271]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] map_info['map_portfolio_photo'] : {25817271: [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110]} final : True mtd_id 4302 list_pids : [1375918017, 1375899797, 1375899776, 1375899773, 1375899742, 1375899740, 1375899737, 1375899734, 1375899732, 1375899728, 1375899715, 1375899711, 1375899705, 1375899702, 1375899698, 1375899694, 1375899660, 1375899659, 1375899658, 1375899646, 1375899643, 1375899640, 1375899638, 1375899637, 1375899634, 1375899538, 1375899514, 1375899492, 1375899468, 1375899449, 1375899226, 1375899222, 1375899192, 1375899190, 1375899188, 1375899186, 1375899110] Looping around the photos to save general results len do output : 1 /25817271Didn'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, '3490838') ('4302', '25817271', '1375918017', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899797', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899776', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899773', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899742', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899740', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899737', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899734', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899732', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899728', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899715', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899711', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899705', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899702', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899698', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899694', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899660', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899659', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899658', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899646', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899643', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899640', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899638', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899637', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899634', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899538', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899514', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899492', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899468', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899449', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899226', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899222', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899192', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899190', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899188', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899186', None, None, None, None, None, '3490838') ('4302', None, None, None, None, None, None, None, '3490838') ('4302', '25817271', '1375899110', None, None, None, None, None, '3490838') 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, '25817271', 'None', None, None, None, None, '3490838'), ('4302', '25817271', '1375918017', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899797', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899776', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899773', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899742', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899740', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899737', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899734', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899732', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899728', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899715', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899711', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899705', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899702', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899698', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899694', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899660', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899659', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899658', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899646', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899643', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899640', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899638', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899637', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899634', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899538', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899514', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899492', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899468', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899449', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899226', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899222', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899192', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899190', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899188', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899186', None, None, None, None, None, '3490838'), ('4302', '25817271', '1375899110', None, None, None, None, None, '3490838')] time used for this insertion : 0.0187380313873291 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.124081373214722 time spend to save output : 0.019135236740112305 total time spend for step 5 : 9.143216609954834 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 (3490838) 2.91user 2.40system 0:22.58elapsed 23%CPU (0avgtext+0avgdata 167744maxresident)k 328inputs+25088outputs (0major+78774minor)pagefaults 0swaps