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 : 976127 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 (3429300) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3429300) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597738 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3429300'] with mtr_portfolio_ids : ['25597738'] and first list_photo_ids : [] new path : /proc/976127/ Name: python3 Umask: 0002 State: R (running) Tgid: 976127 Ngid: 0 Pid: 976127 PPid: 976126 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 976127 NSpid: 976127 NSpgid: 975092 NSsid: 975092 VmPeak: 1106860 kB VmSize: 1106860 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98600 kB VmRSS: 98600 kB RssAnon: 59812 kB RssFile: 38788 kB RssShmem: 0 kB VmData: 865612 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 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: 45 nonvoluntary_ctxt_switches: 19 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '976127', 'Ngid': '0', 'Pid': '976127', 'PPid': '976126', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '976127', 'NSpid': '976127', 'NSpgid': '975092', 'NSsid': '975092', 'VmPeak': '1106860 kB', 'VmSize': '1106860 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98600 kB', 'VmRSS': '98600 kB', 'RssAnon': '59812 kB', 'RssFile': '38788 kB', 'RssShmem': '0 kB', 'VmData': '865612 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 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': '45', 'nonvoluntary_ctxt_switches': '19'} ('datou_batch_current', '976127', '1106860', '0', '1106860', '865612', '98600', b'', 'marlene', '3429300') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (25597738) 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 (3429300 ) ) 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 (25597738) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1374849316, 'portfolio_id': 25597738}, {'photo_id': 1374849292, 'portfolio_id': 25597738}, {'photo_id': 1374849291, 'portfolio_id': 25597738}, {'photo_id': 1374849290, 'portfolio_id': 25597738}, {'photo_id': 1374849285, 'portfolio_id': 25597738}, {'photo_id': 1374849282, 'portfolio_id': 25597738}, {'photo_id': 1374849257, 'portfolio_id': 25597738}, {'photo_id': 1374849254, 'portfolio_id': 25597738}, {'photo_id': 1374848451, 'portfolio_id': 25597738}, {'photo_id': 1374848411, 'portfolio_id': 25597738}, {'photo_id': 1374848390, 'portfolio_id': 25597738}, {'photo_id': 1374847986, 'portfolio_id': 25597738}, {'photo_id': 1374847899, 'portfolio_id': 25597738}, {'photo_id': 1374847896, 'portfolio_id': 25597738}, {'photo_id': 1374847889, 'portfolio_id': 25597738}, {'photo_id': 1374847887, 'portfolio_id': 25597738}, {'photo_id': 1374847860, 'portfolio_id': 25597738}, {'photo_id': 1374847858, 'portfolio_id': 25597738}, {'photo_id': 1374847857, 'portfolio_id': 25597738}, {'photo_id': 1374847856, 'portfolio_id': 25597738}, {'photo_id': 1374847565, 'portfolio_id': 25597738}, {'photo_id': 1374847053, 'portfolio_id': 25597738}, {'photo_id': 1374847052, 'portfolio_id': 25597738}, {'photo_id': 1374847049, 'portfolio_id': 25597738}, {'photo_id': 1374847027, 'portfolio_id': 25597738}, {'photo_id': 1374847025, 'portfolio_id': 25597738}, {'photo_id': 1374847023, 'portfolio_id': 25597738}, {'photo_id': 1374847006, 'portfolio_id': 25597738}, {'photo_id': 1374847003, 'portfolio_id': 25597738}, {'photo_id': 1374847001, 'portfolio_id': 25597738}, {'photo_id': 1374847000, 'portfolio_id': 25597738}] map_portfolio_id_photo_id: {25597738: [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000]} ##### 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.017943859100341797 #### 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 Sun Aug 3 05:35:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25597738) 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 : 25597738 get user id for portfolio 25597738 get sub ptf for main ptf 25597738, type 3726 and hashtags ['Teint_Dans_La_Masse', 'Carton_brun', 'flou', 'metal', 'environnement', 'cartonnette', 'mal_croppe', 'kraft', 'papier', 'plastique', 'autre_refus', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25597738 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','flou','metal','environnement','cartonnette','mal_croppe','kraft','papier','plastique','autre_refus','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25597738 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','flou','metal','environnement','cartonnette','mal_croppe','kraft','papier','plastique','autre_refus','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 25597738, 'sub_port_id': 25597746, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259465, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'Carton_brun': {'main_port_id': 25597738, 'sub_port_id': 25597747, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259466, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'autre_refus': {'main_port_id': 25597738, 'sub_port_id': 25597748, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259467, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'cartonnette': {'main_port_id': 25597738, 'sub_port_id': 25597749, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259468, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'kraft': {'main_port_id': 25597738, 'sub_port_id': 25597750, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259469, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'metal': {'main_port_id': 25597738, 'sub_port_id': 25597751, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259470, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'plastique': {'main_port_id': 25597738, 'sub_port_id': 25597752, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259471, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'environnement': {'main_port_id': 25597738, 'sub_port_id': 25597753, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259472, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'Carton_gris': {'main_port_id': 25597738, 'sub_port_id': 25597754, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259473, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'flou': {'main_port_id': 25597738, 'sub_port_id': 25597755, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259474, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'papier': {'main_port_id': 25597738, 'sub_port_id': 25597756, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259475, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'mal_croppe': {'main_port_id': 25597738, 'sub_port_id': 25597757, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259476, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25597746 , 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=25597738 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 (25597746) result : ((1374847559,), (1374849878,), (1374854259,), (1374854260,), (1374854470,), (1374854471,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597747 , 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=25597738 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 (25597747) result : ((1374847560,), (1374849894,), (1374850747,), (1374850748,), (1374854473,), (1374854474,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597748 , 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=25597738 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 (25597748) result : ((1374849884,), (1374849886,), (1374854261,), (1374854472,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597749 , 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=25597738 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 (25597749) result : ((1374850745,), (1374850746,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597750 , 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=25597738 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 (25597750) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597751 , 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=25597738 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 (25597751) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597752 , 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=25597738 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 (25597752) result : ((1374847561,), (1374847849,), (1374854475,), (1374854476,), (1374854477,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597753 , 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=25597738 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 (25597753) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597754 , 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=25597738 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 (25597754) result : ((1374847898,), (1374850743,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597755 , 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=25597738 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 (25597755) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597756 , 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=25597738 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 (25597756) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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 25597757 , 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=25597738 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 (25597757) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25597738) result : ((1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,)) 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 (1374847000) 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`=25597738 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','flou','metal','environnement','cartonnette','mal_croppe','kraft','papier','plastique','autre_refus','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25597738 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','flou','metal','environnement','cartonnette','mal_croppe','kraft','papier','plastique','autre_refus','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 25597738, 'sub_port_id': 25597758, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259477, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'Carton_brun': {'main_port_id': 25597738, 'sub_port_id': 25597759, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259478, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'autre_refus': {'main_port_id': 25597738, 'sub_port_id': 25597760, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259479, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'cartonnette': {'main_port_id': 25597738, 'sub_port_id': 25597761, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259480, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'kraft': {'main_port_id': 25597738, 'sub_port_id': 25597762, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259481, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'metal': {'main_port_id': 25597738, 'sub_port_id': 25597763, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259482, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'plastique': {'main_port_id': 25597738, 'sub_port_id': 25597764, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259483, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'environnement': {'main_port_id': 25597738, 'sub_port_id': 25597765, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259484, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'Carton_gris': {'main_port_id': 25597738, 'sub_port_id': 25597766, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259485, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'flou': {'main_port_id': 25597738, 'sub_port_id': 25597767, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259486, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'papier': {'main_port_id': 25597738, 'sub_port_id': 25597768, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259487, 'last_updated_at': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 1, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}, 'mal_croppe': {'main_port_id': 25597738, 'sub_port_id': 25597769, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17259488, 'last_updated_at': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 2, 5, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 2, 1, 49, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597758,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597746 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597759,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597747 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597760,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597748 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597761,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597749 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597762,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597750 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597763,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597751 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597764,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597752 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597765,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597753 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597766,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597754 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597767,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597755 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597768,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597756 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25597769,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25597757 lien utilise dans velours : https://www.fotonower.com/velours/25597758,25597759,25597760,25597761,25597762,25597763,25597764,25597765,25597766,25597767,25597768,25597769?tags=Teint_Dans_La_Masse,Carton_brun,autre_refus,cartonnette,kraft,metal,plastique,environnement,Carton_gris,flou,papier,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25597738]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] map_info['map_portfolio_photo'] : {25597738: [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000]} final : False mtd_id 4302 list_pids : [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] Looping around the photos to save general results len do output : 1 /25597738. 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, '3429300') ('4302', '25597738', '1374849316', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849292', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849291', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849290', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849285', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849282', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849257', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849254', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848451', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848411', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848390', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847986', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847899', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847896', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847889', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847887', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847860', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847858', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847857', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847856', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847565', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847053', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847052', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847049', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847027', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847025', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847023', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847006', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847003', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847001', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847000', None, None, None, None, None, '3429300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '25597738', "{'Teint_Dans_La_Masse': 25597746, 'Carton_brun': 25597747, 'autre_refus': 25597748, 'cartonnette': 25597749, 'kraft': 25597750, 'metal': 25597751, 'plastique': 25597752, 'environnement': 25597753, 'Carton_gris': 25597754, 'flou': 25597755, 'papier': 25597756, 'mal_croppe': 25597757}", None, None, None, None, '3429300'), ('4302', '25597738', '1374849316', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849292', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849291', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849290', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849285', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849282', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849257', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849254', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848451', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848411', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848390', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847986', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847899', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847896', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847889', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847887', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847860', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847858', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847857', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847856', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847565', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847053', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847052', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847049', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847027', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847025', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847023', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847006', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847003', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847001', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847000', None, None, None, None, None, '3429300')] time used for this insertion : 0.23054718971252441 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.42470836639404297 time spend to save output : 0.23096990585327148 total time spend for step 1 : 0.6556782722473145 step2:final Sun Aug 3 05:35:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25597738) 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 25597738 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1374847006,1374847003,1374847001,1374847000,1374847027,1374847025,1374847023,1374847053,1374847052,1374847565,1374847049,1374847860,1374847858,1374847857,1374847856,1374847889,1374847887,1374847899,1374847896,1374848451,1374847986,1374848411,1374848390,1374849285,1374849282,1374849257,1374849254,1374849292,1374849291,1374849290,1374849316); 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([25597738]) Inside saveOutput : final : False verbose : True original output for save of step final : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} new output for save of step final : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] map_info['map_portfolio_photo'] : {25597738: [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000]} final : False mtd_id 4302 list_pids : [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] Looping around the photos to save general results len do output : 31 /1374849316.Didn't retrieve data . /1374849292.Didn't retrieve data . /1374849291.Didn't retrieve data . /1374849290.Didn't retrieve data . /1374849285.Didn't retrieve data . /1374849282.Didn't retrieve data . /1374849257.Didn't retrieve data . /1374849254.Didn't retrieve data . /1374848451.Didn't retrieve data . /1374848411.Didn't retrieve data . /1374848390.Didn't retrieve data . /1374847986.Didn't retrieve data . /1374847899.Didn't retrieve data . /1374847896.Didn't retrieve data . /1374847889.Didn't retrieve data . /1374847887.Didn't retrieve data . /1374847860.Didn't retrieve data . /1374847858.Didn't retrieve data . /1374847857.Didn't retrieve data . /1374847856.Didn't retrieve data . /1374847565.Didn't retrieve data . /1374847053.Didn't retrieve data . /1374847052.Didn't retrieve data . /1374847049.Didn't retrieve data . /1374847027.Didn't retrieve data . /1374847025.Didn't retrieve data . /1374847023.Didn't retrieve data . /1374847006.Didn't retrieve data . /1374847003.Didn't retrieve data . /1374847001.Didn't retrieve data . /1374847000.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, '3429300') ('4302', '25597738', '1374849316', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849292', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849291', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849290', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849285', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849282', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849257', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849254', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848451', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848411', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848390', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847986', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847899', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847896', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847889', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847887', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847860', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847858', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847857', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847856', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847565', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847053', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847052', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847049', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847027', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847025', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847023', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847006', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847003', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847001', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847000', None, None, None, None, None, '3429300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 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', '25597738', '1374849316', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374849292', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374849291', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374849290', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374849285', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374849282', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374849257', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374849254', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374848451', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374848411', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374848390', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847986', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847899', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847896', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847889', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847887', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847860', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847858', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847857', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847856', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847565', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847053', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847052', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847049', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847027', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847025', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847023', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847006', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847003', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847001', '0.05868000319607446', None, None, None, None, '3429300'), ('4302', '25597738', '1374847000', '0.05868000319607446', None, None, None, None, '3429300')] time used for this insertion : 0.02465653419494629 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06301474571228027 time spend to save output : 0.025875091552734375 total time spend for step 2 : 0.08888983726501465 step3:velours_tree Sun Aug 3 05:35:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {25597738: [{'Teint_Dans_La_Masse': 25597746, 'Carton_brun': 25597747, 'autre_refus': 25597748, 'cartonnette': 25597749, 'kraft': 25597750, 'metal': 25597751, 'plastique': 25597752, 'environnement': 25597753, 'Carton_gris': 25597754, 'flou': 25597755, 'papier': 25597756, 'mal_croppe': 25597757}]} input_args_next_step : {25597738: ()} output_args : {25597738: [{'Teint_Dans_La_Masse': 25597746, 'Carton_brun': 25597747, 'autre_refus': 25597748, 'cartonnette': 25597749, 'kraft': 25597750, 'metal': 25597751, 'plastique': 25597752, 'environnement': 25597753, 'Carton_gris': 25597754, 'flou': 25597755, 'papier': 25597756, 'mal_croppe': 25597757}]} args : 25597738 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 25597746, 'Carton_brun': 25597747, 'autre_refus': 25597748, 'cartonnette': 25597749, 'kraft': 25597750, 'metal': 25597751, 'plastique': 25597752, 'environnement': 25597753, 'Carton_gris': 25597754, 'flou': 25597755, 'papier': 25597756, 'mal_croppe': 25597757},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25597738) 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([25597738]) 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.2664923667907715 time spend to save output : 4.9591064453125e-05 total time spend for step 3 : 0.2665419578552246 step4:send_mail_cod Sun Aug 3 05:35:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} input_args_next_step : {1374849316: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849316 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849292 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849291 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849290 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849285 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849282 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849257 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374849254 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374848451 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374848411 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374848390 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847986 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847899 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847896 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847889 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847887 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847860 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847858 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847857 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847856 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847565 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847053 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847052 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847049 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847027 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847025 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847023 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847006 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847003 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847001 depend.output_id : 0 input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ()} output_args : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',)} args : 1374847000 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 : {25597738: [{'Teint_Dans_La_Masse': 25597746, 'Carton_brun': 25597747, 'autre_refus': 25597748, 'cartonnette': 25597749, 'kraft': 25597750, 'metal': 25597751, 'plastique': 25597752, 'environnement': 25597753, 'Carton_gris': 25597754, 'flou': 25597755, 'papier': 25597756, 'mal_croppe': 25597757}]} input_args_next_step : {1374849316: ('0.05868000319607446',), 1374849292: ('0.05868000319607446',), 1374849291: ('0.05868000319607446',), 1374849290: ('0.05868000319607446',), 1374849285: ('0.05868000319607446',), 1374849282: ('0.05868000319607446',), 1374849257: ('0.05868000319607446',), 1374849254: ('0.05868000319607446',), 1374848451: ('0.05868000319607446',), 1374848411: ('0.05868000319607446',), 1374848390: ('0.05868000319607446',), 1374847986: ('0.05868000319607446',), 1374847899: ('0.05868000319607446',), 1374847896: ('0.05868000319607446',), 1374847889: ('0.05868000319607446',), 1374847887: ('0.05868000319607446',), 1374847860: ('0.05868000319607446',), 1374847858: ('0.05868000319607446',), 1374847857: ('0.05868000319607446',), 1374847856: ('0.05868000319607446',), 1374847565: ('0.05868000319607446',), 1374847053: ('0.05868000319607446',), 1374847052: ('0.05868000319607446',), 1374847049: ('0.05868000319607446',), 1374847027: ('0.05868000319607446',), 1374847025: ('0.05868000319607446',), 1374847023: ('0.05868000319607446',), 1374847006: ('0.05868000319607446',), 1374847003: ('0.05868000319607446',), 1374847001: ('0.05868000319607446',), 1374847000: ('0.05868000319607446',), 25597738: ()} output_args : {25597738: [{'Teint_Dans_La_Masse': 25597746, 'Carton_brun': 25597747, 'autre_refus': 25597748, 'cartonnette': 25597749, 'kraft': 25597750, 'metal': 25597751, 'plastique': 25597752, 'environnement': 25597753, 'Carton_gris': 25597754, 'flou': 25597755, 'papier': 25597756, 'mal_croppe': 25597757}]} args : 25597738 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 :32, first value : ('0.05868000319607446',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25597738) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1374849316,1374849292,1374849291,1374849290,1374849285,1374849282,1374849257,1374849254,1374848451,1374848411,1374848390,1374847986,1374847899,1374847896,1374847889,1374847887,1374847860,1374847858,1374847857,1374847856,1374847565,1374847053,1374847052,1374847049,1374847027,1374847025,1374847023,1374847006,1374847003,1374847001,1374847000) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1374847000 begin to download photo : 1374847049 begin to download photo : 1374847860 begin to download photo : 1374848411 begin to download photo : 1374849291 download finish for photo 1374847860 begin to download photo : 1374847887 download finish for photo 1374847049 begin to download photo : 1374847052 download finish for photo 1374849291 begin to download photo : 1374849292 download finish for photo 1374848411 begin to download photo : 1374848451 download finish for photo 1374847000 begin to download photo : 1374847001 download finish for photo 1374849292 begin to download photo : 1374849316 download finish for photo 1374848451 begin to download photo : 1374849254 download finish for photo 1374847887 begin to download photo : 1374847889 download finish for photo 1374847052 begin to download photo : 1374847053 download finish for photo 1374847001 begin to download photo : 1374847003 download finish for photo 1374849254 begin to download photo : 1374849257 download finish for photo 1374847003 begin to download photo : 1374847006 download finish for photo 1374847053 begin to download photo : 1374847565 download finish for photo 1374849316 download finish for photo 1374849257 begin to download photo : 1374849282 download finish for photo 1374847889 begin to download photo : 1374847896 download finish for photo 1374847006 begin to download photo : 1374847023 download finish for photo 1374847565 begin to download photo : 1374847856 download finish for photo 1374849282 begin to download photo : 1374849285 download finish for photo 1374847023 begin to download photo : 1374847025 download finish for photo 1374847896 begin to download photo : 1374847899 download finish for photo 1374847856 begin to download photo : 1374847857 download finish for photo 1374847899 begin to download photo : 1374847986 download finish for photo 1374847857 begin to download photo : 1374847858 download finish for photo 1374847025 begin to download photo : 1374847027 download finish for photo 1374847858 download finish for photo 1374847027 download finish for photo 1374847986 begin to download photo : 1374848390 download finish for photo 1374849285 begin to download photo : 1374849290 download finish for photo 1374848390 download finish for photo 1374849290 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P25597738_03-08-2025_05_35_59.pdf 25597748 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597748 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374849884: '1754093005_681396_1374849316_eae8d9065ca8471a7aed40ef64b67747_rle_crop_3901029602_0.png', 1374849886: '1754093005_681396_1374849290_0c6c720ef193bd813c6c38fcefeb88b0_rle_crop_3901029622_0.png', 1374854261: '1754095286_739265_1374847053_a1b3d4a68b1f0af5a5716269f03434cb_rle_crop_3901065481_0.png', 1374854472: '1754095526_744812_1374847003_7312bcc0bfd18e07869701d01da38671_rle_crop_3901066940_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/e8ff15667d0f4447d132f3724b685126_54492406.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/2a0eb9f9fbedda527a84fb0e7b67b879_41813504.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/ed31f186ce3daf92a71568c9a1ccc598_51903875.png change filename to text .imagette255977481754192159/ imagette255977481754192159/1754093005_681396_1374849290_0c6c720ef193bd813c6c38fcefeb88b0_rle_crop_3901029622_0.png.png imagette255977481754192159/1754093005_681396_1374849316_eae8d9065ca8471a7aed40ef64b67747_rle_crop_3901029602_0.png.png imagette255977481754192159/1754095286_739265_1374847053_a1b3d4a68b1f0af5a5716269f03434cb_rle_crop_3901065481_0.png.png imagette255977481754192159/1754095526_744812_1374847003_7312bcc0bfd18e07869701d01da38671_rle_crop_3901066940_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/fe32d13af5bcfc854c30e7f3e60b251b_39680623.png imagette255977481754192159 25597749 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597749 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374850745: '1754094687_721373_1374847899_6f0c9462ebab0da17c5b993c12fbc1c3_rle_crop_3901043144_0.png', 1374850746: '1754094687_721373_1374847887_24f93522ae3a47c9830574e0bad649f0_rle_crop_3901043156_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/f7e7ab7181c9d71fab6ff9225054467f_7090159.png change filename to text .imagette255977491754192160/ imagette255977491754192160/1754094687_721373_1374847899_6f0c9462ebab0da17c5b993c12fbc1c3_rle_crop_3901043144_0.png.png imagette255977491754192160/1754094687_721373_1374847887_24f93522ae3a47c9830574e0bad649f0_rle_crop_3901043156_0.png.png imagette255977501754192160/ imagette255977511754192160/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/d43ffa6e48982780c7abf80eb10be72b_71453977.png imagette255977491754192160 25597750 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597750 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255977501754192160 25597751 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597751 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255977511754192160 25597752 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597752 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374847561: '1754092167_640395_1374847049_3cdc205736249f0bd5e5a40cb0717491_rle_crop_3901007888_0.png', 1374847849: '1754092287_643275_1374847565_03ddae21d474ef06d1565ec9cf55fd92_rle_crop_3901008160_0.png', 1374854475: '1754095526_744812_1374847003_7312bcc0bfd18e07869701d01da38671_rle_crop_3901066937_0.png', 1374854476: '1754095526_744812_1374847001_8d196f28fcebe2f48f8beb201a82a018_rle_crop_3901066953_0.png', 1374854477: '1754095526_744812_1374847000_d961f5204ffbdd2c32db1faebaa9c335_rle_crop_3901067005_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/b7cd7eb01a261d9d91b089670fb6983f_77472051.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/4f0193b3f557882f7041bed32f31e08b_98012870.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/b643bb0377bac51dbff17a94782f070e_26245815.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/643c6dba6f43e4cda96c9868426d17f3_70208415.png change filename to text .imagette255977521754192160/ imagette255977521754192160/1754092287_643275_1374847565_03ddae21d474ef06d1565ec9cf55fd92_rle_crop_3901008160_0.png.png imagette255977521754192160/1754095526_744812_1374847000_d961f5204ffbdd2c32db1faebaa9c335_rle_crop_3901067005_0.png.png imagette255977521754192160/1754092167_640395_1374847049_3cdc205736249f0bd5e5a40cb0717491_rle_crop_3901007888_0.png.png imagette255977521754192160/1754095526_744812_1374847001_8d196f28fcebe2f48f8beb201a82a018_rle_crop_3901066953_0.png.png imagette255977521754192160/1754095526_744812_1374847003_7312bcc0bfd18e07869701d01da38671_rle_crop_3901066937_0.png.png imagette255977551754192161/ imagette255977571754192161/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/82e61b0ee7d95ec6a278014dc0524586_27154516.png imagette255977521754192160 25597755 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597755 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255977551754192161 25597757 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597757 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255977571754192161 25597746 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597746 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374847559: '1754092167_640395_1374847052_29f79326ced778c5cd72336c318a7f18_rle_crop_3901007873_0.png', 1374849878: '1754093005_681396_1374849316_eae8d9065ca8471a7aed40ef64b67747_rle_crop_3901029603_0.png', 1374854259: '1754095286_739265_1374847053_a1b3d4a68b1f0af5a5716269f03434cb_rle_crop_3901065484_0.png', 1374854260: '1754095286_739265_1374847023_6c290326f4b00418abceb6db53edb201_rle_crop_3901065510_0.png', 1374854470: '1754095526_744812_1374847027_6bcb4e249982b2faf521ae28c7469505_rle_crop_3901066922_0.png', 1374854471: '1754095526_744812_1374847000_d961f5204ffbdd2c32db1faebaa9c335_rle_crop_3901067007_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/daf6a2a4f13a9c1f97d64e29baff64ef_8508575.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/feea4622fb86266e9e4ec1030f877f2d_96126639.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/a54fcc59934a88e8a6a85b4fa1c9173b_91439342.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/49821f4bd97d49bed96629ecfe781b02_57486129.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/32a1fbd813d2081fd31414803b3f1587_41105143.png change filename to text .imagette255977461754192161/ imagette255977461754192161/1754093005_681396_1374849316_eae8d9065ca8471a7aed40ef64b67747_rle_crop_3901029603_0.png.png imagette255977461754192161/1754095286_739265_1374847023_6c290326f4b00418abceb6db53edb201_rle_crop_3901065510_0.png.png imagette255977461754192161/1754092167_640395_1374847052_29f79326ced778c5cd72336c318a7f18_rle_crop_3901007873_0.png.png imagette255977461754192161/1754095526_744812_1374847027_6bcb4e249982b2faf521ae28c7469505_rle_crop_3901066922_0.png.png imagette255977461754192161/1754095286_739265_1374847053_a1b3d4a68b1f0af5a5716269f03434cb_rle_crop_3901065484_0.png.png imagette255977461754192161/1754095526_744812_1374847000_d961f5204ffbdd2c32db1faebaa9c335_rle_crop_3901067007_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/b3ece0830897aa699fc3c2f1c49a16d5_38930025.png imagette255977461754192161 25597747 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597747 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374847560: '1754092167_640395_1374847052_29f79326ced778c5cd72336c318a7f18_rle_crop_3901007875_0.png', 1374849894: '1754093005_681396_1374849290_0c6c720ef193bd813c6c38fcefeb88b0_rle_crop_3901029617_0.png', 1374850747: '1754094687_721373_1374847899_6f0c9462ebab0da17c5b993c12fbc1c3_rle_crop_3901043141_0.png', 1374850748: '1754094687_721373_1374847887_24f93522ae3a47c9830574e0bad649f0_rle_crop_3901043160_0.png', 1374854473: '1754095526_744812_1374847027_6bcb4e249982b2faf521ae28c7469505_rle_crop_3901066925_0.png', 1374854474: '1754095526_744812_1374847001_8d196f28fcebe2f48f8beb201a82a018_rle_crop_3901066949_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/c47e94c7d7d286773a077fdfcb14679c_5543348.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/4dcd3cbe9368e131b7db9872b43e9a34_90360489.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/062466bc330b683e73adb660056c8d2c_33051240.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/b0ef32c6c6a5f0a93f1b651649931d3e_67981795.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/bc762f9d0064a01849c54ac9ba276f59_55037311.png change filename to text .imagette255977471754192161/ imagette255977471754192161/1754093005_681396_1374849290_0c6c720ef193bd813c6c38fcefeb88b0_rle_crop_3901029617_0.png.png imagette255977471754192161/1754095526_744812_1374847001_8d196f28fcebe2f48f8beb201a82a018_rle_crop_3901066949_0.png.png imagette255977471754192161/1754095526_744812_1374847027_6bcb4e249982b2faf521ae28c7469505_rle_crop_3901066925_0.png.png imagette255977471754192161/1754094687_721373_1374847887_24f93522ae3a47c9830574e0bad649f0_rle_crop_3901043160_0.png.png imagette255977471754192161/1754094687_721373_1374847899_6f0c9462ebab0da17c5b993c12fbc1c3_rle_crop_3901043141_0.png.png imagette255977471754192161/1754092167_640395_1374847052_29f79326ced778c5cd72336c318a7f18_rle_crop_3901007875_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/4e9c3fbb4ec471e85d6bc0cf8e5cb6e4_67692325.png imagette255977471754192161 25597754 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597754 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1374847898: '1754092416_646084_1374847857_2d1c4386a83543eb2b632687c4597de2_rle_crop_3901008307_0.png', 1374850743: '1754094687_721373_1374847887_24f93522ae3a47c9830574e0bad649f0_rle_crop_3901043158_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/84f7bf21c09efb331a0525f2d47633da_10885875.png change filename to text .imagette255977541754192162/ imagette255977541754192162/1754092416_646084_1374847857_2d1c4386a83543eb2b632687c4597de2_rle_crop_3901008307_0.png.png imagette255977541754192162/1754094687_721373_1374847887_24f93522ae3a47c9830574e0bad649f0_rle_crop_3901043158_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/1dbc22d84966700f7c2df55b319f57d9_45549622.png imagette255977541754192162 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25597738 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25597758,25597759,25597760,25597761,25597762,25597763,25597764,25597765,25597766,25597767,25597768,25597769?tags=Teint_Dans_La_Masse,Carton_brun,autre_refus,cartonnette,kraft,metal,plastique,environnement,Carton_gris,flou,papier,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1374849316] : ('0.05868000319607446',) no score found for photo 1374849316 We are sending mail with results at report@fotonower.com args[1374849292] : ('0.05868000319607446',) no score found for photo 1374849292 We are sending mail with results at report@fotonower.com args[1374849291] : ('0.05868000319607446',) no score found for photo 1374849291 We are sending mail with results at report@fotonower.com args[1374849290] : ('0.05868000319607446',) no score found for photo 1374849290 We are sending mail with results at report@fotonower.com args[1374849285] : ('0.05868000319607446',) no score found for photo 1374849285 We are sending mail with results at report@fotonower.com args[1374849282] : ('0.05868000319607446',) no score found for photo 1374849282 We are sending mail with results at report@fotonower.com args[1374849257] : ('0.05868000319607446',) no score found for photo 1374849257 We are sending mail with results at report@fotonower.com args[1374849254] : ('0.05868000319607446',) no score found for photo 1374849254 We are sending mail with results at report@fotonower.com args[1374848451] : ('0.05868000319607446',) no score found for photo 1374848451 We are sending mail with results at report@fotonower.com args[1374848411] : ('0.05868000319607446',) no score found for photo 1374848411 We are sending mail with results at report@fotonower.com args[1374848390] : ('0.05868000319607446',) no score found for photo 1374848390 We are sending mail with results at report@fotonower.com args[1374847986] : ('0.05868000319607446',) no score found for photo 1374847986 We are sending mail with results at report@fotonower.com args[1374847899] : ('0.05868000319607446',) no score found for photo 1374847899 We are sending mail with results at report@fotonower.com args[1374847896] : ('0.05868000319607446',) no score found for photo 1374847896 We are sending mail with results at report@fotonower.com args[1374847889] : ('0.05868000319607446',) no score found for photo 1374847889 We are sending mail with results at report@fotonower.com args[1374847887] : ('0.05868000319607446',) no score found for photo 1374847887 We are sending mail with results at report@fotonower.com args[1374847860] : ('0.05868000319607446',) no score found for photo 1374847860 We are sending mail with results at report@fotonower.com args[1374847858] : ('0.05868000319607446',) no score found for photo 1374847858 We are sending mail with results at report@fotonower.com args[1374847857] : ('0.05868000319607446',) no score found for photo 1374847857 We are sending mail with results at report@fotonower.com args[1374847856] : ('0.05868000319607446',) no score found for photo 1374847856 We are sending mail with results at report@fotonower.com args[1374847565] : ('0.05868000319607446',) no score found for photo 1374847565 We are sending mail with results at report@fotonower.com args[1374847053] : ('0.05868000319607446',) no score found for photo 1374847053 We are sending mail with results at report@fotonower.com args[1374847052] : ('0.05868000319607446',) no score found for photo 1374847052 We are sending mail with results at report@fotonower.com args[1374847049] : ('0.05868000319607446',) no score found for photo 1374847049 We are sending mail with results at report@fotonower.com args[1374847027] : ('0.05868000319607446',) no score found for photo 1374847027 We are sending mail with results at report@fotonower.com args[1374847025] : ('0.05868000319607446',) no score found for photo 1374847025 We are sending mail with results at report@fotonower.com args[1374847023] : ('0.05868000319607446',) no score found for photo 1374847023 We are sending mail with results at report@fotonower.com args[1374847006] : ('0.05868000319607446',) no score found for photo 1374847006 We are sending mail with results at report@fotonower.com args[1374847003] : ('0.05868000319607446',) no score found for photo 1374847003 We are sending mail with results at report@fotonower.com args[1374847001] : ('0.05868000319607446',) no score found for photo 1374847001 We are sending mail with results at report@fotonower.com args[1374847000] : ('0.05868000319607446',) no score found for photo 1374847000 We are sending mail with results at report@fotonower.com refus_total : 0.05868000319607446 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597738 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_P25597738_03-08-2025_05_35_59.pdf results_Auto_P25597738_03-08-2025_05_35_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597738_03-08-2025_05_35_59.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','25597738','results_Auto_P25597738_03-08-2025_05_35_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597738_03-08-2025_05_35_59.pdf','pdf','','0.29','0.05868000319607446') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25597738]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] map_info['map_portfolio_photo'] : {25597738: [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000]} final : False mtd_id 4302 list_pids : [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] 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, '3429300') ('4302', '25597738', '1374849316', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849292', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849291', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849290', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849285', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849282', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849257', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849254', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848451', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848411', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848390', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847986', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847899', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847896', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847889', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847887', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847860', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847858', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847857', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847856', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847565', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847053', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847052', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847049', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847027', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847025', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847023', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847006', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847003', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847001', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847000', None, None, None, None, None, '3429300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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', '25597738', '1374849316', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849292', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849291', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849290', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849285', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849282', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849257', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849254', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848451', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848411', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848390', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847986', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847899', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847896', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847889', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847887', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847860', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847858', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847857', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847856', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847565', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847053', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847052', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847049', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847027', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847025', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847023', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847006', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847003', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847001', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847000', None, None, None, None, None, '3429300')] time used for this insertion : 0.02065110206604004 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.677990436553955 time spend to save output : 0.02102375030517578 total time spend for step 4 : 5.699014186859131 step5:split_time_score Sun Aug 3 05:36:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['25597738'] 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 : [('25597738',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25597738) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1374849291: {'path': 'temp/1754192158_976127_1374849291_b2cc63a4c32642c02279bd63a93fad58.jpg', 'extension': 'jpg'}, 1374849292: {'path': 'temp/1754192158_976127_1374849292_5f2a15b79621199252326abc9ba1b8cf.jpg', 'extension': 'jpg'}, 1374849316: {'path': 'temp/1754192158_976127_1374849316_eae8d9065ca8471a7aed40ef64b67747.jpg', 'extension': 'jpg'}, 1374847049: {'path': 'temp/1754192158_976127_1374847049_3cdc205736249f0bd5e5a40cb0717491.jpg', 'extension': 'jpg'}, 1374847052: {'path': 'temp/1754192158_976127_1374847052_29f79326ced778c5cd72336c318a7f18.jpg', 'extension': 'jpg'}, 1374847053: {'path': 'temp/1754192158_976127_1374847053_a1b3d4a68b1f0af5a5716269f03434cb.jpg', 'extension': 'jpg'}, 1374847565: {'path': 'temp/1754192158_976127_1374847565_03ddae21d474ef06d1565ec9cf55fd92.jpg', 'extension': 'jpg'}, 1374847856: {'path': 'temp/1754192158_976127_1374847856_5506109df2e0afb829ea2e7413e7fe7c.jpg', 'extension': 'jpg'}, 1374847857: {'path': 'temp/1754192158_976127_1374847857_2d1c4386a83543eb2b632687c4597de2.jpg', 'extension': 'jpg'}, 1374847858: {'path': 'temp/1754192158_976127_1374847858_318e2046003e78642fa1aea40ba41df0.jpg', 'extension': 'jpg'}, 1374847000: {'path': 'temp/1754192158_976127_1374847000_d961f5204ffbdd2c32db1faebaa9c335.jpg', 'extension': 'jpg'}, 1374847001: {'path': 'temp/1754192158_976127_1374847001_8d196f28fcebe2f48f8beb201a82a018.jpg', 'extension': 'jpg'}, 1374847003: {'path': 'temp/1754192158_976127_1374847003_7312bcc0bfd18e07869701d01da38671.jpg', 'extension': 'jpg'}, 1374847006: {'path': 'temp/1754192158_976127_1374847006_47058b9a2d9c468fb0b86b3864a52b46.jpg', 'extension': 'jpg'}, 1374847023: {'path': 'temp/1754192158_976127_1374847023_6c290326f4b00418abceb6db53edb201.jpg', 'extension': 'jpg'}, 1374847025: {'path': 'temp/1754192158_976127_1374847025_09dea39fb606d4c29dec0321c82623ea.jpg', 'extension': 'jpg'}, 1374847027: {'path': 'temp/1754192158_976127_1374847027_6bcb4e249982b2faf521ae28c7469505.jpg', 'extension': 'jpg'}, 1374847860: {'path': 'temp/1754192158_976127_1374847860_934436d50fbec44b3e6ae0ff26954f0c.jpg', 'extension': 'jpg'}, 1374847887: {'path': 'temp/1754192158_976127_1374847887_24f93522ae3a47c9830574e0bad649f0.jpg', 'extension': 'jpg'}, 1374847889: {'path': 'temp/1754192158_976127_1374847889_b1306d1bbd79fd49d68fd39c894dc71b.jpg', 'extension': 'jpg'}, 1374847896: {'path': 'temp/1754192158_976127_1374847896_8af68f869602bdc0ce813c8ec1297250.jpg', 'extension': 'jpg'}, 1374847899: {'path': 'temp/1754192158_976127_1374847899_6f0c9462ebab0da17c5b993c12fbc1c3.jpg', 'extension': 'jpg'}, 1374847986: {'path': 'temp/1754192158_976127_1374847986_fc30884e5f548b64dc7c253f3d04235b.jpg', 'extension': 'jpg'}, 1374848390: {'path': 'temp/1754192158_976127_1374848390_7b762befc582caa2b60b360903d466ec.jpg', 'extension': 'jpg'}, 1374848411: {'path': 'temp/1754192158_976127_1374848411_67802c6fbac6ca40b472cba787a91840.jpg', 'extension': 'jpg'}, 1374848451: {'path': 'temp/1754192158_976127_1374848451_8c3072d7e97b91c3370bb9632d28f788.jpg', 'extension': 'jpg'}, 1374849254: {'path': 'temp/1754192158_976127_1374849254_3626d57b84d7b9f80e4f5b7dc34ad3d2.jpg', 'extension': 'jpg'}, 1374849257: {'path': 'temp/1754192158_976127_1374849257_5ee2599887463175370df8db93b5b4d0.jpg', 'extension': 'jpg'}, 1374849282: {'path': 'temp/1754192158_976127_1374849282_763a0c971377d333eff5c9d3266650b5.jpg', 'extension': 'jpg'}, 1374849285: {'path': 'temp/1754192158_976127_1374849285_c2a406c8651cccbffa030267df46b333.jpg', 'extension': 'jpg'}, 1374849290: {'path': 'temp/1754192158_976127_1374849290_0c6c720ef193bd813c6c38fcefeb88b0.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 = 25597738; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 25597738 group by h (('01', 31),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25597738 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 (25597738) 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 (25597738) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02082025 25597738 Nombre de photos uploadées : 31 / 23040 (0%) 02082025 25597738 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 02082025 25597738 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1374847006, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/47058b9a2d9c468fb0b86b3864a52b46.jpg', 'username': None, 'uploaded_at': 1754091972, 'text': 'image_02082025_01_45_04_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1374847003, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/7312bcc0bfd18e07869701d01da38671.jpg', 'username': None, 'uploaded_at': 1754091972, 'text': 'image_02082025_01_45_24_010134m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1374847001, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/8d196f28fcebe2f48f8beb201a82a018.jpg', 'username': None, 'uploaded_at': 1754091972, 'text': 'image_02082025_01_45_33_009130m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1374847000, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/2/d961f5204ffbdd2c32db1faebaa9c335.jpg', 'username': None, 'uploaded_at': 1754091972, 'text': 'image_02082025_01_45_44_010141m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014729499816894531 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25597738, '2025-08-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-02' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2049729,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20974946022033691 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= 2049729 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25595390, 'dashboard_result_id': 13525192, '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_P25595390_03-08-2025_05_34_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25595405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595409, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25595654, 'dashboard_result_id': 13525193, '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_P25595654_03-08-2025_05_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25595669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595670, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25596080, 'dashboard_result_id': 13525194, '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_P25596080_03-08-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25596101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25596102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25596103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25596104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25596105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25596106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25596107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25596108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25596109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25596110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25596111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25596112, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25596465, 'dashboard_result_id': 13525195, '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_P25596465_03-08-2025_05_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25596471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25596472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25596473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25596474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25596475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25596476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25596477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25596478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25596479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25596480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25596481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25596482, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25597427, 'dashboard_result_id': 13525196, '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_P25597427_03-08-2025_05_35_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25597436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25597437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25597438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25597439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25597440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25597441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25597442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25597443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25597444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25597445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25597446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25597447, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25597738, 'dashboard_result_id': 13525197, '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_P25597738_02-08-2025_05_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25597746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25597747, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25597748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25597749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25597750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25597751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25597752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25597753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25597754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25597755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25597756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25597757, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25597981, 'dashboard_result_id': 13525198, '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_P25597981_02-08-2025_05_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598013, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25598358, 'dashboard_result_id': 13525199, '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_P25598358_02-08-2025_05_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598402, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25598678, 'dashboard_result_id': 13525200, '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_P25598678_02-08-2025_05_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598696, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25598953, 'dashboard_result_id': 13525201, '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_P25598953_02-08-2025_05_50_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25598999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599010, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25599370, 'dashboard_result_id': 13525202, '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_P25599370_02-08-2025_05_50_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25599379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599390, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25599795, 'dashboard_result_id': 13525203, '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_P25599795_02-08-2025_05_51_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25599798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599807, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25600182, 'dashboard_result_id': 13525204, '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_P25600182_02-08-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25600191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25600192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25600193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25600194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25600195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25600196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25600197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25600198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25600199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25600200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25600201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25600202, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25600623, 'dashboard_result_id': 13525205, '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_P25600623_02-08-2025_05_51_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25600629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25600630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25600631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25600632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25600633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25600634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25600635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25600636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25600637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25600638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25600639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25600640, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25601116, 'dashboard_result_id': 13525206, '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_P25601116_02-08-2025_05_52_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25601127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25601128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25601129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25601130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25601131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25601132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25601133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25601134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25601135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25601136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25601137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25601138, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25601647, 'dashboard_result_id': 13525207, '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_P25601647_02-08-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25601701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25601702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25601703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25601705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25601706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25601707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25601709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25601710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25601711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25601713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25601714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25601715, 'pht': 3726}}"}, {'dashboat_entry_day': 2049729, 'dashboard_run_id': 2061779, 'mtr_portfolio_id': 25602214, 'dashboard_result_id': 13525208, '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_P25602214_02-08-2025_05_53_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25602233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25602234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25602235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25602236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25602237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25602238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25602239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25602240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25602241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25602242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25602243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25602244, '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 = 25595390 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': 3429295, 'mtr_portfolio_id': 25595390, 'created_at': datetime.datetime(2025, 8, 3, 5, 34, 31), 'result': '0.049613210936855605', 'result_long': None, 'result_double': None}] Qualite : 0.049613210936855605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25595390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25595390_03-08-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25595390 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_P25595390_03-08-2025_05_34_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25595405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595409, 'pht': 3726}}" where mtr_portfolio_id = 25595390 and dashboard_run_id = 2061779 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`=25595390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525192, 0.049613210936855605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25595390_03-08-2025_05_34_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25595405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595409, '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 = 25595654 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': 3429296, 'mtr_portfolio_id': 25595654, 'created_at': datetime.datetime(2025, 8, 3, 5, 34, 57), 'result': '0.05820282270822888', 'result_long': None, 'result_double': None}] Qualite : 0.05820282270822888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25595654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25595654_03-08-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25595654 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_P25595654_03-08-2025_05_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25595669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595670, 'pht': 3726}}" where mtr_portfolio_id = 25595654 and dashboard_run_id = 2061779 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`=25595654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525193, 0.05820282270822888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25595654_03-08-2025_05_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25595659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25595660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25595661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25595662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25595663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25595664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25595665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25595666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25595667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25595668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25595669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25595670, '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 = 25596080 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': 3429297, 'mtr_portfolio_id': 25596080, 'created_at': datetime.datetime(2025, 8, 3, 5, 35, 28), 'result': '0.04484997792604361', 'result_long': None, 'result_double': None}] Qualite : 0.04484997792604361 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25596080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25596080_03-08-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25596080 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_P25596080_03-08-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25596101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25596102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25596103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25596104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25596105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25596106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25596107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25596108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25596109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25596110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25596111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25596112, 'pht': 3726}}" where mtr_portfolio_id = 25596080 and dashboard_run_id = 2061779 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`=25596080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525194, 0.04484997792604361, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25596080_03-08-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25596101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25596102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25596103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25596104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25596105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25596106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25596107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25596108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25596109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25596110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25596111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25596112, '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 = 25596465 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': 3429298, 'mtr_portfolio_id': 25596465, 'created_at': datetime.datetime(2025, 8, 3, 5, 35, 29), 'result': '0.024629556190002705', 'result_long': None, 'result_double': None}] Qualite : 0.024629556190002705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25596465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25596465_03-08-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25596465 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_P25596465_03-08-2025_05_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25596471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25596472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25596473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25596474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25596475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25596476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25596477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25596478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25596479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25596480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25596481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25596482, 'pht': 3726}}" where mtr_portfolio_id = 25596465 and dashboard_run_id = 2061779 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`=25596465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525195, 0.024629556190002705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25596465_03-08-2025_05_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25596471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25596472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25596473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25596474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25596475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25596476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25596477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25596478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25596479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25596480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25596481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25596482, '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 = 25597427 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': 3429299, 'mtr_portfolio_id': 25597427, 'created_at': datetime.datetime(2025, 8, 3, 5, 35, 38), 'result': '0.06058828598540654', 'result_long': None, 'result_double': None}] Qualite : 0.06058828598540654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25597427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597427_03-08-2025_05_35_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25597427 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_P25597427_03-08-2025_05_35_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25597436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25597437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25597438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25597439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25597440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25597441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25597442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25597443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25597444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25597445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25597446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25597447, 'pht': 3726}}" where mtr_portfolio_id = 25597427 and dashboard_run_id = 2061779 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`=25597427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525196, 0.06058828598540654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597427_03-08-2025_05_35_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25597436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25597437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25597438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25597439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25597440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25597441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25597442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25597443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25597444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25597445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25597446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25597447, '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 = 25597738 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': 3429300, 'mtr_portfolio_id': 25597738, 'created_at': datetime.datetime(2025, 8, 3, 5, 35, 58), 'result': '0.05868000319607446', 'result_long': None, 'result_double': None}] Qualite : 0.05868000319607446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25597738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597738_03-08-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25597738 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_P25597738_03-08-2025_05_35_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25597746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25597747, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25597748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25597749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25597750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25597751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25597752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25597753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25597754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25597755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25597756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25597757, 'pht': 3726}}" where mtr_portfolio_id = 25597738 and dashboard_run_id = 2061779 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`=25597738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525197, 0.05868000319607446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597738_03-08-2025_05_35_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25597746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25597747, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25597748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25597749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25597750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25597751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25597752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25597753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25597754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25597755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25597756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25597757, '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 = 25597981 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': 3426774, 'mtr_portfolio_id': 25597981, 'created_at': datetime.datetime(2025, 8, 2, 5, 48, 59), 'result': '0.05289806792718663', 'result_long': None, 'result_double': None}] Qualite : 0.05289806792718663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25597981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597981_02-08-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25597981 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_P25597981_02-08-2025_05_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598013, 'pht': 3726}}" where mtr_portfolio_id = 25597981 and dashboard_run_id = 2061779 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`=25597981 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525198, 0.05289806792718663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25597981_02-08-2025_05_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598013, '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 = 25598358 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': 3426775, 'mtr_portfolio_id': 25598358, 'created_at': datetime.datetime(2025, 8, 2, 5, 49, 29), 'result': '0.04887431412492456', 'result_long': None, 'result_double': None}] Qualite : 0.04887431412492456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25598358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25598358_02-08-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25598358 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_P25598358_02-08-2025_05_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598402, 'pht': 3726}}" where mtr_portfolio_id = 25598358 and dashboard_run_id = 2061779 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`=25598358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525199, 0.04887431412492456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25598358_02-08-2025_05_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598402, '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 = 25598678 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': 3426776, 'mtr_portfolio_id': 25598678, 'created_at': datetime.datetime(2025, 8, 2, 5, 49, 30), 'result': '0.04229777288520932', 'result_long': None, 'result_double': None}] Qualite : 0.04229777288520932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25598678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25598678_02-08-2025_05_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25598678 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_P25598678_02-08-2025_05_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598696, 'pht': 3726}}" where mtr_portfolio_id = 25598678 and dashboard_run_id = 2061779 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`=25598678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525200, 0.04229777288520932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25598678_02-08-2025_05_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25598685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25598686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25598687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25598688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25598689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25598690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25598691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25598692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25598693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25598694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25598695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25598696, '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 = 25598953 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': 3426777, 'mtr_portfolio_id': 25598953, 'created_at': datetime.datetime(2025, 8, 2, 5, 49, 58), 'result': '0.04042187162164262', 'result_long': None, 'result_double': None}] Qualite : 0.04042187162164262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25598953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25598953_02-08-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25598953 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_P25598953_02-08-2025_05_50_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25598999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599010, 'pht': 3726}}" where mtr_portfolio_id = 25598953 and dashboard_run_id = 2061779 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`=25598953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525201, 0.04042187162164262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25598953_02-08-2025_05_50_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25598999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599010, '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 = 25599370 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': 3426778, 'mtr_portfolio_id': 25599370, 'created_at': datetime.datetime(2025, 8, 2, 5, 50, 29), 'result': '0.05355225837376743', 'result_long': None, 'result_double': None}] Qualite : 0.05355225837376743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25599370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25599370_02-08-2025_05_50_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25599370 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_P25599370_02-08-2025_05_50_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25599379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599390, 'pht': 3726}}" where mtr_portfolio_id = 25599370 and dashboard_run_id = 2061779 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`=25599370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525202, 0.05355225837376743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25599370_02-08-2025_05_50_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25599379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599390, '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 = 25599795 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': 3426779, 'mtr_portfolio_id': 25599795, 'created_at': datetime.datetime(2025, 8, 2, 5, 51, 4), 'result': '0.04188683190131255', 'result_long': None, 'result_double': None}] Qualite : 0.04188683190131255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25599795 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25599795_02-08-2025_05_51_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25599795 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_P25599795_02-08-2025_05_51_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25599798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599807, 'pht': 3726}}" where mtr_portfolio_id = 25599795 and dashboard_run_id = 2061779 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`=25599795 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525203, 0.04188683190131255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25599795_02-08-2025_05_51_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25599796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25599797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25599798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25599799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25599800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25599801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25599802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25599803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25599804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25599805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25599806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25599807, '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 = 25600182 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': 3426780, 'mtr_portfolio_id': 25600182, 'created_at': datetime.datetime(2025, 8, 2, 5, 51, 29), 'result': '0.04022819809435998', 'result_long': None, 'result_double': None}] Qualite : 0.04022819809435998 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25600182 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25600182_02-08-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25600182 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_P25600182_02-08-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25600191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25600192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25600193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25600194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25600195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25600196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25600197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25600198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25600199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25600200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25600201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25600202, 'pht': 3726}}" where mtr_portfolio_id = 25600182 and dashboard_run_id = 2061779 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`=25600182 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525204, 0.04022819809435998, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25600182_02-08-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25600191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25600192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25600193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25600194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25600195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25600196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25600197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25600198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25600199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25600200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25600201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25600202, '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 = 25600623 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': 3426781, 'mtr_portfolio_id': 25600623, 'created_at': datetime.datetime(2025, 8, 2, 5, 51, 29), 'result': '0.06057164555896706', 'result_long': None, 'result_double': None}] Qualite : 0.06057164555896706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25600623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25600623_02-08-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25600623 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_P25600623_02-08-2025_05_51_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25600629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25600630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25600631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25600632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25600633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25600634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25600635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25600636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25600637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25600638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25600639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25600640, 'pht': 3726}}" where mtr_portfolio_id = 25600623 and dashboard_run_id = 2061779 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`=25600623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525205, 0.06057164555896706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25600623_02-08-2025_05_51_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25600629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25600630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25600631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25600632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25600633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25600634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25600635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25600636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25600637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25600638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25600639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25600640, '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 = 25601116 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': 3426782, 'mtr_portfolio_id': 25601116, 'created_at': datetime.datetime(2025, 8, 2, 5, 52), 'result': '0.04711564496288318', 'result_long': None, 'result_double': None}] Qualite : 0.04711564496288318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25601116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25601116_02-08-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25601116 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_P25601116_02-08-2025_05_52_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25601127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25601128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25601129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25601130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25601131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25601132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25601133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25601134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25601135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25601136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25601137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25601138, 'pht': 3726}}" where mtr_portfolio_id = 25601116 and dashboard_run_id = 2061779 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`=25601116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525206, 0.04711564496288318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25601116_02-08-2025_05_52_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25601127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25601128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25601129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25601130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25601131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25601132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25601133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25601134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25601135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25601136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25601137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25601138, '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 = 25601647 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': 3426783, 'mtr_portfolio_id': 25601647, 'created_at': datetime.datetime(2025, 8, 2, 5, 52, 29), 'result': '0.04089070567521049', 'result_long': None, 'result_double': None}] Qualite : 0.04089070567521049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25601647 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25601647_02-08-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25601647 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_P25601647_02-08-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25601701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25601702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25601703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25601705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25601706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25601707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25601709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25601710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25601711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25601713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25601714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25601715, 'pht': 3726}}" where mtr_portfolio_id = 25601647 and dashboard_run_id = 2061779 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`=25601647 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525207, 0.04089070567521049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25601647_02-08-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25601701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25601702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25601703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25601705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25601706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25601707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25601709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25601710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25601711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25601713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25601714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25601715, '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 = 25602214 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': 3426784, 'mtr_portfolio_id': 25602214, 'created_at': datetime.datetime(2025, 8, 2, 5, 53), 'result': '0.06817020911933579', 'result_long': None, 'result_double': None}] Qualite : 0.06817020911933579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25602214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25602214_02-08-2025_05_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25602214 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_P25602214_02-08-2025_05_53_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25602233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25602234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25602235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25602236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25602237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25602238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25602239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25602240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25602241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25602242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25602243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25602244, 'pht': 3726}}" where mtr_portfolio_id = 25602214 and dashboard_run_id = 2061779 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`=25602214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13525208, 0.06817020911933579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25602214_02-08-2025_05_53_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25602233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25602234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25602235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25602236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25602237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25602238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25602239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25602240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25602241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25602242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25602243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25602244, '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 (25595390,25595654,25596080,25596465,25597427,25597738,25597981,25598358,25598678,25598953,25599370,25599795,25600182,25600623,25601116,25601647,25602214) result : ((1374836743,), (1374836744,), (1374836745,), (1374836750,), (1374836751,), (1374836752,), (1374836754,), (1374836756,), (1374836764,), (1374836765,), (1374836766,), (1374836767,), (1374836774,), (1374836775,), (1374836776,), (1374836777,), (1374836778,), (1374836781,), (1374836782,), (1374836783,), (1374836784,), (1374836786,), (1374836787,), (1374836795,), (1374836796,), (1374836798,), (1374836812,), (1374836813,), (1374836814,), (1374836816,), (1374836817,), (1374836820,), (1374836832,), (1374836833,), (1374836834,), (1374836835,), (1374836855,), (1374836906,), (1374836907,), (1374836908,), (1374836909,), (1374837060,), (1374837061,), (1374837075,), (1374837099,), (1374837110,), (1374837114,), (1374837159,), (1374837160,), (1374837164,), (1374837184,), (1374837209,), (1374837234,), (1374837303,), (1374837304,), (1374837305,), (1374837307,), (1374837318,), (1374837319,), (1374837320,), (1374837322,), (1374837324,), (1374837334,), (1374837335,), (1374837336,), (1374837337,), (1374837338,), (1374837340,), (1374837348,), (1374837350,), (1374837351,), (1374837352,), (1374837370,), (1374837368,), (1374837369,), (1374837388,), (1374837389,), (1374837390,), (1374837391,), (1374837394,), (1374837414,), (1374837416,), (1374837441,), (1374837463,), (1374837484,), (1374837751,), (1374837778,), (1374837802,), (1374837827,), (1374838017,), (1374838019,), (1374838020,), (1374838028,), (1374838034,), (1374838035,), (1374838036,), (1374838037,), (1374838040,), (1374838041,), (1374838042,), (1374838044,), (1374838248,), (1374838277,), (1374838300,), (1374838323,), (1374838971,), (1374839003,), (1374839030,), (1374839053,), (1374839099,), (1374839206,), (1374839247,), (1374839280,), (1374839302,), (1374839327,), (1374839502,), (1374839537,), (1374839588,), (1374839629,), (1374840397,), (1374840475,), (1374840536,), (1374840588,), (1374840631,), (1374840681,), (1374841103,), (1374841125,), (1374841148,), (1374841170,), (1374841183,), (1374841284,), (1374841327,), (1374841373,), (1374841418,), (1374841806,), (1374841807,), (1374841839,), (1374841889,), (1374841901,), (1374841907,), (1374841920,), (1374841922,), (1374841923,), (1374841924,), (1374841928,), (1374841929,), (1374841954,), (1374841952,), (1374841953,), (1374841984,), (1374841985,), (1374841986,), (1374841987,), (1374841989,), (1374841991,), (1374841995,), (1374841996,), (1374841997,), (1374842000,), (1374842003,), (1374842005,), (1374842015,), (1374842017,), (1374842019,), (1374842021,), (1374842022,), (1374842025,), (1374842028,), (1374842031,), (1374842034,), (1374842037,), (1374842038,), (1374842039,), (1374842040,), (1374842076,), (1374842099,), (1374842125,), (1374842434,), (1374842457,), (1374842683,), (1374842710,), (1374842735,), (1374842761,), (1374842942,), (1374842948,), (1374842949,), (1374842966,), (1374842967,), (1374842969,), (1374842970,), (1374842971,), (1374843009,), (1374843010,), (1374843011,), (1374843012,), (1374843014,), (1374843019,), (1374843027,), (1374843029,), (1374843031,), (1374843032,), (1374843040,), (1374843050,), (1374843051,), (1374843054,), (1374843063,), (1374843064,), (1374843065,), (1374843066,), (1374843083,), (1374843084,), (1374843085,), (1374843087,), (1374843089,), (1374843091,), (1374843099,), (1374843100,), (1374843101,), (1374843127,), (1374843122,), (1374843123,), (1374843124,), (1374843125,), (1374843137,), (1374843138,), (1374843139,), (1374843140,), (1374843142,), (1374843242,), (1374843269,), (1374843293,), (1374843502,), (1374843521,), (1374843532,), (1374843541,), (1374843542,), (1374843543,), (1374843559,), (1374843560,), (1374843561,), (1374843582,), (1374843583,), (1374843585,), (1374843586,), (1374843589,), (1374843603,), (1374843604,), (1374843605,), (1374843623,), (1374843625,), (1374843627,), (1374843629,), (1374843630,), (1374843634,), (1374843635,), (1374843636,), (1374843637,), (1374843641,), (1374843642,), (1374843643,), (1374843644,), (1374843646,), (1374843655,), (1374843656,), (1374843687,), (1374843688,), (1374843689,), (1374843690,), (1374843693,), (1374843714,), (1374843947,), (1374843948,), (1374843949,), (1374843956,), (1374843977,), (1374844001,), (1374844636,), (1374844675,), (1374844724,), (1374845663,), (1374846659,), (1374846661,), (1374846663,), (1374846687,), (1374846688,), (1374846689,), (1374846690,), (1374846692,), (1374846693,), (1374846704,), (1374846705,), (1374846706,), (1374846738,), (1374846741,), (1374846744,), (1374846747,), (1374846749,), (1374846760,), (1374846762,), (1374846763,), (1374846764,), (1374846766,), (1374846767,), (1374846786,), (1374846788,), (1374846789,), (1374846791,), (1374846794,), (1374846807,), (1374846808,), (1374846810,), (1374846829,), (1374846833,), (1374846838,), (1374846843,), (1374846845,), (1374846846,), (1374846859,), (1374846860,), (1374846861,), (1374846863,), (1374846973,), (1374846975,), (1374847008,), (1374847000,), (1374847001,), (1374847003,), (1374847006,), (1374847023,), (1374847025,), (1374847027,), (1374847049,), (1374847052,), (1374847053,), (1374847565,), (1374847856,), (1374847857,), (1374847858,), (1374847860,), (1374847887,), (1374847889,), (1374847896,), (1374847899,), (1374847986,), (1374848390,), (1374848411,), (1374848451,), (1374849254,), (1374849257,), (1374849282,), (1374849285,), (1374849290,), (1374849291,), (1374849292,), (1374849316,), (1374849306,), (1374849308,), (1374849309,), (1374849310,), (1374849439,), (1374849463,), (1374849487,), (1374849511,), (1374849534,), (1374849561,), (1374849778,), (1374849780,), (1374849782,), (1374849784,), (1374849787,), (1374849955,), (1374849977,), (1374849993,), (1374850002,), (1374850010,), (1374850013,), (1374850019,), (1374850021,), (1374850023,), (1374850025,), (1374850026,), (1374850057,), (1374850059,), (1374850061,), (1374850063,), (1374850068,), (1374850080,), (1374850082,), (1374850083,), (1374850084,), (1374850086,), (1374850106,), (1374850107,), (1374850108,), (1374850126,), (1374850127,), (1374850128,), (1374850130,), (1374850131,), (1374850134,), (1374850147,), (1374850150,), (1374850152,), (1374850154,), (1374850156,), (1374850159,), (1374850173,), (1374850175,), (1374850176,), (1374850179,), (1374850181,), (1374850197,), (1374850198,), (1374850199,), (1374850201,), (1374850204,), (1374850207,), (1374850219,), (1374850221,), (1374850224,), (1374850228,), (1374850231,), (1374850234,), (1374850249,), (1374850251,), (1374850270,), (1374850273,), (1374850274,), (1374850275,), (1374850315,), (1374850307,), (1374850312,), (1374850313,), (1374850333,), (1374850340,), (1374850350,), (1374850365,), (1374850369,), (1374850373,), (1374850383,), (1374850411,), (1374850412,), (1374850413,), (1374850414,), (1374850441,), (1374850442,), (1374850444,), (1374850447,), (1374850450,), (1374850454,), (1374850467,), (1374850469,), (1374850471,), (1374850473,), (1374850474,), (1374850492,), (1374850495,), (1374850501,), (1374850506,), (1374850510,), (1374850524,), (1374850525,), (1374850526,), (1374850588,), (1374850590,), (1374850591,), (1374850592,), (1374850610,), (1374850611,), (1374850612,), (1374850613,), (1374850642,), (1374850643,), (1374850644,), (1374850646,), (1374850662,), (1374850665,), (1374850666,), (1374850668,), (1374850694,), (1374850696,), (1374850724,), (1374850714,), (1374850715,), (1374850718,), (1374850721,), (1374850751,), (1374850753,), (1374850755,), (1374850758,), (1374850760,), (1374850775,), (1374850777,), (1374850797,), (1374850822,), (1374850848,), (1374851225,), (1374851402,), (1374851447,), (1374851470,), (1374851500,), (1374851523,), (1374852166,), (1374852200,), (1374852227,), (1374852262,), (1374852312,), (1374852359,), (1374852511,), (1374852561,), (1374852594,), (1374852622,), (1374852666,), (1374852759,), (1374852783,), (1374852791,), (1374852799,), (1374852801,), (1374852825,), (1374852849,), (1374852872,), (1374852896,), (1374853097,), (1374853121,), (1374853148,), (1374853196,), (1374853240,), (1374853527,), (1374853552,), (1374853578,), (1374853603,), (1374853626,), (1374853914,), (1374853946,), (1374853949,), (1374853950,), (1374853953,), (1374853955,), (1374853993,), (1374854017,), (1374854042,), (1374854065,), (1374854090,), (1374854115,), (1374854297,), (1374854322,), (1374854406,), (1374854407,), (1374854408,), (1374854409,), (1374854410,), (1374854433,), (1374854434,), (1374854436,), (1374854438,), (1374854440,), (1374854442,), (1374854446,), (1374854447,), (1374854448,), (1374854452,), (1374854455,), (1374854456,), (1374854466,), (1374854486,), (1374854478,), (1374854482,), (1374854483,), (1374854484,), (1374854492,), (1374854494,), (1374854497,), (1374854501,), (1374854503,), (1374854508,), (1374854511,), (1374854514,), (1374854517,), (1374854552,), (1374854579,), (1374854602,), (1374854626,), (1374854652,), (1374854905,), (1374854906,), (1374854907,), (1374854908,), (1374854910,), (1374854911,), (1374854921,), (1374854923,), (1374854975,), (1374854999,), (1374855021,), (1374855047,), (1374855256,), (1374855307,), (1374855308,), (1374855310,), (1374855377,), (1374855378,), (1374855379,), (1374855380,), (1374855381,), (1374855393,), (1374855395,), (1374855397,), (1374855399,), (1374855400,), (1374855405,), (1374855407,), (1374855409,), (1374855411,), (1374855413,), (1374855415,), (1374855419,), (1374855422,), (1374855423,), (1374855424,), (1374855455,), (1374855487,), (1374855530,), (1374855582,), (1374855623,), (1374855670,), (1374856181,), (1374856183,), (1374856213,), (1374856260,), (1374856289,), (1374856406,), (1374856410,), (1374856413,), (1374856417,), (1374856418,), (1374856419,), (1374856421,), (1374856424,), (1374856436,), (1374856428,), (1374856432,), (1374856434,), (1374856451,), (1374856452,), (1374856453,), (1374856455,), (1374856456,), (1374856458,), (1374856469,), (1374856470,), (1374856471,), (1374857326,), (1374857340,), (1374857342,), (1374857344,), (1374857346,), (1374857348,), (1374857353,), (1374857354,), (1374857355,), (1374857357,), (1374857361,), (1374857384,), (1374857402,), (1374857401,), (1374857421,), (1374857423,), (1374857425,), (1374857426,), (1374857428,), (1374857581,), (1374857605,), (1374857627,), (1374857653,), (1374857821,), (1374857825,), (1374857826,), (1374857827,), (1374857829,), (1374857844,), (1374857845,), (1374857846,), (1374857848,), (1374857864,), (1374857866,), (1374857869,), (1374857896,), (1374857897,), (1374857898,), (1374857899,), (1374857902,), (1374857919,), (1374857920,), (1374857921,), (1374857922,), (1374857924,), (1374857926,), (1374857949,), (1374857950,), (1374857967,), (1374857988,), (1374857990,), (1374857992,), (1374857993,), (1374857995,), (1374858010,), (1374858011,), (1374858012,), (1374858014,), (1374858016,), (1374858031,), (1374858034,), (1374858036,), (1374858044,), (1374858070,), (1374858071,), (1374858072,), (1374858073,), (1374858093,), (1374858101,), (1374858105,), (1374858106,), (1374858107,), (1374858160,), (1374858146,), (1374858148,), (1374858149,), (1374858152,), (1374858156,), (1374858179,), (1374858182,), (1374858184,), (1374858186,), (1374858201,), (1374858203,), (1374858204,), (1374858206,), (1374858235,), (1374858237,), (1374858238,), (1374858239,), (1374858242,), (1374858244,), (1374858246,), (1374858248,), (1374858250,), (1374858251,), (1374858272,), (1374858274,), (1374858275,), (1374858277,), (1374858301,), (1374858303,), (1374858304,), (1374858385,), (1374858386,), (1374858387,), (1374858390,), (1374858394,), (1374858397,), (1374858408,), (1374858410,), (1374858412,), (1374858414,), (1374858416,), (1374858441,), (1374858448,), (1374858451,), (1374858453,), (1374858490,), (1374858492,), (1374858494,), (1374858495,), (1374858498,), (1374858511,), (1374858512,), (1374858513,), (1374858515,), (1374858517,), (1374858519,), (1374858561,), (1374858570,), (1374858573,), (1374858578,), (1374858604,), (1374858663,), (1374858696,), (1374858697,), (1374858699,), (1374858700,), (1374858738,), (1374858739,), (1374858740,), (1374858742,), (1374858745,), (1374858748,), (1374858762,), (1374858760,), (1374858790,), (1374858792,), (1374858795,), (1374858796,), (1374858817,), (1374858827,), (1374858855,), (1374858856,), (1374858857,), (1374858859,), (1374858862,), (1374858871,), (1374858873,), (1374858875,), (1374858877,), (1374858905,), (1374858907,), (1374858908,), (1374858909,), (1374858940,), (1374858942,), (1374858945,), (1374858949,), (1374858952,), (1374858955,), (1374858960,), (1374858967,), (1374858969,), (1374858971,), (1374858973,), (1374858976,), (1374858978,), (1374858993,), (1374858995,), (1374858996,), (1374858997,), (1374859010,), (1374859012,), (1374859013,), (1374859035,), (1374859037,), (1374859039,), (1374859061,), (1374859064,), (1374859065,), (1374859069,), (1374859071,), (1374859122,), (1374859123,), (1374859187,), (1374859189,), (1374859191,), (1374859498,), (1374859543,), (1374859584,), (1374859625,), (1374859667,), (1374859814,), (1374859815,), (1374859857,), (1374859862,), (1374859910,), (1374859911,), (1374859957,), (1374859962,), (1374860038,), (1374860436,), (1374860462,), (1374860464,), (1374860466,), (1374860542,), (1374860545,), (1374860567,), (1374860866,), (1374860869,), (1374860872,), (1374860874,), (1374860882,), (1374860885,), (1374860888,), (1374860891,), (1374860895,), (1374860915,), (1374860919,), (1374860958,), (1374860960,), (1374860962,), (1374860995,), (1374860997,), (1374860999,), (1374861002,), (1374861115,), (1374861140,), (1374861161,), (1374861186,), (1374861210,), (1374861231,), (1374861349,), (1374861350,), (1374861363,), (1374861443,), (1374861445,), (1374861483,), (1374861485,), (1374861486,), (1374861487,), (1374861488,), (1374861508,), (1374861509,), (1374861510,), (1374861511,), (1374861518,), (1374861781,), (1374861870,), (1374861895,), (1374861919,), (1374861956,), (1374862082,), (1374862110,), (1374862332,), (1374862324,), (1374862330,), (1374862331,), (1374862359,), (1374862362,), (1374862365,), (1374862368,), (1374862412,), (1374862436,), (1374862439,), (1374862481,), (1374862483,), (1374862486,), (1374862542,), (1374862545,), (1374862548,), (1374862550,), (1374862556,), (1374862559,), (1374862562,), (1374862564,), (1374862567,), (1374862571,), (1374862590,), (1374862594,), (1374862596,), (1374862599,), (1374862603,), (1374862624,), (1374862625,), (1374862627,), (1374862628,), (1374862650,), (1374862652,), (1374862653,), (1374862655,), (1374862657,), (1374862659,), (1374862675,), (1374862678,), (1374862680,), (1374862682,), (1374862684,), (1374862686,), (1374862704,), (1374862707,), (1374862708,), (1374862709,), (1374862711,), (1374862739,), (1374862741,), (1374862742,), (1374862743,), (1374862783,), (1374862784,), (1374862786,), (1374862788,), (1374862790,), (1374862808,), (1374862811,), (1374862815,), (1374862817,), (1374862845,), (1374862848,), (1374862851,), (1374862878,), (1374862876,), (1374862903,), (1374862905,), (1374862907,), (1374862910,), (1374862939,), (1374862940,), (1374862941,), (1374862943,), (1374862947,), (1374862971,), (1374862972,), (1374862973,), (1374862976,), (1374863002,), (1374863003,), (1374863004,), (1374863006,), (1374863009,), (1374863034,), (1374863035,), (1374863036,), (1374863038,), (1374863041,), (1374863044,), (1374863062,), (1374863063,), (1374863064,), (1374863066,), (1374863069,), (1374863093,), (1374863094,), (1374863095,), (1374863097,), (1374863128,), (1374863129,), (1374863130,), (1374863131,), (1374863133,), (1374863136,), (1374863157,), (1374863158,), (1374863159,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02082025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25597738]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] map_info['map_portfolio_photo'] : {25597738: [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000]} final : True mtd_id 4302 list_pids : [1374849316, 1374849292, 1374849291, 1374849290, 1374849285, 1374849282, 1374849257, 1374849254, 1374848451, 1374848411, 1374848390, 1374847986, 1374847899, 1374847896, 1374847889, 1374847887, 1374847860, 1374847858, 1374847857, 1374847856, 1374847565, 1374847053, 1374847052, 1374847049, 1374847027, 1374847025, 1374847023, 1374847006, 1374847003, 1374847001, 1374847000] Looping around the photos to save general results len do output : 1 /25597738Didn'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, '3429300') ('4302', '25597738', '1374849316', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849292', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849291', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849290', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849285', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849282', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849257', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374849254', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848451', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848411', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374848390', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847986', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847899', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847896', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847889', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847887', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847860', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847858', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847857', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847856', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847565', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847053', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847052', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847049', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847027', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847025', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847023', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847006', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847003', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847001', None, None, None, None, None, '3429300') ('4302', None, None, None, None, None, None, None, '3429300') ('4302', '25597738', '1374847000', None, None, None, None, None, '3429300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '25597738', 'None', None, None, None, None, '3429300'), ('4302', '25597738', '1374849316', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849292', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849291', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849290', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849285', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849282', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849257', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374849254', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848451', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848411', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374848390', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847986', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847899', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847896', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847889', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847887', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847860', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847858', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847857', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847856', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847565', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847053', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847052', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847049', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847027', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847025', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847023', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847006', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847003', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847001', None, None, None, None, None, '3429300'), ('4302', '25597738', '1374847000', None, None, None, None, None, '3429300')] time used for this insertion : 0.3068842887878418 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.684933423995972 time spend to save output : 0.30722594261169434 total time spend for step 5 : 6.992159366607666 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 (3429300) 2.66user 2.39system 0:16.76elapsed 30%CPU (0avgtext+0avgdata 161192maxresident)k 536inputs+19288outputs (2major+75111minor)pagefaults 0swaps