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 : 246401 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 (4325429) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4325429) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039434 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4325429'] with mtr_portfolio_ids : ['30039434'] and first list_photo_ids : [] new path : /proc/246401/ Name: python3 Umask: 0002 State: R (running) Tgid: 246401 Ngid: 0 Pid: 246401 PPid: 246399 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 246401 NSpid: 246401 NSpgid: 245758 NSsid: 245758 VmPeak: 1113368 kB VmSize: 1113368 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104320 kB VmRSS: 104320 kB RssAnon: 66304 kB RssFile: 38016 kB RssShmem: 0 kB VmData: 872096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 572 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: 37 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '246401', 'Ngid': '0', 'Pid': '246401', 'PPid': '246399', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '246401', 'NSpid': '246401', 'NSpgid': '245758', 'NSsid': '245758', 'VmPeak': '1113368 kB', 'VmSize': '1113368 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104320 kB', 'VmRSS': '104320 kB', 'RssAnon': '66304 kB', 'RssFile': '38016 kB', 'RssShmem': '0 kB', 'VmData': '872096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '572 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': '37', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '246401', '1113368', '0', '1113368', '872096', '104320', b'', 'marlene', '4325429') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (30039434) 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 (4325429 ) ) 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 (30039434) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402900943, 'portfolio_id': 30039434}, {'photo_id': 1402900916, 'portfolio_id': 30039434}, {'photo_id': 1402900914, 'portfolio_id': 30039434}, {'photo_id': 1402900913, 'portfolio_id': 30039434}, {'photo_id': 1402900905, 'portfolio_id': 30039434}, {'photo_id': 1402900903, 'portfolio_id': 30039434}, {'photo_id': 1402900902, 'portfolio_id': 30039434}, {'photo_id': 1402900901, 'portfolio_id': 30039434}, {'photo_id': 1402900900, 'portfolio_id': 30039434}, {'photo_id': 1402900891, 'portfolio_id': 30039434}, {'photo_id': 1402900888, 'portfolio_id': 30039434}, {'photo_id': 1402900885, 'portfolio_id': 30039434}, {'photo_id': 1402900882, 'portfolio_id': 30039434}, {'photo_id': 1402900881, 'portfolio_id': 30039434}, {'photo_id': 1402900880, 'portfolio_id': 30039434}, {'photo_id': 1402900870, 'portfolio_id': 30039434}, {'photo_id': 1402900869, 'portfolio_id': 30039434}, {'photo_id': 1402900868, 'portfolio_id': 30039434}, {'photo_id': 1402900854, 'portfolio_id': 30039434}, {'photo_id': 1402900853, 'portfolio_id': 30039434}, {'photo_id': 1402900852, 'portfolio_id': 30039434}, {'photo_id': 1402900851, 'portfolio_id': 30039434}, {'photo_id': 1402900841, 'portfolio_id': 30039434}, {'photo_id': 1402900839, 'portfolio_id': 30039434}, {'photo_id': 1402900816, 'portfolio_id': 30039434}, {'photo_id': 1402900809, 'portfolio_id': 30039434}, {'photo_id': 1402900808, 'portfolio_id': 30039434}, {'photo_id': 1402900630, 'portfolio_id': 30039434}, {'photo_id': 1402900598, 'portfolio_id': 30039434}, {'photo_id': 1402900078, 'portfolio_id': 30039434}, {'photo_id': 1402900077, 'portfolio_id': 30039434}, {'photo_id': 1402899285, 'portfolio_id': 30039434}, {'photo_id': 1402898574, 'portfolio_id': 30039434}] map_portfolio_id_photo_id: {30039434: [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574]} ##### 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.019077777862548828 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Jan 8 06:11:28 2026 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 (30039434) 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 : 30039434 get user id for portfolio 30039434 get sub ptf for main ptf 30039434, type 3726 and hashtags ['papier', 'Teint_Dans_La_Masse', 'autre_refus', 'environnement', 'plastique', 'mal_croppe', 'cartonnette', 'Carton_brun', 'flou', 'kraft', 'Carton_gris', 'metal'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30039434 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','environnement','plastique','mal_croppe','cartonnette','Carton_brun','flou','kraft','Carton_gris','metal')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30039434 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','environnement','plastique','mal_croppe','cartonnette','Carton_brun','flou','kraft','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 30039434, 'sub_port_id': 30039436, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562872, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'mal_croppe': {'main_port_id': 30039434, 'sub_port_id': 30039437, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562873, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'Carton_brun': {'main_port_id': 30039434, 'sub_port_id': 30039438, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562874, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 30039434, 'sub_port_id': 30039439, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562875, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'papier': {'main_port_id': 30039434, 'sub_port_id': 30039440, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562876, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'cartonnette': {'main_port_id': 30039434, 'sub_port_id': 30039441, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562877, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'plastique': {'main_port_id': 30039434, 'sub_port_id': 30039442, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562878, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'environnement': {'main_port_id': 30039434, 'sub_port_id': 30039443, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562879, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'flou': {'main_port_id': 30039434, 'sub_port_id': 30039444, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562880, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'metal': {'main_port_id': 30039434, 'sub_port_id': 30039445, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562881, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'kraft': {'main_port_id': 30039434, 'sub_port_id': 30039446, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562882, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}, 'autre_refus': {'main_port_id': 30039434, 'sub_port_id': 30039447, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562883, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039436 , 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=30039434 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 (30039436) result : ((1402900832,), (1402900927,), (1402900934,), (1402900935,), (1402901080,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039437 , 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=30039434 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 (30039437) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039438 , 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=30039434 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 (30039438) result : ((1402900822,), (1402900823,), (1402900824,), (1402900825,), (1402900826,), (1402900833,), (1402900834,), (1402900835,), (1402900862,), (1402900863,), (1402900896,), (1402900936,), (1402900937,), (1402901056,), (1402901057,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039439 , 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=30039434 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 (30039439) result : ((1402900859,), (1402900860,), (1402900889,), (1402900890,), (1402901054,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039440 , 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=30039434 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 (30039440) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039441 , 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=30039434 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 (30039441) result : ((1402900821,), (1402900929,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039442 , 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=30039434 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 (30039442) result : ((1402900836,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039443 , 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=30039434 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 (30039443) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039444 , 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=30039434 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 (30039444) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039445 , 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=30039434 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 (30039445) result : ((1402900837,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039446 , 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=30039434 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 (30039446) result : ((1402900938,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30039447 , 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=30039434 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 (30039447) result : ((1402900831,), (1402900893,), (1402900894,), (1402900895,), (1402900926,), (1402900933,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30039434) result : ((1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,)) 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 (1402900900) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30039434 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','environnement','plastique','mal_croppe','cartonnette','Carton_brun','flou','kraft','Carton_gris','metal')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30039434 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','environnement','plastique','mal_croppe','cartonnette','Carton_brun','flou','kraft','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 30039434, 'sub_port_id': 30039448, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562884, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'mal_croppe': {'main_port_id': 30039434, 'sub_port_id': 30039449, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562885, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'Carton_brun': {'main_port_id': 30039434, 'sub_port_id': 30039450, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562886, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 30039434, 'sub_port_id': 30039451, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562887, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'papier': {'main_port_id': 30039434, 'sub_port_id': 30039452, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562888, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'cartonnette': {'main_port_id': 30039434, 'sub_port_id': 30039453, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562889, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'plastique': {'main_port_id': 30039434, 'sub_port_id': 30039454, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562890, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'environnement': {'main_port_id': 30039434, 'sub_port_id': 30039455, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562891, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'flou': {'main_port_id': 30039434, 'sub_port_id': 30039456, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562892, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'metal': {'main_port_id': 30039434, 'sub_port_id': 30039457, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562893, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'kraft': {'main_port_id': 30039434, 'sub_port_id': 30039458, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562894, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 36, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}, 'autre_refus': {'main_port_id': 30039434, 'sub_port_id': 30039459, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20562895, 'last_updated_at': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 1, 46, 56), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 1, 36, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039448,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039436 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039449,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039437 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039450,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039438 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039451,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039439 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039452,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039440 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039453,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039441 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039454,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039442 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039455,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039443 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039456,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039444 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039457,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039445 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039458,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039446 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30039459,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30039447 lien utilise dans velours : https://marlene.fotonower.com/velours/30039448,30039449,30039450,30039451,30039452,30039453,30039454,30039455,30039456,30039457,30039458,30039459?tags=Carton_gris,mal_croppe,Carton_brun,Teint_Dans_La_Masse,papier,cartonnette,plastique,environnement,flou,metal,kraft,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30039434]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] map_info['map_portfolio_photo'] : {30039434: [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574]} final : False mtd_id 4302 list_pids : [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] Looping around the photos to save general results len do output : 1 /30039434. 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, '4325429') ('4302', '30039434', '1402900943', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900916', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900914', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900913', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900905', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900903', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900902', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900901', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900900', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900891', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900888', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900885', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900882', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900881', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900880', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900870', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900869', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900868', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900854', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900853', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900852', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900851', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900841', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900839', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900816', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900809', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900808', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900630', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900598', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900078', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900077', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402899285', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402898574', None, None, None, None, None, '4325429') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '30039434', "{'Carton_gris': 30039436, 'mal_croppe': 30039437, 'Carton_brun': 30039438, 'Teint_Dans_La_Masse': 30039439, 'papier': 30039440, 'cartonnette': 30039441, 'plastique': 30039442, 'environnement': 30039443, 'flou': 30039444, 'metal': 30039445, 'kraft': 30039446, 'autre_refus': 30039447}", None, None, None, None, '4325429'), ('4302', '30039434', '1402900943', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900916', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900914', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900913', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900905', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900903', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900902', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900901', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900900', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900891', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900888', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900885', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900882', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900881', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900880', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900870', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900869', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900868', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900854', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900853', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900852', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900851', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900841', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900839', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900816', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900809', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900808', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900630', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900598', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900078', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900077', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402899285', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402898574', None, None, None, None, None, '4325429')] time used for this insertion : 0.01969766616821289 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5253002643585205 time spend to save output : 0.019976377487182617 total time spend for step 1 : 0.5452766418457031 step2:final Thu Jan 8 06:11:29 2026 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 (30039434) 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 30039434 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402898574,1402899285,1402900078,1402900077,1402900630,1402900598,1402900809,1402900808,1402900816,1402900841,1402900839,1402900854,1402900853,1402900852,1402900851,1402900900,1402900870,1402900869,1402900891,1402900888,1402900885,1402900868,1402900882,1402900881,1402900880,1402900905,1402900903,1402900902,1402900901,1402900916,1402900914,1402900913,1402900943); 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([30039434]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} new output for save of step final : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] map_info['map_portfolio_photo'] : {30039434: [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574]} final : False mtd_id 4302 list_pids : [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] Looping around the photos to save general results len do output : 33 /1402900943.Didn't retrieve data . /1402900916.Didn't retrieve data . /1402900914.Didn't retrieve data . /1402900913.Didn't retrieve data . /1402900905.Didn't retrieve data . /1402900903.Didn't retrieve data . /1402900902.Didn't retrieve data . /1402900901.Didn't retrieve data . /1402900900.Didn't retrieve data . /1402900891.Didn't retrieve data . /1402900888.Didn't retrieve data . /1402900885.Didn't retrieve data . /1402900882.Didn't retrieve data . /1402900881.Didn't retrieve data . /1402900880.Didn't retrieve data . /1402900870.Didn't retrieve data . /1402900869.Didn't retrieve data . /1402900868.Didn't retrieve data . /1402900854.Didn't retrieve data . /1402900853.Didn't retrieve data . /1402900852.Didn't retrieve data . /1402900851.Didn't retrieve data . /1402900841.Didn't retrieve data . /1402900839.Didn't retrieve data . /1402900816.Didn't retrieve data . /1402900809.Didn't retrieve data . /1402900808.Didn't retrieve data . /1402900630.Didn't retrieve data . /1402900598.Didn't retrieve data . /1402900078.Didn't retrieve data . /1402900077.Didn't retrieve data . /1402899285.Didn't retrieve data . /1402898574.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, '4325429') ('4302', '30039434', '1402900943', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900916', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900914', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900913', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900905', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900903', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900902', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900901', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900900', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900891', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900888', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900885', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900882', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900881', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900880', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900870', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900869', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900868', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900854', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900853', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900852', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900851', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900841', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900839', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900816', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900809', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900808', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900630', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900598', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900078', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900077', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402899285', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402898574', None, None, None, None, None, '4325429') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '30039434', '1402900943', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900916', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900914', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900913', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900905', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900903', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900902', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900901', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900900', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900891', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900888', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900885', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900882', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900881', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900880', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900870', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900869', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900868', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900854', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900853', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900852', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900851', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900841', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900839', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900816', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900809', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900808', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900630', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900598', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900078', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402900077', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402899285', '0.028992247467064528', None, None, None, None, '4325429'), ('4302', '30039434', '1402898574', '0.028992247467064528', None, None, None, None, '4325429')] time used for this insertion : 0.021294832229614258 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07803177833557129 time spend to save output : 0.022032737731933594 total time spend for step 2 : 0.10006451606750488 step3:velours_tree Thu Jan 8 06:11:29 2026 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 : {30039434: [{'Carton_gris': 30039436, 'mal_croppe': 30039437, 'Carton_brun': 30039438, 'Teint_Dans_La_Masse': 30039439, 'papier': 30039440, 'cartonnette': 30039441, 'plastique': 30039442, 'environnement': 30039443, 'flou': 30039444, 'metal': 30039445, 'kraft': 30039446, 'autre_refus': 30039447}]} input_args_next_step : {30039434: ()} output_args : {30039434: [{'Carton_gris': 30039436, 'mal_croppe': 30039437, 'Carton_brun': 30039438, 'Teint_Dans_La_Masse': 30039439, 'papier': 30039440, 'cartonnette': 30039441, 'plastique': 30039442, 'environnement': 30039443, 'flou': 30039444, 'metal': 30039445, 'kraft': 30039446, 'autre_refus': 30039447}]} args : 30039434 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 30039436, 'mal_croppe': 30039437, 'Carton_brun': 30039438, 'Teint_Dans_La_Masse': 30039439, 'papier': 30039440, 'cartonnette': 30039441, 'plastique': 30039442, 'environnement': 30039443, 'flou': 30039444, 'metal': 30039445, 'kraft': 30039446, 'autre_refus': 30039447},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30039434) 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([30039434]) 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.24825096130371094 time spend to save output : 4.172325134277344e-05 total time spend for step 3 : 0.2482926845550537 step4:send_mail_cod Thu Jan 8 06:11:29 2026 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 : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} input_args_next_step : {1402900943: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900943 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900916 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900914 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900913 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900905 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900903 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900902 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900901 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900900 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900891 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900888 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900885 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900882 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900881 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900880 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900870 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900869 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900868 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900854 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900853 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900852 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900851 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900841 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900839 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900816 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900809 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900808 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900630 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900598 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900078 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402900077 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402899285 depend.output_id : 0 input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ()} output_args : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',)} args : 1402898574 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 : {30039434: [{'Carton_gris': 30039436, 'mal_croppe': 30039437, 'Carton_brun': 30039438, 'Teint_Dans_La_Masse': 30039439, 'papier': 30039440, 'cartonnette': 30039441, 'plastique': 30039442, 'environnement': 30039443, 'flou': 30039444, 'metal': 30039445, 'kraft': 30039446, 'autre_refus': 30039447}]} input_args_next_step : {1402900943: ('0.028992247467064528',), 1402900916: ('0.028992247467064528',), 1402900914: ('0.028992247467064528',), 1402900913: ('0.028992247467064528',), 1402900905: ('0.028992247467064528',), 1402900903: ('0.028992247467064528',), 1402900902: ('0.028992247467064528',), 1402900901: ('0.028992247467064528',), 1402900900: ('0.028992247467064528',), 1402900891: ('0.028992247467064528',), 1402900888: ('0.028992247467064528',), 1402900885: ('0.028992247467064528',), 1402900882: ('0.028992247467064528',), 1402900881: ('0.028992247467064528',), 1402900880: ('0.028992247467064528',), 1402900870: ('0.028992247467064528',), 1402900869: ('0.028992247467064528',), 1402900868: ('0.028992247467064528',), 1402900854: ('0.028992247467064528',), 1402900853: ('0.028992247467064528',), 1402900852: ('0.028992247467064528',), 1402900851: ('0.028992247467064528',), 1402900841: ('0.028992247467064528',), 1402900839: ('0.028992247467064528',), 1402900816: ('0.028992247467064528',), 1402900809: ('0.028992247467064528',), 1402900808: ('0.028992247467064528',), 1402900630: ('0.028992247467064528',), 1402900598: ('0.028992247467064528',), 1402900078: ('0.028992247467064528',), 1402900077: ('0.028992247467064528',), 1402899285: ('0.028992247467064528',), 1402898574: ('0.028992247467064528',), 30039434: ()} output_args : {30039434: [{'Carton_gris': 30039436, 'mal_croppe': 30039437, 'Carton_brun': 30039438, 'Teint_Dans_La_Masse': 30039439, 'papier': 30039440, 'cartonnette': 30039441, 'plastique': 30039442, 'environnement': 30039443, 'flou': 30039444, 'metal': 30039445, 'kraft': 30039446, 'autre_refus': 30039447}]} args : 30039434 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 :34, first value : ('0.028992247467064528',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30039434) 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_view ph WHERE photo_id IN (1402900943,1402900916,1402900914,1402900913,1402900905,1402900903,1402900902,1402900901,1402900900,1402900891,1402900888,1402900885,1402900882,1402900881,1402900880,1402900870,1402900869,1402900868,1402900854,1402900853,1402900852,1402900851,1402900841,1402900839,1402900816,1402900809,1402900808,1402900630,1402900598,1402900078,1402900077,1402899285,1402898574) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402898574 begin to download photo : 1402900809 begin to download photo : 1402900854 begin to download photo : 1402900885 begin to download photo : 1402900905 download finish for photo 1402900809 begin to download photo : 1402900816 download finish for photo 1402900854 begin to download photo : 1402900868 download finish for photo 1402898574 begin to download photo : 1402899285 download finish for photo 1402900905 begin to download photo : 1402900913 download finish for photo 1402900885 begin to download photo : 1402900888 download finish for photo 1402900816 begin to download photo : 1402900839 download finish for photo 1402900868 begin to download photo : 1402900869 download finish for photo 1402899285 begin to download photo : 1402900077 download finish for photo 1402900913 begin to download photo : 1402900914 download finish for photo 1402900888 begin to download photo : 1402900891 download finish for photo 1402900839 begin to download photo : 1402900841 download finish for photo 1402900869 begin to download photo : 1402900870 download finish for photo 1402900891 begin to download photo : 1402900900 download finish for photo 1402900870 begin to download photo : 1402900880 download finish for photo 1402900914 begin to download photo : 1402900916 download finish for photo 1402900077 begin to download photo : 1402900078 download finish for photo 1402900900 begin to download photo : 1402900901 download finish for photo 1402900841 begin to download photo : 1402900851 download finish for photo 1402900880 begin to download photo : 1402900881 download finish for photo 1402900078 begin to download photo : 1402900598 download finish for photo 1402900901 begin to download photo : 1402900902 download finish for photo 1402900916 begin to download photo : 1402900943 download finish for photo 1402900851 begin to download photo : 1402900852 download finish for photo 1402900943 download finish for photo 1402900852 begin to download photo : 1402900853 download finish for photo 1402900881 begin to download photo : 1402900882 download finish for photo 1402900598 begin to download photo : 1402900630 download finish for photo 1402900853 download finish for photo 1402900902 begin to download photo : 1402900903 download finish for photo 1402900882 download finish for photo 1402900630 begin to download photo : 1402900808 download finish for photo 1402900903 download finish for photo 1402900808 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette300394371767849090/ length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P30039434_08-01-2026_06_11_30.pdf 30039437 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039437 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300394371767849090 30039441 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039441 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900821: '1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479924_0.png', 1402900929: '1767833107_1028894_1402900905_fdf1395571ef74a9369a7d60fdd1253a_rle_crop_4093480308_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/61cb553dc511faf960ecf645f6be3962_11793334.png change filename to text .imagette300394411767849090/ imagette300394411767849090/1767833107_1028894_1402900905_fdf1395571ef74a9369a7d60fdd1253a_rle_crop_4093480308_0.png.png imagette300394411767849090/1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479924_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/176632f5971935163c51a03881b3beae_83180015.png imagette300394411767849090 30039442 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039442 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900836: '1767832765_1012631_1402900077_4f2f82b7b2fbad5dbf8f120693950d39_rle_crop_4093480004_0.png'} change filename to text .imagette300394421767849091/ imagette300394421767849091/1767832765_1012631_1402900077_4f2f82b7b2fbad5dbf8f120693950d39_rle_crop_4093480004_0.png.png imagette300394441767849091/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/629a40159feafc9bea97b545be75bb3a_2210972.png imagette300394421767849091 30039444 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039444 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300394441767849091 30039445 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039445 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900837: '1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479990_0.png'} change filename to text .imagette300394451767849091/ imagette300394451767849091/1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479990_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/bf561d2fd1ee91c9a155a3a913615c91_37477670.png imagette300394451767849091 30039446 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039446 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900938: '1767833127_1029252_1402900902_4259786d72bde91da823da3d36a19c30_rle_crop_4093480449_0.png'} change filename to text .imagette300394461767849091/ imagette300394461767849091/1767833127_1029252_1402900902_4259786d72bde91da823da3d36a19c30_rle_crop_4093480449_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/472a9e62b8298e8ffb3aa9a032fe9a96_19325276.png imagette300394461767849091 30039447 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039447 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900831: '1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479988_0.png', 1402900893: '1767832987_1023508_1402900869_379264329ed8236efae61b95cbb9d2ea_rle_crop_4093480156_0.png', 1402900894: '1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480173_0.png', 1402900895: '1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480170_0.png', 1402900926: '1767833107_1028894_1402900881_45da27bd0c3eb573ba28754445d42381_rle_crop_4093480333_0.png', 1402900933: '1767833127_1029252_1402900901_143fd9f68675c1db6ad2f6aacfc6d3c5_rle_crop_4093480461_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/562e02f9a8b3d2b05a8d36b038640f7d_62984735.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/e13b7a071e90ec954e0ead2a8146b41d_34133071.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/b9646d99cffe3ff256249a925e9f442d_86918883.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/39aff46b530eb4a5bdcc1dceef200b6e_552133.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/ce9592dd58f78ef94dc221b8fde01d8d_47044678.png change filename to text .imagette300394471767849091/ imagette300394471767849091/1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480173_0.png.png imagette300394471767849091/1767833127_1029252_1402900901_143fd9f68675c1db6ad2f6aacfc6d3c5_rle_crop_4093480461_0.png.png imagette300394471767849091/1767832987_1023508_1402900869_379264329ed8236efae61b95cbb9d2ea_rle_crop_4093480156_0.png.png imagette300394471767849091/1767833107_1028894_1402900881_45da27bd0c3eb573ba28754445d42381_rle_crop_4093480333_0.png.png imagette300394471767849091/1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479988_0.png.png imagette300394471767849091/1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480170_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/8986ee676cbc16e0959e56893a421946_50555256.png imagette300394471767849091 30039436 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039436 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900832: '1767832765_1012631_1402900077_4f2f82b7b2fbad5dbf8f120693950d39_rle_crop_4093480001_0.png', 1402900927: '1767833107_1028894_1402900882_2bfe1c3ed5362baae4d97700224d64ec_rle_crop_4093480316_0.png', 1402900934: '1767833127_1029252_1402900902_4259786d72bde91da823da3d36a19c30_rle_crop_4093480454_0.png', 1402900935: '1767833127_1029252_1402900901_143fd9f68675c1db6ad2f6aacfc6d3c5_rle_crop_4093480471_0.png', 1402901080: '1767833585_1051188_1402900839_76da5617da3a68cb28c28c75079814e3_rle_crop_4093481195_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/dc84abf419b9e8dcc7d601c13ba2ebef_49845558.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/fcc9ffd905cbbd5e015fd984297f5d4d_35242731.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/82233aad04448c9d0fe289bc9bcca670_8614158.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/7a90f10b4c68bb8142cc179989958bd5_91917800.png change filename to text .imagette300394361767849092/ imagette300394361767849092/1767832765_1012631_1402900077_4f2f82b7b2fbad5dbf8f120693950d39_rle_crop_4093480001_0.png.png imagette300394361767849092/1767833107_1028894_1402900882_2bfe1c3ed5362baae4d97700224d64ec_rle_crop_4093480316_0.png.png imagette300394361767849092/1767833127_1029252_1402900901_143fd9f68675c1db6ad2f6aacfc6d3c5_rle_crop_4093480471_0.png.png imagette300394361767849092/1767833127_1029252_1402900902_4259786d72bde91da823da3d36a19c30_rle_crop_4093480454_0.png.png imagette300394361767849092/1767833585_1051188_1402900839_76da5617da3a68cb28c28c75079814e3_rle_crop_4093481195_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/6861b2f8ef77c38aa89f71684de440fb_41592006.png imagette300394361767849092 30039438 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039438 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900822: '1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479929_0.png', 1402900823: '1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479926_0.png', 1402900824: '1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479928_0.png', 1402900825: '1767832746_1012229_1402900598_350b744f344debeb3b8b58937578e954_rle_crop_4093479937_0.png', 1402900826: '1767832746_1012229_1402900598_350b744f344debeb3b8b58937578e954_rle_crop_4093479935_0.png', 1402900833: '1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479991_0.png', 1402900834: '1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479994_0.png', 1402900835: '1767832765_1012631_1402900077_4f2f82b7b2fbad5dbf8f120693950d39_rle_crop_4093480009_0.png', 1402900862: '1767832867_1017921_1402900808_70865edec813de263b21f0aea1f51b00_rle_crop_4093480074_0.png', 1402900863: '1767832867_1017921_1402900808_70865edec813de263b21f0aea1f51b00_rle_crop_4093480072_0.png', 1402900896: '1767832987_1023508_1402900869_379264329ed8236efae61b95cbb9d2ea_rle_crop_4093480160_0.png', 1402900936: '1767833127_1029252_1402900903_14c7a7778b0bf8e8161309eb040d0411_rle_crop_4093480442_0.png', 1402900937: '1767833127_1029252_1402900901_143fd9f68675c1db6ad2f6aacfc6d3c5_rle_crop_4093480464_0.png', 1402901056: '1767833467_1045551_1402900914_33877e72648f1574d150d357154289ce_rle_crop_4093481123_0.png', 1402901057: '1767833467_1045551_1402900913_e93a2d3eedc33a26e687a84c23e46811_rle_crop_4093481131_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/8792ac5cec243f09590326eeb6d51392_62085327.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/db9b93bac26c9e0a8ad81b3ad7990879_43947319.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/2241f9cfaa853ac6068ca1a111f0ab3f_21640321.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/78840f7168d9bcab4db027206e02db04_23684885.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/b996990d630b2b16008e3491d363ed3d_50795423.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/692e652815b585102fe4fc4d8d3ba038_30763578.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/02ac40f870f248a9c610c48daf4e4fe8_4314785.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/66a179a5dcf5ce2cd133abaf70a1c6ce_4449241.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/fd18b78dfbefbd2cdeb5d08e592137a0_83638350.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/79199bbbaeb22c82306114a680d86211_96509066.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/4936cd9e60936555974db264df0985a9_29110701.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/53461f6c4e27fe2c7ee0581d31454862_59679213.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/0fd57b953ca45afa1ea0e43e9e209903_15906182.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/dec6134760fde87122814a8184ea5fe2_13609902.png change filename to text .imagette300394381767849092/ imagette300394381767849092/1767833127_1029252_1402900901_143fd9f68675c1db6ad2f6aacfc6d3c5_rle_crop_4093480464_0.png.png imagette300394381767849092/1767832867_1017921_1402900808_70865edec813de263b21f0aea1f51b00_rle_crop_4093480072_0.png.png imagette300394381767849092/1767832867_1017921_1402900808_70865edec813de263b21f0aea1f51b00_rle_crop_4093480074_0.png.png imagette300394381767849092/1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479928_0.png.png imagette300394381767849092/1767833467_1045551_1402900914_33877e72648f1574d150d357154289ce_rle_crop_4093481123_0.png.png imagette300394381767849092/1767832987_1023508_1402900869_379264329ed8236efae61b95cbb9d2ea_rle_crop_4093480160_0.png.png imagette300394381767849092/1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479929_0.png.png imagette300394381767849092/1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479994_0.png.png imagette300394381767849092/1767832746_1012229_1402900809_8556a125e20000110a873c14191b6423_rle_crop_4093479926_0.png.png imagette300394381767849092/1767832765_1012631_1402900630_56a5e9a35415d468d392f93210ce5c2e_rle_crop_4093479991_0.png.png imagette300394381767849092/1767832746_1012229_1402900598_350b744f344debeb3b8b58937578e954_rle_crop_4093479937_0.png.png imagette300394381767849092/1767832765_1012631_1402900077_4f2f82b7b2fbad5dbf8f120693950d39_rle_crop_4093480009_0.png.png imagette300394381767849092/1767833127_1029252_1402900903_14c7a7778b0bf8e8161309eb040d0411_rle_crop_4093480442_0.png.png imagette300394381767849092/1767832746_1012229_1402900598_350b744f344debeb3b8b58937578e954_rle_crop_4093479935_0.png.png imagette300394381767849092/1767833467_1045551_1402900913_e93a2d3eedc33a26e687a84c23e46811_rle_crop_4093481131_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/7103dcda2ef54fee254f177f3c9c3d88_21630962.png imagette300394381767849092 30039439 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039439 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402900859: '1767832867_1017921_1402900816_9c2bc00a9bbda10d148ef4b8d9524b7f_rle_crop_4093480060_0.png', 1402900860: '1767832867_1017921_1402900816_9c2bc00a9bbda10d148ef4b8d9524b7f_rle_crop_4093480061_0.png', 1402900889: '1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480175_0.png', 1402900890: '1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480177_0.png', 1402901054: '1767833467_1045551_1402900914_33877e72648f1574d150d357154289ce_rle_crop_4093481128_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/0f021b8fe3e8c75aa943d95bea707adf_52691837.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/d3f15f93b3beae0aff7df5877a50b16d_62027573.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/871918c69ef7489f9cc2ce120940c5b0_18638785.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/72837b0a422ab43d47cb38f944044f8b_63687789.png change filename to text .imagette300394391767849094/ imagette300394391767849094/1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480175_0.png.png imagette300394391767849094/1767832867_1017921_1402900816_9c2bc00a9bbda10d148ef4b8d9524b7f_rle_crop_4093480060_0.png.png imagette300394391767849094/1767832987_1023508_1402900868_bb7175374bdafab983c8894cf0bcf47f_rle_crop_4093480177_0.png.png imagette300394391767849094/1767833467_1045551_1402900914_33877e72648f1574d150d357154289ce_rle_crop_4093481128_0.png.png imagette300394391767849094/1767832867_1017921_1402900816_9c2bc00a9bbda10d148ef4b8d9524b7f_rle_crop_4093480061_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/882d47c58ebaa1cfc2b1a2dd689f3139_93895831.png imagette300394391767849094 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30039434 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30039448,30039449,30039450,30039451,30039452,30039453,30039454,30039455,30039456,30039457,30039458,30039459?tags=Carton_gris,mal_croppe,Carton_brun,Teint_Dans_La_Masse,papier,cartonnette,plastique,environnement,flou,metal,kraft,autre_refus your option no_mail is active, we will not send the real mail to your client args[1402900943] : ('0.028992247467064528',) no score found for photo 1402900943 We are sending mail with results at report@fotonower.com args[1402900916] : ('0.028992247467064528',) no score found for photo 1402900916 We are sending mail with results at report@fotonower.com args[1402900914] : ('0.028992247467064528',) no score found for photo 1402900914 We are sending mail with results at report@fotonower.com args[1402900913] : ('0.028992247467064528',) no score found for photo 1402900913 We are sending mail with results at report@fotonower.com args[1402900905] : ('0.028992247467064528',) no score found for photo 1402900905 We are sending mail with results at report@fotonower.com args[1402900903] : ('0.028992247467064528',) no score found for photo 1402900903 We are sending mail with results at report@fotonower.com args[1402900902] : ('0.028992247467064528',) no score found for photo 1402900902 We are sending mail with results at report@fotonower.com args[1402900901] : ('0.028992247467064528',) no score found for photo 1402900901 We are sending mail with results at report@fotonower.com args[1402900900] : ('0.028992247467064528',) no score found for photo 1402900900 We are sending mail with results at report@fotonower.com args[1402900891] : ('0.028992247467064528',) no score found for photo 1402900891 We are sending mail with results at report@fotonower.com args[1402900888] : ('0.028992247467064528',) no score found for photo 1402900888 We are sending mail with results at report@fotonower.com args[1402900885] : ('0.028992247467064528',) no score found for photo 1402900885 We are sending mail with results at report@fotonower.com args[1402900882] : ('0.028992247467064528',) no score found for photo 1402900882 We are sending mail with results at report@fotonower.com args[1402900881] : ('0.028992247467064528',) no score found for photo 1402900881 We are sending mail with results at report@fotonower.com args[1402900880] : ('0.028992247467064528',) no score found for photo 1402900880 We are sending mail with results at report@fotonower.com args[1402900870] : ('0.028992247467064528',) no score found for photo 1402900870 We are sending mail with results at report@fotonower.com args[1402900869] : ('0.028992247467064528',) no score found for photo 1402900869 We are sending mail with results at report@fotonower.com args[1402900868] : ('0.028992247467064528',) no score found for photo 1402900868 We are sending mail with results at report@fotonower.com args[1402900854] : ('0.028992247467064528',) no score found for photo 1402900854 We are sending mail with results at report@fotonower.com args[1402900853] : ('0.028992247467064528',) no score found for photo 1402900853 We are sending mail with results at report@fotonower.com args[1402900852] : ('0.028992247467064528',) no score found for photo 1402900852 We are sending mail with results at report@fotonower.com args[1402900851] : ('0.028992247467064528',) no score found for photo 1402900851 We are sending mail with results at report@fotonower.com args[1402900841] : ('0.028992247467064528',) no score found for photo 1402900841 We are sending mail with results at report@fotonower.com args[1402900839] : ('0.028992247467064528',) no score found for photo 1402900839 We are sending mail with results at report@fotonower.com args[1402900816] : ('0.028992247467064528',) no score found for photo 1402900816 We are sending mail with results at report@fotonower.com args[1402900809] : ('0.028992247467064528',) no score found for photo 1402900809 We are sending mail with results at report@fotonower.com args[1402900808] : ('0.028992247467064528',) no score found for photo 1402900808 We are sending mail with results at report@fotonower.com args[1402900630] : ('0.028992247467064528',) no score found for photo 1402900630 We are sending mail with results at report@fotonower.com args[1402900598] : ('0.028992247467064528',) no score found for photo 1402900598 We are sending mail with results at report@fotonower.com args[1402900078] : ('0.028992247467064528',) no score found for photo 1402900078 We are sending mail with results at report@fotonower.com args[1402900077] : ('0.028992247467064528',) no score found for photo 1402900077 We are sending mail with results at report@fotonower.com args[1402899285] : ('0.028992247467064528',) no score found for photo 1402899285 We are sending mail with results at report@fotonower.com args[1402898574] : ('0.028992247467064528',) no score found for photo 1402898574 We are sending mail with results at report@fotonower.com refus_total : 0.028992247467064528 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039434 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_P30039434_08-01-2026_06_11_30.pdf results_Auto_P30039434_08-01-2026_06_11_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_08-01-2026_06_11_30.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','30039434','results_Auto_P30039434_08-01-2026_06_11_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_08-01-2026_06_11_30.pdf','pdf','','0.33','0.028992247467064528') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30039434]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] map_info['map_portfolio_photo'] : {30039434: [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574]} final : False mtd_id 4302 list_pids : [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] 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, '4325429') ('4302', '30039434', '1402900943', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900916', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900914', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900913', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900905', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900903', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900902', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900901', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900900', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900891', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900888', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900885', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900882', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900881', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900880', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900870', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900869', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900868', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900854', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900853', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900852', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900851', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900841', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900839', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900816', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900809', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900808', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900630', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900598', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900078', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900077', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402899285', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402898574', None, None, None, None, None, '4325429') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '30039434', '1402900943', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900916', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900914', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900913', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900905', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900903', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900902', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900901', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900900', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900891', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900888', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900885', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900882', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900881', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900880', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900870', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900869', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900868', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900854', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900853', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900852', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900851', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900841', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900839', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900816', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900809', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900808', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900630', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900598', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900078', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900077', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402899285', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402898574', None, None, None, None, None, '4325429')] time used for this insertion : 0.01960158348083496 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.051813364028931 time spend to save output : 0.019959211349487305 total time spend for step 4 : 7.071772575378418 step5:split_time_score Thu Jan 8 06:11:36 2026 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 : ['30039434'] 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 : [('30039434',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30039434) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402900905: {'path': 'temp/1767849089_246401_1402900905_fdf1395571ef74a9369a7d60fdd1253a.jpg', 'extension': 'jpg'}, 1402900913: {'path': 'temp/1767849089_246401_1402900913_e93a2d3eedc33a26e687a84c23e46811.jpg', 'extension': 'jpg'}, 1402900914: {'path': 'temp/1767849089_246401_1402900914_33877e72648f1574d150d357154289ce.jpg', 'extension': 'jpg'}, 1402900916: {'path': 'temp/1767849089_246401_1402900916_d7d06e037a5063d74f69ea0f6e5cdd80.jpg', 'extension': 'jpg'}, 1402900943: {'path': 'temp/1767849089_246401_1402900943_701c01f6a6e55f4029833212b4c36657.jpg', 'extension': 'jpg'}, 1402900809: {'path': 'temp/1767849089_246401_1402900809_8556a125e20000110a873c14191b6423.jpg', 'extension': 'jpg'}, 1402900816: {'path': 'temp/1767849089_246401_1402900816_9c2bc00a9bbda10d148ef4b8d9524b7f.jpg', 'extension': 'jpg'}, 1402900839: {'path': 'temp/1767849089_246401_1402900839_76da5617da3a68cb28c28c75079814e3.jpg', 'extension': 'jpg'}, 1402900841: {'path': 'temp/1767849089_246401_1402900841_b6fb86861d7b09cf59bd14f7e8ea22cb.jpg', 'extension': 'jpg'}, 1402900851: {'path': 'temp/1767849089_246401_1402900851_9728dc2069cf6e391d7ed9d33bb5248d.jpg', 'extension': 'jpg'}, 1402900852: {'path': 'temp/1767849089_246401_1402900852_e0d68e73d5490d86771105edfc773247.jpg', 'extension': 'jpg'}, 1402900853: {'path': 'temp/1767849089_246401_1402900853_9703cc5874c0f6e0680c15149ff352b8.jpg', 'extension': 'jpg'}, 1402900854: {'path': 'temp/1767849089_246401_1402900854_ad75a6067454675fdb7435f4c1c9f1e3.jpg', 'extension': 'jpg'}, 1402900868: {'path': 'temp/1767849089_246401_1402900868_bb7175374bdafab983c8894cf0bcf47f.jpg', 'extension': 'jpg'}, 1402900869: {'path': 'temp/1767849089_246401_1402900869_379264329ed8236efae61b95cbb9d2ea.jpg', 'extension': 'jpg'}, 1402900870: {'path': 'temp/1767849089_246401_1402900870_ddc56d59576c5324a801c46105f13ee1.jpg', 'extension': 'jpg'}, 1402900880: {'path': 'temp/1767849089_246401_1402900880_5c62409e142a98c02f34983483c21f59.jpg', 'extension': 'jpg'}, 1402900881: {'path': 'temp/1767849089_246401_1402900881_45da27bd0c3eb573ba28754445d42381.jpg', 'extension': 'jpg'}, 1402900882: {'path': 'temp/1767849089_246401_1402900882_2bfe1c3ed5362baae4d97700224d64ec.jpg', 'extension': 'jpg'}, 1402900885: {'path': 'temp/1767849089_246401_1402900885_9e72a234cf64750ca89bcd012ba5e5bc.jpg', 'extension': 'jpg'}, 1402900888: {'path': 'temp/1767849089_246401_1402900888_580540ae88ab437649c733b60a89c477.jpg', 'extension': 'jpg'}, 1402900891: {'path': 'temp/1767849089_246401_1402900891_ad8b6afd0d4c07a62b4db524c2c7827e.jpg', 'extension': 'jpg'}, 1402900900: {'path': 'temp/1767849089_246401_1402900900_b86a5d4a64363d244ed201b78b1d01de.jpg', 'extension': 'jpg'}, 1402900901: {'path': 'temp/1767849089_246401_1402900901_143fd9f68675c1db6ad2f6aacfc6d3c5.jpg', 'extension': 'jpg'}, 1402900902: {'path': 'temp/1767849089_246401_1402900902_4259786d72bde91da823da3d36a19c30.jpg', 'extension': 'jpg'}, 1402900903: {'path': 'temp/1767849089_246401_1402900903_14c7a7778b0bf8e8161309eb040d0411.jpg', 'extension': 'jpg'}, 1402898574: {'path': 'temp/1767849089_246401_1402898574_ad1e3af19cc7f8e72a364fe479a16580.jpg', 'extension': 'jpg'}, 1402899285: {'path': 'temp/1767849089_246401_1402899285_cb88cc60908bf76b18e0dcf5e65c8902.jpg', 'extension': 'jpg'}, 1402900077: {'path': 'temp/1767849089_246401_1402900077_4f2f82b7b2fbad5dbf8f120693950d39.jpg', 'extension': 'jpg'}, 1402900078: {'path': 'temp/1767849089_246401_1402900078_8c619f4c5965e854364a57c133c6e21f.jpg', 'extension': 'jpg'}, 1402900598: {'path': 'temp/1767849089_246401_1402900598_350b744f344debeb3b8b58937578e954.jpg', 'extension': 'jpg'}, 1402900630: {'path': 'temp/1767849089_246401_1402900630_56a5e9a35415d468d392f93210ce5c2e.jpg', 'extension': 'jpg'}, 1402900808: {'path': 'temp/1767849089_246401_1402900808_70865edec813de263b21f0aea1f51b00.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 = 30039434; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 30039434 group by h (('01', 33),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30039434 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 (30039434) 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 (30039434) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08012026 30039434 Nombre de photos uploadées : 33 / 23040 (0%) 08012026 30039434 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 08012026 30039434 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1402898574, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/ad1e3af19cc7f8e72a364fe479a16580.jpg', 'username': None, 'uploaded_at': 1767832387, 'text': 'image_08012026_01_32_44_10140.jpg'}, {'photo_id': 1402899285, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/cb88cc60908bf76b18e0dcf5e65c8902.jpg', 'username': None, 'uploaded_at': 1767832507, 'text': 'image_08012026_01_34_33_009130m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402900078, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/8c619f4c5965e854364a57c133c6e21f.jpg', 'username': None, 'uploaded_at': 1767832567, 'text': 'image_08012026_01_34_43_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402900077, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/4f2f82b7b2fbad5dbf8f120693950d39.jpg', 'username': None, 'uploaded_at': 1767832567, 'text': 'image_08012026_01_35_24_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 9.5367431640625e-07 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015048980712890625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 30039434, '2026-01-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 = '2026-01-08' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2862001,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2563669681549072 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= 2862001 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30036903, 'dashboard_result_id': 19148592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036903_08-01-2026_06_10_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036923, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30037586, 'dashboard_result_id': 19148593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30037586_08-01-2026_06_10_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30037611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30037612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30037613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30037614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30037615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30037616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30037617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30037618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30037619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30037620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30037621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30037622, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30038001, 'dashboard_result_id': 19148594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038001_08-01-2026_06_10_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30038044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038053, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30038537, 'dashboard_result_id': 19148595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038537_08-01-2026_06_11_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30038541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038552, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30039434, 'dashboard_result_id': 19148596, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_08-01-2026_01_46_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039447, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30039737, 'dashboard_result_id': 19148597, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039737_08-01-2026_02_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039753, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30040160, 'dashboard_result_id': 19148598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040160_08-01-2026_02_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040186, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30040716, 'dashboard_result_id': 19148599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040716_08-01-2026_02_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040736, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30041273, 'dashboard_result_id': 19148600, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041273_08-01-2026_02_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041287, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30041712, 'dashboard_result_id': 19148601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041712_08-01-2026_04_00_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041727, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30042456, 'dashboard_result_id': 19148602, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042456_08-01-2026_04_09_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30042466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042468, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30042747, 'dashboard_result_id': 19148603, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042747_08-01-2026_04_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30042790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042801, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30043088, 'dashboard_result_id': 19148604, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043088_08-01-2026_04_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043104, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30043466, 'dashboard_result_id': 19148605, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043466_08-01-2026_05_04_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043484, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30044048, 'dashboard_result_id': 19148606, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044048_08-01-2026_05_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044061, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30044344, 'dashboard_result_id': 19148607, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044344_08-01-2026_05_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044356, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30044503, 'dashboard_result_id': 19148608, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044503_08-01-2026_05_49_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30044507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044518, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30044839, 'dashboard_result_id': 19148609, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044839_08-01-2026_06_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044854, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2869637, 'mtr_portfolio_id': 30045159, 'dashboard_result_id': 19148610, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045159_08-01-2026_06_10_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045175, '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 = 30036903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325425, 'mtr_portfolio_id': 30036903, 'created_at': datetime.datetime(2026, 1, 8, 6, 9, 58), 'result': '0.06871250728973884', 'result_long': None, 'result_double': None}] Qualite : 0.06871250728973884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30036903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036903_08-01-2026_06_10_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30036903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036903_08-01-2026_06_10_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036923, 'pht': 3726}}" where mtr_portfolio_id = 30036903 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30036903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148592, 0.06871250728973884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036903_08-01-2026_06_10_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30037586 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325426, 'mtr_portfolio_id': 30037586, 'created_at': datetime.datetime(2026, 1, 8, 6, 10, 28), 'result': '0.0539534013235237', 'result_long': None, 'result_double': None}] Qualite : 0.0539534013235237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30037586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30037586_08-01-2026_06_10_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30037586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30037586_08-01-2026_06_10_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30037611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30037612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30037613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30037614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30037615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30037616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30037617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30037618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30037619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30037620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30037621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30037622, 'pht': 3726}}" where mtr_portfolio_id = 30037586 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30037586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148593, 0.0539534013235237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30037586_08-01-2026_06_10_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30037611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30037612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30037613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30037614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30037615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30037616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30037617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30037618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30037619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30037620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30037621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30037622, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30038001 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325427, 'mtr_portfolio_id': 30038001, 'created_at': datetime.datetime(2026, 1, 8, 6, 10, 39), 'result': '0.07741325345557129', 'result_long': None, 'result_double': None}] Qualite : 0.07741325345557129 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30038001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038001_08-01-2026_06_10_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30038001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038001_08-01-2026_06_10_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30038044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038053, 'pht': 3726}}" where mtr_portfolio_id = 30038001 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30038001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148594, 0.07741325345557129, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038001_08-01-2026_06_10_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30038044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038053, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30038537 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325428, 'mtr_portfolio_id': 30038537, 'created_at': datetime.datetime(2026, 1, 8, 6, 11, 7), 'result': '0.05022671274871275', 'result_long': None, 'result_double': None}] Qualite : 0.05022671274871275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30038537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038537_08-01-2026_06_11_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30038537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038537_08-01-2026_06_11_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30038541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038552, 'pht': 3726}}" where mtr_portfolio_id = 30038537 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30038537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148595, 0.05022671274871275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038537_08-01-2026_06_11_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30038541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038552, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30039434 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325429, 'mtr_portfolio_id': 30039434, 'created_at': datetime.datetime(2026, 1, 8, 6, 11, 29), 'result': '0.028992247467064528', 'result_long': None, 'result_double': None}] Qualite : 0.028992247467064528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30039434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_08-01-2026_06_11_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30039434 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_08-01-2026_06_11_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039447, 'pht': 3726}}" where mtr_portfolio_id = 30039434 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30039434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148596, 0.028992247467064528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_08-01-2026_06_11_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039447, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30039737 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324615, 'mtr_portfolio_id': 30039737, 'created_at': datetime.datetime(2026, 1, 8, 2, 2, 58), 'result': '0.049958978557318186', 'result_long': None, 'result_double': None}] Qualite : 0.049958978557318186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30039737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039737_08-01-2026_02_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30039737 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039737_08-01-2026_02_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039753, 'pht': 3726}}" where mtr_portfolio_id = 30039737 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30039737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148597, 0.049958978557318186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039737_08-01-2026_02_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039753, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30040160 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324692, 'mtr_portfolio_id': 30040160, 'created_at': datetime.datetime(2026, 1, 8, 2, 17), 'result': '0.05257485398390898', 'result_long': None, 'result_double': None}] Qualite : 0.05257485398390898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30040160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040160_08-01-2026_02_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30040160 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040160_08-01-2026_02_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040186, 'pht': 3726}}" where mtr_portfolio_id = 30040160 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30040160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148598, 0.05257485398390898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040160_08-01-2026_02_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040186, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30040716 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324764, 'mtr_portfolio_id': 30040716, 'created_at': datetime.datetime(2026, 1, 8, 2, 33, 1), 'result': '0.04347539799233797', 'result_long': None, 'result_double': None}] Qualite : 0.04347539799233797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30040716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040716_08-01-2026_02_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30040716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040716_08-01-2026_02_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040736, 'pht': 3726}}" where mtr_portfolio_id = 30040716 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30040716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148599, 0.04347539799233797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040716_08-01-2026_02_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040736, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30041273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324848, 'mtr_portfolio_id': 30041273, 'created_at': datetime.datetime(2026, 1, 8, 2, 46, 59), 'result': '0.052758138685866054', 'result_long': None, 'result_double': None}] Qualite : 0.052758138685866054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30041273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041273_08-01-2026_02_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30041273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041273_08-01-2026_02_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041287, 'pht': 3726}}" where mtr_portfolio_id = 30041273 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30041273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148600, 0.052758138685866054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041273_08-01-2026_02_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041287, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30041712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324892, 'mtr_portfolio_id': 30041712, 'created_at': datetime.datetime(2026, 1, 8, 3, 59, 59), 'result': '0.044652971684297924', 'result_long': None, 'result_double': None}] Qualite : 0.044652971684297924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30041712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041712_08-01-2026_04_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30041712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041712_08-01-2026_04_00_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041727, 'pht': 3726}}" where mtr_portfolio_id = 30041712 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30041712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148601, 0.044652971684297924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041712_08-01-2026_04_00_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041727, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30042456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325057, 'mtr_portfolio_id': 30042456, 'created_at': datetime.datetime(2026, 1, 8, 4, 9), 'result': '0.11039378975255577', 'result_long': None, 'result_double': None}] Qualite : 0.11039378975255577 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30042456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042456_08-01-2026_04_09_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30042456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042456_08-01-2026_04_09_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30042466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042468, 'pht': 3726}}" where mtr_portfolio_id = 30042456 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30042456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148602, 0.11039378975255577, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042456_08-01-2026_04_09_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30042466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042468, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30042747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325085, 'mtr_portfolio_id': 30042747, 'created_at': datetime.datetime(2026, 1, 8, 4, 18, 58), 'result': '0.06425416531710561', 'result_long': None, 'result_double': None}] Qualite : 0.06425416531710561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30042747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042747_08-01-2026_04_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30042747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042747_08-01-2026_04_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30042790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042801, 'pht': 3726}}" where mtr_portfolio_id = 30042747 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30042747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148603, 0.06425416531710561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042747_08-01-2026_04_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30042790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30043088 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325125, 'mtr_portfolio_id': 30043088, 'created_at': datetime.datetime(2026, 1, 8, 4, 32, 59), 'result': '0.07464197499712852', 'result_long': None, 'result_double': None}] Qualite : 0.07464197499712852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30043088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043088_08-01-2026_04_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30043088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043088_08-01-2026_04_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043104, 'pht': 3726}}" where mtr_portfolio_id = 30043088 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30043088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148604, 0.07464197499712852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043088_08-01-2026_04_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043104, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30043466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325182, 'mtr_portfolio_id': 30043466, 'created_at': datetime.datetime(2026, 1, 8, 5, 4, 29), 'result': '0.05945594126580708', 'result_long': None, 'result_double': None}] Qualite : 0.05945594126580708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30043466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043466_08-01-2026_05_04_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30043466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043466_08-01-2026_05_04_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043484, 'pht': 3726}}" where mtr_portfolio_id = 30043466 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30043466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148605, 0.05945594126580708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043466_08-01-2026_05_04_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043484, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30044048 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325297, 'mtr_portfolio_id': 30044048, 'created_at': datetime.datetime(2026, 1, 8, 5, 16, 59), 'result': '0.037421917469652906', 'result_long': None, 'result_double': None}] Qualite : 0.037421917469652906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044048_08-01-2026_05_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044048_08-01-2026_05_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044061, 'pht': 3726}}" where mtr_portfolio_id = 30044048 and dashboard_run_id = 2869637 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30044048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148606, 0.037421917469652906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044048_08-01-2026_05_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30044344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325333, 'mtr_portfolio_id': 30044344, 'created_at': datetime.datetime(2026, 1, 8, 5, 32, 31), 'result': '0.048402969506882595', 'result_long': None, 'result_double': None}] Qualite : 0.048402969506882595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044344_08-01-2026_05_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044344_08-01-2026_05_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044356, 'pht': 3726}}" where mtr_portfolio_id = 30044344 and dashboard_run_id = 2869636 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30044344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148607, 0.048402969506882595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044344_08-01-2026_05_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044356, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30044503 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325487, 'mtr_portfolio_id': 30044503, 'created_at': datetime.datetime(2026, 1, 8, 5, 49, 32), 'result': '0.038969363583567486', 'result_long': None, 'result_double': None}] Qualite : 0.038969363583567486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044503 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044503_08-01-2026_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044503 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044503_08-01-2026_05_49_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30044507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044518, 'pht': 3726}}" where mtr_portfolio_id = 30044503 and dashboard_run_id = 2869636 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30044503 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148608, 0.038969363583567486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044503_08-01-2026_05_49_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30044507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044518, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30044839 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325546, 'mtr_portfolio_id': 30044839, 'created_at': datetime.datetime(2026, 1, 8, 6, 3, 29), 'result': '0.07575103042366196', 'result_long': None, 'result_double': None}] Qualite : 0.07575103042366196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044839_08-01-2026_06_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044839_08-01-2026_06_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044854, 'pht': 3726}}" where mtr_portfolio_id = 30044839 and dashboard_run_id = 2869636 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30044839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148609, 0.07575103042366196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044839_08-01-2026_06_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044854, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30045159 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325625, 'mtr_portfolio_id': 30045159, 'created_at': datetime.datetime(2026, 1, 8, 6, 10, 56), 'result': '0.06060491305193805', 'result_long': None, 'result_double': None}] Qualite : 0.06060491305193805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30045159 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045159_08-01-2026_06_10_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30045159 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045159_08-01-2026_06_10_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045175, 'pht': 3726}}" where mtr_portfolio_id = 30045159 and dashboard_run_id = 2869636 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30045159 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19148610, 0.06060491305193805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045159_08-01-2026_06_10_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045175, '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 (30036903,30037586,30038001,30038537,30039434,30039737,30040160,30040716,30041273,30041712,30042456,30042747,30043088,30043466,30044048,30044344,30044503,30044839,30045159) result : ((1402888984,), (1402888993,), (1402889225,), (1402889226,), (1402889227,), (1402889229,), (1402889231,), (1402889418,), (1402889430,), (1402889432,), (1402889433,), (1402889435,), (1402889438,), (1402889647,), (1402889680,), (1402889714,), (1402889745,), (1402889965,), (1402889996,), (1402890030,), (1402890065,), (1402890726,), (1402890831,), (1402890942,), (1402891041,), (1402891107,), (1402891311,), (1402891313,), (1402891315,), (1402891317,), (1402891589,), (1402891590,), (1402891592,), (1402891595,), (1402891598,), (1402891629,), (1402892139,), (1402892141,), (1402892404,), (1402892427,), (1402892459,), (1402892467,), (1402892477,), (1402892482,), (1402892489,), (1402892491,), (1402892494,), (1402892495,), (1402892499,), (1402892525,), (1402892526,), (1402892529,), (1402892533,), (1402892534,), (1402892548,), (1402892550,), (1402892552,), (1402892555,), (1402892557,), (1402892558,), (1402892571,), (1402892572,), (1402892573,), (1402892574,), (1402892583,), (1402892603,), (1402892622,), (1402892624,), (1402892638,), (1402892641,), (1402892646,), (1402892649,), (1402892651,), (1402892802,), (1402892775,), (1402892787,), (1402892789,), (1402892799,), (1402892818,), (1402892853,), (1402892887,), (1402892919,), (1402892955,), (1402892989,), (1402893129,), (1402893164,), (1402893195,), (1402893301,), (1402893303,), (1402893304,), (1402893306,), (1402893310,), (1402893332,), (1402893360,), (1402893362,), (1402893365,), (1402893377,), (1402893380,), (1402893716,), (1402893717,), (1402893720,), (1402893721,), (1402893724,), (1402893784,), (1402893818,), (1402893851,), (1402893888,), (1402893889,), (1402893890,), (1402893893,), (1402893895,), (1402893897,), (1402893931,), (1402893932,), (1402893933,), (1402893934,), (1402893936,), (1402893943,), (1402893944,), (1402893945,), (1402893946,), (1402893962,), (1402893963,), (1402893964,), (1402893965,), (1402893968,), (1402893970,), (1402893989,), (1402893990,), (1402893991,), (1402893992,), (1402894007,), (1402894009,), (1402894033,), (1402894035,), (1402894064,), (1402894065,), (1402894066,), (1402894067,), (1402894099,), (1402894101,), (1402894103,), (1402894200,), (1402894202,), (1402894261,), (1402894292,), (1402894192,), (1402894193,), (1402894195,), (1402894198,), (1402894331,), (1402894336,), (1402894337,), (1402894339,), (1402894342,), (1402894344,), (1402894389,), (1402894401,), (1402894402,), (1402894404,), (1402894407,), (1402894410,), (1402894423,), (1402894424,), (1402894425,), (1402894426,), (1402894427,), (1402894428,), (1402894430,), (1402894432,), (1402894443,), (1402894446,), (1402894449,), (1402894452,), (1402894455,), (1402894471,), (1402894473,), (1402894476,), (1402894481,), (1402894583,), (1402894635,), (1402894680,), (1402894723,), (1402894759,), (1402894796,), (1402895056,), (1402895087,), (1402895119,), (1402895152,), (1402895334,), (1402895335,), (1402895336,), (1402895652,), (1402895653,), (1402895655,), (1402895656,), (1402895686,), (1402895687,), (1402895688,), (1402895691,), (1402895811,), (1402895801,), (1402895804,), (1402895807,), (1402895854,), (1402895855,), (1402895856,), (1402895858,), (1402895869,), (1402895890,), (1402895923,), (1402895956,), (1402896029,), (1402896036,), (1402896040,), (1402896041,), (1402896044,), (1402896046,), (1402896057,), (1402896058,), (1402896060,), (1402896062,), (1402896077,), (1402896079,), (1402896097,), (1402896098,), (1402896281,), (1402896286,), (1402896298,), (1402896300,), (1402896303,), (1402896307,), (1402896310,), (1402896316,), (1402896317,), (1402896809,), (1402896856,), (1402899397,), (1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,), (1402900939,), (1402900940,), (1402900942,), (1402900951,), (1402900952,), (1402900953,), (1402900955,), (1402900982,), (1402900983,), (1402900984,), (1402900986,), (1402900989,), (1402900990,), (1402900996,), (1402901000,), (1402901002,), (1402901006,), (1402901029,), (1402901030,), (1402901031,), (1402901033,), (1402901041,), (1402901042,), (1402901043,), (1402901045,), (1402901061,), (1402901062,), (1402901064,), (1402901066,), (1402901069,), (1402901075,), (1402901076,), (1402901077,), (1402901079,), (1402901082,), (1402901084,), (1402901089,), (1402901096,), (1402901098,), (1402901100,), (1402901101,), (1402901104,), (1402901107,), (1402901117,), (1402901118,), (1402901120,), (1402901130,), (1402901131,), (1402901132,), (1402901134,), (1402901138,), (1402901140,), (1402901145,), (1402901146,), (1402901147,), (1402901149,), (1402901153,), (1402901164,), (1402901165,), (1402901166,), (1402901182,), (1402901186,), (1402901190,), (1402901194,), (1402901198,), (1402901200,), (1402901214,), (1402901206,), (1402901209,), (1402901212,), (1402901225,), (1402901226,), (1402901227,), (1402901229,), (1402901233,), (1402901236,), (1402901364,), (1402901462,), (1402901557,), (1402901653,), (1402901749,), (1402901773,), (1402901784,), (1402901829,), (1402901952,), (1402902009,), (1402902073,), (1402902254,), (1402902288,), (1402902322,), (1402902556,), (1402902557,), (1402902558,), (1402902560,), (1402902768,), (1402902799,), (1402902809,), (1402902822,), (1402902849,), (1402902852,), (1402902858,), (1402902860,), (1402902863,), (1402902864,), (1402902998,), (1402903033,), (1402903069,), (1402903494,), (1402903529,), (1402903562,), (1402903601,), (1402903634,), (1402903706,), (1402903708,), (1402903710,), (1402903824,), (1402903923,), (1402904035,), (1402904725,), (1402904726,), (1402904749,), (1402904861,), (1402904933,), (1402905233,), (1402905267,), (1402905301,), (1402905337,), (1402905377,), (1402905412,), (1402905568,), (1402905601,), (1402905634,), (1402905669,), (1402905812,), (1402905849,), (1402905883,), (1402905917,), (1402905955,), (1402906205,), (1402906225,), (1402906227,), (1402906228,), (1402906230,), (1402906231,), (1402906243,), (1402906245,), (1402906246,), (1402906248,), (1402906285,), (1402906650,), (1402906646,), (1402906647,), (1402906648,), (1402906828,), (1402906829,), (1402906831,), (1402906832,), (1402906834,), (1402906836,), (1402906846,), (1402906847,), (1402906848,), (1402906850,), (1402906852,), (1402906859,), (1402906860,), (1402906861,), (1402906862,), (1402906864,), (1402906865,), (1402906891,), (1402906892,), (1402906893,), (1402906895,), (1402906897,), (1402906905,), (1402906906,), (1402906907,), (1402906909,), (1402906912,), (1402906924,), (1402906925,), (1402906926,), (1402906928,), (1402906931,), (1402906937,), (1402906938,), (1402906939,), (1402906941,), (1402906943,), (1402906945,), (1402906948,), (1402906949,), (1402906950,), (1402906954,), (1402906955,), (1402907003,), (1402907004,), (1402907006,), (1402907008,), (1402907022,), (1402907023,), (1402907024,), (1402907026,), (1402907035,), (1402907037,), (1402907045,), (1402907046,), (1402907049,), (1402907050,), (1402907072,), (1402907073,), (1402907074,), (1402907076,), (1402907084,), (1402907085,), (1402907087,), (1402907088,), (1402907092,), (1402907113,), (1402907114,), (1402907116,), (1402907139,), (1402907136,), (1402907163,), (1402907164,), (1402907166,), (1402907167,), (1402907170,), (1402907171,), (1402907176,), (1402907177,), (1402907178,), (1402907180,), (1402907182,), (1402907184,), (1402907194,), (1402907211,), (1402907212,), (1402907246,), (1402907247,), (1402907248,), (1402907260,), (1402907276,), (1402907277,), (1402907279,), (1402907292,), (1402907293,), (1402907295,), (1402907296,), (1402907305,), (1402907306,), (1402907307,), (1402907319,), (1402907343,), (1402907344,), (1402907345,), (1402907347,), (1402907365,), (1402907401,), (1402907402,), (1402907403,), (1402907404,), (1402907406,), (1402907428,), (1402907429,), (1402907430,), (1402907431,), (1402907446,), (1402907447,), (1402907450,), (1402907451,), (1402907453,), (1402907455,), (1402907462,), (1402907461,), (1402907483,), (1402907484,), (1402907485,), (1402907486,), (1402907505,), (1402907506,), (1402907507,), (1402907509,), (1402907521,), (1402907523,), (1402907524,), (1402907526,), (1402907529,), (1402907553,), (1402907555,), (1402907556,), (1402907558,), (1402907568,), (1402907569,), (1402907570,), (1402907571,), (1402907593,), (1402907594,), (1402907595,), (1402907596,), (1402907599,), (1402907602,), (1402907611,), (1402907613,), (1402907614,), (1402907616,), (1402907618,), (1402907620,), (1402907631,), (1402907632,), (1402907633,), (1402907638,), (1402907642,), (1402907643,), (1402907645,), (1402907649,), (1402907651,), (1402907652,), (1402907657,), (1402907658,), (1402907659,), (1402907661,), (1402907664,), (1402907670,), (1402907671,), (1402907673,), (1402907675,), (1402907681,), (1402907684,), (1402907714,), (1402907715,), (1402907717,), (1402907725,), (1402907736,), (1402907739,), (1402907742,), (1402907745,), (1402907747,), (1402908489,), (1402908425,), (1402908488,), (1402908720,), (1402908806,), (1402908899,), (1402908918,), (1402909140,), (1402909182,), (1402909216,), (1402910280,), (1402910036,), (1402910102,), (1402910169,), (1402911055,), (1402911126,), (1402911165,), (1402911167,), (1402911395,), (1402911461,), (1402911516,), (1402911560,), (1402911598,), (1402911633,), (1402911800,), (1402911801,), (1402911820,), (1402911957,), (1402911976,), (1402911987,), (1402912004,), (1402912006,), (1402912016,), (1402912018,), (1402912021,), (1402912024,), (1402912056,), (1402912059,), (1402912062,), (1402912066,), (1402912070,), (1402912079,), (1402912082,), (1402912086,), (1402912091,), (1402912094,), (1402912097,), (1402912115,), (1402912117,), (1402912119,), (1402912121,), (1402912974,), (1402912976,), (1402913001,), (1402913390,), (1402913393,), (1402913396,), (1402913400,), (1402913405,), (1402913407,), (1402913419,), (1402913421,), (1402913440,), (1402913442,), (1402913443,), (1402913444,), (1402913445,), (1402913447,), (1402913480,), (1402913484,), (1402913486,), (1402913488,), (1402913503,), (1402913505,), (1402913508,), (1402913512,), (1402913524,), (1402913527,), (1402913551,), (1402913553,), (1402913556,), (1402913562,), (1402913564,), (1402913567,), (1402913569,), (1402913541,), (1402913543,), (1402913549,), (1402913576,), (1402913577,), (1402913579,), (1402913581,), (1402913584,), (1402913595,), (1402913596,), (1402913597,), (1402913599,), (1402913603,), (1402913606,), (1402913617,), (1402913618,), (1402913619,), (1402913621,), (1402913652,), (1402913653,), (1402913654,), (1402913656,), (1402913660,), (1402913663,), (1402913673,), (1402913674,), (1402913675,), (1402913697,), (1402913698,), (1402913699,), (1402913701,), (1402913704,), (1402913706,), (1402913717,), (1402913718,), (1402913719,), (1402913721,), (1402913723,), (1402913725,), (1402913745,), (1402913753,), (1402913759,), (1402913762,), (1402913764,), (1402913767,), (1402913769,), (1402913771,), (1402913773,), (1402913775,), (1402913793,), (1402913794,), (1402913795,), (1402913796,), (1402913799,), (1402913834,), (1402913836,), (1402913838,), (1402913888,), (1402913889,), (1402913928,), (1402913929,), (1402913931,), (1402913932,), (1402913936,), (1402913939,), (1402913951,), (1402913952,), (1402913953,), (1402913954,), (1402913957,), (1402913959,), (1402913985,), (1402913988,), (1402913990,), (1402914018,), (1402914008,), (1402914009,), (1402914010,), (1402914012,), (1402914016,), (1402914038,), (1402914039,), (1402914040,), (1402914041,), (1402914044,), (1402914048,), (1402914060,), (1402914061,), (1402914063,), (1402914067,), (1402914070,), (1402914076,), (1402914082,), (1402914084,), (1402914086,), (1402914088,), (1402914093,), (1402914097,), (1402914100,), (1402914103,), (1402914106,), (1402914110,), (1402914116,), (1402914117,), (1402914119,), (1402914121,), (1402914162,), (1402914171,), (1402914178,), (1402914195,), (1402914197,), (1402914198,), (1402914200,), (1402914202,), (1402914205,), (1402914218,), (1402914220,), (1402914227,), (1402914236,), (1402914241,), (1402914243,), (1402914254,), (1402914255,), (1402914256,), (1402914258,), (1402914288,), (1402914289,), (1402914290,), (1402914292,), (1402914296,), (1402914299,), (1402915971,), (1402915937,), (1402916305,), (1402916307,), (1402916309,), (1402916920,), (1402916922,), (1402916944,), (1402916946,), (1402916948,), (1402916949,), (1402916951,), (1402916961,), (1402916963,), (1402916964,), (1402916967,), (1402916970,), (1402916982,), (1402916984,), (1402916995,), (1402917007,), (1402917014,), (1402917044,), (1402917043,), (1402917105,), (1402917133,), (1402917134,), (1402917174,), (1402917175,), (1402917176,), (1402917177,), (1402917181,), (1402917194,), (1402917195,), (1402917197,), (1402917199,), (1402917201,), (1402917204,), (1402917219,), (1402917220,), (1402917221,), (1402917224,), (1402917239,), (1402917241,), (1402917245,), (1402917246,), (1402917249,), (1402917261,), (1402917277,), (1402917282,), (1402917284,), (1402917286,), (1402917298,), (1402917299,), (1402917302,), (1402917304,), (1402917306,), (1402917307,), (1402917315,), (1402917318,), (1402917319,), (1402917320,), (1402917323,), (1402917326,), (1402917329,), (1402917339,), (1402917340,), (1402917341,), (1402917343,), (1402917369,), (1402917370,), (1402917372,), (1402917373,), (1402917376,), (1402917385,), (1402917386,), (1402917387,), (1402917388,), (1402917390,), (1402917393,), (1402917428,), (1402917429,), (1402917430,), (1402917431,), (1402917441,), (1402917442,), (1402917443,), (1402917445,), (1402917449,), (1402917450,), (1402917476,), (1402917477,), (1402917479,), (1402917481,), (1402917484,), (1402917486,), (1402917489,), (1402917491,), (1402917494,), (1402917496,), (1402917519,), (1402917520,), (1402917522,), (1402917523,), (1402917527,), (1402917529,), (1402917536,), (1402917538,), (1402917542,), (1402917546,), (1402917550,), (1402917554,), (1402917559,), (1402917560,), (1402917561,), (1402917562,), (1402917563,), (1402917566,), (1402917569,), (1402917571,), (1402917574,), (1402917590,), (1402917591,), (1402917592,), (1402917593,), (1402917595,), (1402917632,), (1402917623,), (1402917626,), (1402917627,), (1402917628,), (1402917630,), (1402917648,), (1402917649,), (1402917651,), (1402917669,), (1402917671,), (1402917673,), (1402917675,), (1402917677,), (1402917679,), (1402917688,), (1402917690,), (1402917692,), (1402917694,), (1402917697,), (1402917698,), (1402917712,), (1402917717,), (1402917720,), (1402917723,), (1402917732,), (1402917734,), (1402917735,), (1402917738,), (1402917742,), (1402917744,), (1402917757,), (1402917758,), (1402917761,), (1402917762,), (1402917773,), (1402917801,), (1402917802,), (1402917803,), (1402917806,), (1402917809,), (1402917812,), (1402917822,), (1402917833,), (1402917834,), (1402917835,), (1402917836,), (1402917837,), (1402917840,), (1402917843,), (1402917846,), (1402917858,), (1402917859,), (1402917860,), (1402917873,), (1402917874,), (1402917877,), (1402917879,), (1402917882,), (1402917885,), (1402917891,), (1402917892,), (1402917893,), (1402917894,), (1402917907,), (1402917908,), (1402917910,), (1402917912,), (1402917914,), (1402918187,), (1402918260,), (1402918325,), (1402918390,), (1402918460,), (1402919450,), (1402919256,), (1402919323,), (1402919381,), (1402919414,), (1402920025,), (1402920074,), (1402920112,), (1402920146,), (1402920201,), (1402920266,), (1402920694,), (1402920697,), (1402920700,), (1402920760,), (1402920799,), (1402920805,), (1402920863,), (1402920867,), (1402920868,), (1402920869,), (1402920870,), (1402920871,), (1402920874,), (1402920876,), (1402920878,), (1402921109,), (1402921142,), (1402921177,), (1402921217,), (1402921253,), (1402921641,), (1402921675,), (1402921883,), (1402921898,), (1402921899,), (1402921916,), (1402921947,), (1402921950,), (1402921996,), (1402921997,), (1402921999,), (1402922000,), (1402922011,), (1402922019,), (1402922030,), (1402922033,), (1402922035,), (1402922038,), (1402922041,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08012026': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30039434]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] map_info['map_portfolio_photo'] : {30039434: [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574]} final : True mtd_id 4302 list_pids : [1402900943, 1402900916, 1402900914, 1402900913, 1402900905, 1402900903, 1402900902, 1402900901, 1402900900, 1402900891, 1402900888, 1402900885, 1402900882, 1402900881, 1402900880, 1402900870, 1402900869, 1402900868, 1402900854, 1402900853, 1402900852, 1402900851, 1402900841, 1402900839, 1402900816, 1402900809, 1402900808, 1402900630, 1402900598, 1402900078, 1402900077, 1402899285, 1402898574] Looping around the photos to save general results len do output : 1 /30039434Didn'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, '4325429') ('4302', '30039434', '1402900943', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900916', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900914', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900913', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900905', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900903', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900902', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900901', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900900', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900891', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900888', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900885', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900882', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900881', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900880', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900870', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900869', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900868', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900854', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900853', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900852', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900851', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900841', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900839', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900816', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900809', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900808', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900630', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900598', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900078', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402900077', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402899285', None, None, None, None, None, '4325429') ('4302', None, None, None, None, None, None, None, '4325429') ('4302', '30039434', '1402898574', None, None, None, None, None, '4325429') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '30039434', 'None', None, None, None, None, '4325429'), ('4302', '30039434', '1402900943', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900916', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900914', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900913', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900905', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900903', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900902', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900901', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900900', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900891', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900888', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900885', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900882', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900881', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900880', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900870', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900869', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900868', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900854', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900853', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900852', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900851', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900841', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900839', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900816', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900809', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900808', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900630', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900598', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900078', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402900077', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402899285', None, None, None, None, None, '4325429'), ('4302', '30039434', '1402898574', None, None, None, None, None, '4325429')] time used for this insertion : 0.019223451614379883 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8794548511505127 time spend to save output : 0.019576311111450195 total time spend for step 5 : 1.899031162261963 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 (4325429) 2.82user 2.11system 0:12.62elapsed 39%CPU (0avgtext+0avgdata 168444maxresident)k 0inputs+23640outputs (1major+83728minor)pagefaults 0swaps