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 : 3746185 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 (2751235) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2751235) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285051 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2751235'] with mtr_portfolio_ids : ['22285051'] and first list_photo_ids : [] new path : /proc/3746185/ Name: python3 Umask: 0002 State: R (running) Tgid: 3746185 Ngid: 0 Pid: 3746185 PPid: 3746184 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3746185 NSpid: 3746185 NSpgid: 3742681 NSsid: 3742681 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98548 kB VmRSS: 98548 kB RssAnon: 59772 kB RssFile: 38776 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 47 nonvoluntary_ctxt_switches: 166 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3746185', 'Ngid': '0', 'Pid': '3746185', 'PPid': '3746184', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3746185', 'NSpid': '3746185', 'NSpgid': '3742681', 'NSsid': '3742681', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98548 kB', 'VmRSS': '98548 kB', 'RssAnon': '59772 kB', 'RssFile': '38776 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '47', 'nonvoluntary_ctxt_switches': '166'} ('datou_batch_current', '3746185', '1106936', '0', '1106936', '865684', '98548', b'', 'marlene', '2751235') 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 (22285051) 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 (2751235 ) ) 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 (22285051) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1352529489, 'portfolio_id': 22285051}, {'photo_id': 1352529448, 'portfolio_id': 22285051}, {'photo_id': 1352529446, 'portfolio_id': 22285051}, {'photo_id': 1352529442, 'portfolio_id': 22285051}, {'photo_id': 1352529439, 'portfolio_id': 22285051}, {'photo_id': 1352529434, 'portfolio_id': 22285051}, {'photo_id': 1352529431, 'portfolio_id': 22285051}, {'photo_id': 1352529407, 'portfolio_id': 22285051}, {'photo_id': 1352529405, 'portfolio_id': 22285051}, {'photo_id': 1352529120, 'portfolio_id': 22285051}, {'photo_id': 1352529117, 'portfolio_id': 22285051}, {'photo_id': 1352529115, 'portfolio_id': 22285051}, {'photo_id': 1352529113, 'portfolio_id': 22285051}, {'photo_id': 1352529111, 'portfolio_id': 22285051}, {'photo_id': 1352529092, 'portfolio_id': 22285051}, {'photo_id': 1352529090, 'portfolio_id': 22285051}, {'photo_id': 1352529088, 'portfolio_id': 22285051}, {'photo_id': 1352529086, 'portfolio_id': 22285051}, {'photo_id': 1352529067, 'portfolio_id': 22285051}, {'photo_id': 1352529064, 'portfolio_id': 22285051}, {'photo_id': 1352529062, 'portfolio_id': 22285051}, {'photo_id': 1352529060, 'portfolio_id': 22285051}, {'photo_id': 1352529058, 'portfolio_id': 22285051}, {'photo_id': 1352529056, 'portfolio_id': 22285051}, {'photo_id': 1352529025, 'portfolio_id': 22285051}, {'photo_id': 1352529023, 'portfolio_id': 22285051}, {'photo_id': 1352529021, 'portfolio_id': 22285051}, {'photo_id': 1352528988, 'portfolio_id': 22285051}, {'photo_id': 1352528986, 'portfolio_id': 22285051}, {'photo_id': 1352528984, 'portfolio_id': 22285051}, {'photo_id': 1352528982, 'portfolio_id': 22285051}, {'photo_id': 1352528980, 'portfolio_id': 22285051}, {'photo_id': 1352528959, 'portfolio_id': 22285051}, {'photo_id': 1352528956, 'portfolio_id': 22285051}, {'photo_id': 1352528954, 'portfolio_id': 22285051}, {'photo_id': 1352528950, 'portfolio_id': 22285051}, {'photo_id': 1352527149, 'portfolio_id': 22285051}] map_portfolio_id_photo_id: {22285051: [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149]} ##### 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.01653289794921875 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Apr 23 05:36: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22285051) 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 : 22285051 get user id for portfolio 22285051 get sub ptf for main ptf 22285051, type 3726 and hashtags ['mal_croppe', 'plastique', 'cartonnette', 'metal', 'autre_refus', 'Teint_Dans_La_Masse', 'environnement', 'Carton_brun', 'papier', 'Carton_gris', 'kraft', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22285051 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','cartonnette','metal','autre_refus','Teint_Dans_La_Masse','environnement','Carton_brun','papier','Carton_gris','kraft','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22285051 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','cartonnette','metal','autre_refus','Teint_Dans_La_Masse','environnement','Carton_brun','papier','Carton_gris','kraft','flou')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 22285051, 'sub_port_id': 22285052, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748823, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22285051, 'sub_port_id': 22285053, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748824, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'cartonnette': {'main_port_id': 22285051, 'sub_port_id': 22285054, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748825, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'environnement': {'main_port_id': 22285051, 'sub_port_id': 22285055, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748826, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'papier': {'main_port_id': 22285051, 'sub_port_id': 22285056, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748827, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'plastique': {'main_port_id': 22285051, 'sub_port_id': 22285057, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748828, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'Carton_brun': {'main_port_id': 22285051, 'sub_port_id': 22285058, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748829, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'autre_refus': {'main_port_id': 22285051, 'sub_port_id': 22285059, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748830, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'flou': {'main_port_id': 22285051, 'sub_port_id': 22285060, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748831, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'Carton_gris': {'main_port_id': 22285051, 'sub_port_id': 22285061, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748832, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'metal': {'main_port_id': 22285051, 'sub_port_id': 22285062, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748833, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}, 'kraft': {'main_port_id': 22285051, 'sub_port_id': 22285063, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748834, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285052 , 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=22285051 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 (22285052) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285053 , 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=22285051 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 (22285053) result : ((1352529005,), (1352529006,), (1352529459,), (1352529478,), (1352529571,), (1352529572,), (1352529638,), (1352529808,), (1352532748,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285054 , 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=22285051 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 (22285054) result : ((1352529003,), (1352529009,), (1352529482,), (1352529578,), (1352529642,), (1352529643,), (1352529814,), (1352529815,), (1352532753,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285055 , 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=22285051 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 (22285055) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285056 , 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=22285051 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 (22285056) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285057 , 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=22285051 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 (22285057) result : ((1352529012,), (1352529013,), (1352529460,), (1352529461,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285058 , 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=22285051 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 (22285058) result : ((1352529007,), (1352529010,), (1352529011,), (1352529817,), (1352529818,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285059 , 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=22285051 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 (22285059) result : ((1352529573,), (1352529574,), (1352529575,), (1352529809,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285060 , 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=22285051 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 (22285060) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285061 , 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=22285051 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 (22285061) result : ((1352529479,), (1352529480,), (1352529481,), (1352529577,), (1352529639,), (1352529640,), (1352529811,), (1352529812,), (1352529813,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285062 , 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=22285051 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 (22285062) result : ((1352529606,), (1352529644,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22285063 , 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=22285051 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 (22285063) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22285051) result : ((1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22285051 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','cartonnette','metal','autre_refus','Teint_Dans_La_Masse','environnement','Carton_brun','papier','Carton_gris','kraft','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22285051 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','plastique','cartonnette','metal','autre_refus','Teint_Dans_La_Masse','environnement','Carton_brun','papier','Carton_gris','kraft','flou')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 22285051, 'sub_port_id': 22285064, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748835, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22285051, 'sub_port_id': 22285065, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748836, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'cartonnette': {'main_port_id': 22285051, 'sub_port_id': 22285066, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748837, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'environnement': {'main_port_id': 22285051, 'sub_port_id': 22285067, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748838, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'papier': {'main_port_id': 22285051, 'sub_port_id': 22285068, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748839, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'plastique': {'main_port_id': 22285051, 'sub_port_id': 22285069, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748840, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'Carton_brun': {'main_port_id': 22285051, 'sub_port_id': 22285070, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748841, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'autre_refus': {'main_port_id': 22285051, 'sub_port_id': 22285071, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748842, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'flou': {'main_port_id': 22285051, 'sub_port_id': 22285072, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748843, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'Carton_gris': {'main_port_id': 22285051, 'sub_port_id': 22285073, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748844, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'metal': {'main_port_id': 22285051, 'sub_port_id': 22285074, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748845, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}, 'kraft': {'main_port_id': 22285051, 'sub_port_id': 22285075, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14748846, 'last_updated_at': datetime.datetime(2025, 4, 22, 6, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 6, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 6, 10, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285064,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285052 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285065,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285066,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285067,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285055 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285068,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285056 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285069,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285057 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285070,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285058 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285071,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285059 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285072,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285060 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285073,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285061 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285074,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285062 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22285075,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22285063 lien utilise dans velours : https://www.fotonower.com/velours/22285064,22285065,22285066,22285067,22285068,22285069,22285070,22285071,22285072,22285073,22285074,22285075?tags=mal_croppe,Teint_Dans_La_Masse,cartonnette,environnement,papier,plastique,Carton_brun,autre_refus,flou,Carton_gris,metal,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22285051]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] map_info['map_portfolio_photo'] : {22285051: [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149]} final : False mtd_id 4302 list_pids : [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] Looping around the photos to save general results len do output : 1 /22285051. 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, '2751235') ('4302', '22285051', '1352529489', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529448', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529446', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529442', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529439', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529434', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529431', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529407', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529405', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529120', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529117', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529115', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529113', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529111', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529092', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529090', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529088', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529086', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529067', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529064', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529062', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529060', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529058', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529056', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529025', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529023', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529021', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528988', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528986', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528984', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528982', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528980', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528959', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528956', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528954', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528950', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352527149', None, None, None, None, None, '2751235') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22285051', "{'mal_croppe': 22285052, 'Teint_Dans_La_Masse': 22285053, 'cartonnette': 22285054, 'environnement': 22285055, 'papier': 22285056, 'plastique': 22285057, 'Carton_brun': 22285058, 'autre_refus': 22285059, 'flou': 22285060, 'Carton_gris': 22285061, 'metal': 22285062, 'kraft': 22285063}", None, None, None, None, '2751235'), ('4302', '22285051', '1352529489', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529448', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529446', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529442', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529439', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529434', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529431', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529407', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529405', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529120', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529117', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529115', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529113', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529111', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529092', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529090', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529088', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529086', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529067', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529064', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529062', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529060', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529058', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529056', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529025', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529023', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529021', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528988', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528986', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528984', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528982', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528980', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528959', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528956', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528954', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528950', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352527149', None, None, None, None, None, '2751235')] time used for this insertion : 0.019516944885253906 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5263721942901611 time spend to save output : 0.02008962631225586 total time spend for step 1 : 1.546461820602417 step2:final Wed Apr 23 05:37:00 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 (22285051) 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 22285051 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1352527149,1352528959,1352528956,1352528954,1352528950,1352528988,1352528986,1352528984,1352528982,1352528980,1352529025,1352529023,1352529021,1352529067,1352529064,1352529062,1352529060,1352529058,1352529056,1352529092,1352529090,1352529088,1352529086,1352529120,1352529117,1352529115,1352529113,1352529111,1352529407,1352529405,1352529448,1352529446,1352529442,1352529439,1352529434,1352529431,1352529489); 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([22285051]) Inside saveOutput : final : False verbose : True original output for save of step final : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} new output for save of step final : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] map_info['map_portfolio_photo'] : {22285051: [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149]} final : False mtd_id 4302 list_pids : [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] Looping around the photos to save general results len do output : 37 /1352529489.Didn't retrieve data . /1352529448.Didn't retrieve data . /1352529446.Didn't retrieve data . /1352529442.Didn't retrieve data . /1352529439.Didn't retrieve data . /1352529434.Didn't retrieve data . /1352529431.Didn't retrieve data . /1352529407.Didn't retrieve data . /1352529405.Didn't retrieve data . /1352529120.Didn't retrieve data . /1352529117.Didn't retrieve data . /1352529115.Didn't retrieve data . /1352529113.Didn't retrieve data . /1352529111.Didn't retrieve data . /1352529092.Didn't retrieve data . /1352529090.Didn't retrieve data . /1352529088.Didn't retrieve data . /1352529086.Didn't retrieve data . /1352529067.Didn't retrieve data . /1352529064.Didn't retrieve data . /1352529062.Didn't retrieve data . /1352529060.Didn't retrieve data . /1352529058.Didn't retrieve data . /1352529056.Didn't retrieve data . /1352529025.Didn't retrieve data . /1352529023.Didn't retrieve data . /1352529021.Didn't retrieve data . /1352528988.Didn't retrieve data . /1352528986.Didn't retrieve data . /1352528984.Didn't retrieve data . /1352528982.Didn't retrieve data . /1352528980.Didn't retrieve data . /1352528959.Didn't retrieve data . /1352528956.Didn't retrieve data . /1352528954.Didn't retrieve data . /1352528950.Didn't retrieve data . /1352527149.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, '2751235') ('4302', '22285051', '1352529489', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529448', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529446', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529442', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529439', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529434', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529431', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529407', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529405', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529120', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529117', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529115', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529113', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529111', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529092', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529090', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529088', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529086', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529067', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529064', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529062', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529060', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529058', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529056', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529025', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529023', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529021', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528988', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528986', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528984', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528982', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528980', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528959', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528956', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528954', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528950', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352527149', None, None, None, None, None, '2751235') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22285051', '1352529489', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529448', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529446', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529442', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529439', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529434', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529431', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529407', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529405', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529120', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529117', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529115', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529113', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529111', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529092', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529090', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529088', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529086', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529067', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529064', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529062', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529060', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529058', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529056', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529025', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529023', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352529021', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528988', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528986', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528984', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528982', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528980', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528959', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528956', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528954', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352528950', '0.04822730406897405', None, None, None, None, '2751235'), ('4302', '22285051', '1352527149', '0.04822730406897405', None, None, None, None, '2751235')] time used for this insertion : 0.02075982093811035 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06665277481079102 time spend to save output : 0.022072553634643555 total time spend for step 2 : 0.08872532844543457 step3:velours_tree Wed Apr 23 05:37:00 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 : {22285051: [{'mal_croppe': 22285052, 'Teint_Dans_La_Masse': 22285053, 'cartonnette': 22285054, 'environnement': 22285055, 'papier': 22285056, 'plastique': 22285057, 'Carton_brun': 22285058, 'autre_refus': 22285059, 'flou': 22285060, 'Carton_gris': 22285061, 'metal': 22285062, 'kraft': 22285063}]} input_args_next_step : {22285051: ()} output_args : {22285051: [{'mal_croppe': 22285052, 'Teint_Dans_La_Masse': 22285053, 'cartonnette': 22285054, 'environnement': 22285055, 'papier': 22285056, 'plastique': 22285057, 'Carton_brun': 22285058, 'autre_refus': 22285059, 'flou': 22285060, 'Carton_gris': 22285061, 'metal': 22285062, 'kraft': 22285063}]} args : 22285051 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 : ({'mal_croppe': 22285052, 'Teint_Dans_La_Masse': 22285053, 'cartonnette': 22285054, 'environnement': 22285055, 'papier': 22285056, 'plastique': 22285057, 'Carton_brun': 22285058, 'autre_refus': 22285059, 'flou': 22285060, 'Carton_gris': 22285061, 'metal': 22285062, 'kraft': 22285063},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22285051) 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([22285051]) 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.31271982192993164 time spend to save output : 5.14984130859375e-05 total time spend for step 3 : 0.3127713203430176 step4:send_mail_cod Wed Apr 23 05:37:00 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 : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} input_args_next_step : {1352529489: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529489 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529448 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529446 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529442 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529439 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529434 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529431 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529407 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529405 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529120 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529117 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529115 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529113 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529111 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529092 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529090 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529088 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529086 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529067 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529064 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529062 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529060 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529058 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529056 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529025 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529023 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352529021 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528988 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528986 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528984 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528982 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528980 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528959 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528956 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528954 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352528950 depend.output_id : 0 input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ()} output_args : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',)} args : 1352527149 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 : {22285051: [{'mal_croppe': 22285052, 'Teint_Dans_La_Masse': 22285053, 'cartonnette': 22285054, 'environnement': 22285055, 'papier': 22285056, 'plastique': 22285057, 'Carton_brun': 22285058, 'autre_refus': 22285059, 'flou': 22285060, 'Carton_gris': 22285061, 'metal': 22285062, 'kraft': 22285063}]} input_args_next_step : {1352529489: ('0.04822730406897405',), 1352529448: ('0.04822730406897405',), 1352529446: ('0.04822730406897405',), 1352529442: ('0.04822730406897405',), 1352529439: ('0.04822730406897405',), 1352529434: ('0.04822730406897405',), 1352529431: ('0.04822730406897405',), 1352529407: ('0.04822730406897405',), 1352529405: ('0.04822730406897405',), 1352529120: ('0.04822730406897405',), 1352529117: ('0.04822730406897405',), 1352529115: ('0.04822730406897405',), 1352529113: ('0.04822730406897405',), 1352529111: ('0.04822730406897405',), 1352529092: ('0.04822730406897405',), 1352529090: ('0.04822730406897405',), 1352529088: ('0.04822730406897405',), 1352529086: ('0.04822730406897405',), 1352529067: ('0.04822730406897405',), 1352529064: ('0.04822730406897405',), 1352529062: ('0.04822730406897405',), 1352529060: ('0.04822730406897405',), 1352529058: ('0.04822730406897405',), 1352529056: ('0.04822730406897405',), 1352529025: ('0.04822730406897405',), 1352529023: ('0.04822730406897405',), 1352529021: ('0.04822730406897405',), 1352528988: ('0.04822730406897405',), 1352528986: ('0.04822730406897405',), 1352528984: ('0.04822730406897405',), 1352528982: ('0.04822730406897405',), 1352528980: ('0.04822730406897405',), 1352528959: ('0.04822730406897405',), 1352528956: ('0.04822730406897405',), 1352528954: ('0.04822730406897405',), 1352528950: ('0.04822730406897405',), 1352527149: ('0.04822730406897405',), 22285051: ()} output_args : {22285051: [{'mal_croppe': 22285052, 'Teint_Dans_La_Masse': 22285053, 'cartonnette': 22285054, 'environnement': 22285055, 'papier': 22285056, 'plastique': 22285057, 'Carton_brun': 22285058, 'autre_refus': 22285059, 'flou': 22285060, 'Carton_gris': 22285061, 'metal': 22285062, 'kraft': 22285063}]} args : 22285051 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :38, first value : ('0.04822730406897405',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22285051) 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 (1352529489,1352529448,1352529446,1352529442,1352529439,1352529434,1352529431,1352529407,1352529405,1352529120,1352529117,1352529115,1352529113,1352529111,1352529092,1352529090,1352529088,1352529086,1352529067,1352529064,1352529062,1352529060,1352529058,1352529056,1352529025,1352529023,1352529021,1352528988,1352528986,1352528984,1352528982,1352528980,1352528959,1352528956,1352528954,1352528950,1352527149) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1352527149 begin to download photo : 1352528986 begin to download photo : 1352529062 begin to download photo : 1352529113 begin to download photo : 1352529439 download finish for photo 1352529439 begin to download photo : 1352529442 download finish for photo 1352529113 begin to download photo : 1352529115 download finish for photo 1352529062 begin to download photo : 1352529064 download finish for photo 1352527149 begin to download photo : 1352528950 download finish for photo 1352528986 begin to download photo : 1352528988 download finish for photo 1352529442 begin to download photo : 1352529446 download finish for photo 1352529115 begin to download photo : 1352529117 download finish for photo 1352528950 begin to download photo : 1352528954 download finish for photo 1352529064 begin to download photo : 1352529067 download finish for photo 1352528988 begin to download photo : 1352529021 download finish for photo 1352529446 begin to download photo : 1352529448 download finish for photo 1352529021 begin to download photo : 1352529023 download finish for photo 1352529117 begin to download photo : 1352529120 download finish for photo 1352529067 begin to download photo : 1352529086 download finish for photo 1352528954 begin to download photo : 1352528956 download finish for photo 1352529448 begin to download photo : 1352529489 download finish for photo 1352529023 begin to download photo : 1352529025 download finish for photo 1352529120 begin to download photo : 1352529405 download finish for photo 1352528956 begin to download photo : 1352528959 download finish for photo 1352529086 begin to download photo : 1352529088 download finish for photo 1352529489 download finish for photo 1352528959 begin to download photo : 1352528980 download finish for photo 1352529025 begin to download photo : 1352529056 download finish for photo 1352529405 begin to download photo : 1352529407 download finish for photo 1352529088 begin to download photo : 1352529090 download finish for photo 1352529407 begin to download photo : 1352529431 download finish for photo 1352528980 begin to download photo : 1352528982 download finish for photo 1352529056 begin to download photo : 1352529058 download finish for photo 1352529090 begin to download photo : 1352529092 download finish for photo 1352529058 begin to download photo : 1352529060 download finish for photo 1352529431 begin to download photo : 1352529434 download finish for photo 1352529092 begin to download photo : 1352529111 download finish for photo 1352528982 begin to download photo : 1352528984 download finish for photo 1352529111 download finish for photo 1352528984 download finish for photo 1352529060 download finish for photo 1352529434 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette222850521745379422/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P22285051_23-04-2025_05_37_02.pdf 22285052 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=22285052 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222850521745379422 22285054 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=22285054 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352529003: '1745294953_2820532_1352528959_f04f00f4bbe9b3c454a427f1fd7b5e2b_rle_crop_3762509742_0.png', 1352529009: '1745294943_2820392_1352528956_2d4ffa51682377eb4601797c289ff23c_rle_crop_3762509732_0.png', 1352529482: '1745295344_490889_1352529088_e7b4601bed5a43abfea09a61386b9903_rle_crop_3762510159_0.png', 1352529578: '1745295493_2825272_1352529489_2d59b80947ea361dd11e680d11034d6c_rle_crop_3762510827_0.png', 1352529642: '1745295612_2826495_1352529060_45604d67d1a5731e76fb754469b6d8fd_rle_crop_3762510359_0.png', 1352529643: '1745295612_2826495_1352529058_5a8a18d0cb4a92ea21c2603fed895e5e_rle_crop_3762510366_0.png', 1352529814: '1745295911_2829364_1352528986_bf8e0b325f12bb597aad8d0791cb4ea7_rle_crop_3762513752_0.png', 1352529815: '1745295911_2829364_1352528986_bf8e0b325f12bb597aad8d0791cb4ea7_rle_crop_3762513749_0.png', 1352532753: '1745298073_2848317_1352528988_53eaadb5c26f0c2e181eae4d5e5f7a2b_rle_crop_3762535828_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c27b428728c5085b0e69b19d463f0c0c_73630356.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ff775daedce2f9c193e6a7cd765eb8a8_44599170.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ee70080f229ab4e1630d4286c5c805b7_2967960.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a171ec6c14b026bd08a0400e2329464a_77093927.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e9b0ff8c31d53d89747ca36e69b9b9b4_1992322.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bd3781a6da2acc5908814cbcdfb015d8_71127605.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c72afe7e1e1035af792648d0891fda2e_23491674.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/94f2c4924d4e28a4f25c10901f3cffd5_86636876.png change filename to text .imagette222850541745379422/ imagette222850541745379422/1745298073_2848317_1352528988_53eaadb5c26f0c2e181eae4d5e5f7a2b_rle_crop_3762535828_0.png.png imagette222850541745379422/1745295493_2825272_1352529489_2d59b80947ea361dd11e680d11034d6c_rle_crop_3762510827_0.png.png imagette222850541745379422/1745295911_2829364_1352528986_bf8e0b325f12bb597aad8d0791cb4ea7_rle_crop_3762513749_0.png.png imagette222850541745379422/1745294953_2820532_1352528959_f04f00f4bbe9b3c454a427f1fd7b5e2b_rle_crop_3762509742_0.png.png imagette222850541745379422/1745295612_2826495_1352529060_45604d67d1a5731e76fb754469b6d8fd_rle_crop_3762510359_0.png.png imagette222850541745379422/1745295911_2829364_1352528986_bf8e0b325f12bb597aad8d0791cb4ea7_rle_crop_3762513752_0.png.png imagette222850541745379422/1745295344_490889_1352529088_e7b4601bed5a43abfea09a61386b9903_rle_crop_3762510159_0.png.png imagette222850541745379422/1745294943_2820392_1352528956_2d4ffa51682377eb4601797c289ff23c_rle_crop_3762509732_0.png.png imagette222850541745379422/1745295612_2826495_1352529058_5a8a18d0cb4a92ea21c2603fed895e5e_rle_crop_3762510366_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c665fd55753ea8f1cdff2e36d8484524_81504642.png imagette222850541745379422 22285057 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=22285057 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352529012: '1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509758_0.png', 1352529013: '1745294943_2820392_1352528950_0e0d1c3e82362bb2e9580ca2c9edda41_rle_crop_3762509792_0.png', 1352529460: '1745295313_2823278_1352529113_5cb2dc5eb9a3e48a530167923a2197ca_rle_crop_3762510032_0.png', 1352529461: '1745295313_2823278_1352529111_99b94bc699e963b4fd0f4abc3979ccf8_rle_crop_3762510042_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2c968d38908f3e0145cdccc064578319_34483680.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/90b0ed79c2722a3aecfc0bc172d068cb_79459093.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1748afd1e6e671fe7f6a93c03b96af86_88344496.png change filename to text .imagette222850571745379423/ imagette222850571745379423/1745295313_2823278_1352529113_5cb2dc5eb9a3e48a530167923a2197ca_rle_crop_3762510032_0.png.png imagette222850571745379423/1745295313_2823278_1352529111_99b94bc699e963b4fd0f4abc3979ccf8_rle_crop_3762510042_0.png.png imagette222850571745379423/1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509758_0.png.png imagette222850571745379423/1745294943_2820392_1352528950_0e0d1c3e82362bb2e9580ca2c9edda41_rle_crop_3762509792_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/84b305ec0b96cef86300ac93784d57d5_60292149.png imagette222850571745379423 22285059 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=22285059 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352529573: '1745295493_2825272_1352529489_2d59b80947ea361dd11e680d11034d6c_rle_crop_3762510831_0.png', 1352529574: '1745295493_2825272_1352529431_db33640d8a00c6bbc0d722d5fc2e5d01_rle_crop_3762510889_0.png', 1352529575: '1745295493_2825272_1352529431_db33640d8a00c6bbc0d722d5fc2e5d01_rle_crop_3762510887_0.png', 1352529809: '1745295911_2829364_1352528982_928667672f605f3fd94271f2bc78a53e_rle_crop_3762513773_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/989c7b41b5186321ddce42823cbc3460_59519291.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/5cc3adfe71ac4443d1951421623e8f21_56192032.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b5f4f51b7a83b411a29042eecce035b5_18025832.png change filename to text .imagette222850591745379423/ imagette222850591745379423/1745295911_2829364_1352528982_928667672f605f3fd94271f2bc78a53e_rle_crop_3762513773_0.png.png imagette222850591745379423/1745295493_2825272_1352529489_2d59b80947ea361dd11e680d11034d6c_rle_crop_3762510831_0.png.png imagette222850591745379423/1745295493_2825272_1352529431_db33640d8a00c6bbc0d722d5fc2e5d01_rle_crop_3762510887_0.png.png imagette222850591745379423/1745295493_2825272_1352529431_db33640d8a00c6bbc0d722d5fc2e5d01_rle_crop_3762510889_0.png.png imagette222850601745379424/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d4fd010444aa8f230ca810833c90f135_38063082.png imagette222850591745379423 22285060 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=22285060 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222850601745379424 22285062 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=22285062 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352529606: '1745295567_106667_1352529021_bc631510316630b075ddea777a242110_rle_crop_3762510531_0.png', 1352529644: '1745295612_2826495_1352529060_45604d67d1a5731e76fb754469b6d8fd_rle_crop_3762510354_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/922ed7184375e89ae487c46ae3e75c83_8362548.png change filename to text .imagette222850621745379424/ imagette222850621745379424/1745295567_106667_1352529021_bc631510316630b075ddea777a242110_rle_crop_3762510531_0.png.png imagette222850621745379424/1745295612_2826495_1352529060_45604d67d1a5731e76fb754469b6d8fd_rle_crop_3762510354_0.png.png imagette222850631745379424/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ef4d18a734bff8a8a8f21eb13f800a92_74181505.png imagette222850621745379424 22285063 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=22285063 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222850631745379424 22285053 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=22285053 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352529005: '1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509769_0.png', 1352529006: '1745294943_2820392_1352528950_0e0d1c3e82362bb2e9580ca2c9edda41_rle_crop_3762509790_0.png', 1352529459: '1745295313_2823278_1352529111_99b94bc699e963b4fd0f4abc3979ccf8_rle_crop_3762510041_0.png', 1352529478: '1745295344_490889_1352529088_e7b4601bed5a43abfea09a61386b9903_rle_crop_3762510161_0.png', 1352529571: '1745295493_2825272_1352529439_15f064df5539acd57184f88599528e8f_rle_crop_3762510867_0.png', 1352529572: '1745295493_2825272_1352529431_db33640d8a00c6bbc0d722d5fc2e5d01_rle_crop_3762510894_0.png', 1352529638: '1745295612_2826495_1352529092_d8222e68e2d0dfcb4b9280765d39558a_rle_crop_3762510336_0.png', 1352529808: '1745295911_2829364_1352528982_928667672f605f3fd94271f2bc78a53e_rle_crop_3762513780_0.png', 1352532748: '1745298073_2848317_1352528988_53eaadb5c26f0c2e181eae4d5e5f7a2b_rle_crop_3762535834_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/749e021dac945b3570d50f0287966521_91660710.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f11302352d1be89a3abb3e28c61db87b_27819151.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/72ef5af1c7e0fee3f383b12a6636ac48_58533461.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e0d0acb017dac5fcffe776b0c9c54af0_47074794.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/90d0b128042dd4810bcec649a84475ed_64481588.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/7c99a88eff62ac7b8956f2ab2dc4043c_40842370.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/141d7aba4f50e224d1edeeb5915409e0_15750737.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1592a831c7feec859c5edb8dc844bf5c_88190058.png change filename to text .imagette222850531745379424/ imagette222850531745379424/1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509769_0.png.png imagette222850531745379424/1745295493_2825272_1352529439_15f064df5539acd57184f88599528e8f_rle_crop_3762510867_0.png.png imagette222850531745379424/1745294943_2820392_1352528950_0e0d1c3e82362bb2e9580ca2c9edda41_rle_crop_3762509790_0.png.png imagette222850531745379424/1745295313_2823278_1352529111_99b94bc699e963b4fd0f4abc3979ccf8_rle_crop_3762510041_0.png.png imagette222850531745379424/1745295493_2825272_1352529431_db33640d8a00c6bbc0d722d5fc2e5d01_rle_crop_3762510894_0.png.png imagette222850531745379424/1745298073_2848317_1352528988_53eaadb5c26f0c2e181eae4d5e5f7a2b_rle_crop_3762535834_0.png.png imagette222850531745379424/1745295344_490889_1352529088_e7b4601bed5a43abfea09a61386b9903_rle_crop_3762510161_0.png.png imagette222850531745379424/1745295911_2829364_1352528982_928667672f605f3fd94271f2bc78a53e_rle_crop_3762513780_0.png.png imagette222850531745379424/1745295612_2826495_1352529092_d8222e68e2d0dfcb4b9280765d39558a_rle_crop_3762510336_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/258aa654591fdf2272c41d3e5164a719_16515668.png imagette222850531745379424 22285058 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=22285058 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352529007: '1745294953_2820532_1352527149_e6484eee322e8691eb603c27081f2019_rle_crop_3762509778_0.png', 1352529010: '1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509764_0.png', 1352529011: '1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509761_0.png', 1352529817: '1745295911_2829364_1352529025_349a7ce4b0b315b1d4d2942f2f5e8ac8_rle_crop_3762513735_0.png', 1352529818: '1745295911_2829364_1352528980_146ae935da4b8ed5331b497c1cd31fb1_rle_crop_3762513788_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a91c9af028f1aeba321b4105f555512a_168197.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a6256973ee1b595c77116950889b4c2d_70240821.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/15d71d363861850b635ecd9cfcf91d02_79744240.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f340c93f1acfd11c1a299a9b3a54c1c5_77566799.png change filename to text .imagette222850581745379425/ imagette222850581745379425/1745294953_2820532_1352527149_e6484eee322e8691eb603c27081f2019_rle_crop_3762509778_0.png.png imagette222850581745379425/1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509764_0.png.png imagette222850581745379425/1745295911_2829364_1352528980_146ae935da4b8ed5331b497c1cd31fb1_rle_crop_3762513788_0.png.png imagette222850581745379425/1745294943_2820392_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f_rle_crop_3762509761_0.png.png imagette222850581745379425/1745295911_2829364_1352529025_349a7ce4b0b315b1d4d2942f2f5e8ac8_rle_crop_3762513735_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6ee6812c5d167420bc54957f2a60f1c4_50680744.png imagette222850581745379425 22285061 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=22285061 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352529479: '1745295344_490889_1352529120_b93de2cf91cb2b962894a69ef400544e_rle_crop_3762510137_0.png', 1352529480: '1745295344_490889_1352529090_1baa17793984a4bd11902c4153b9f8bd_rle_crop_3762510150_0.png', 1352529481: '1745295344_490889_1352529088_e7b4601bed5a43abfea09a61386b9903_rle_crop_3762510158_0.png', 1352529577: '1745295493_2825272_1352529434_15d5fbe6e796f06a4eea66c9481c5905_rle_crop_3762510877_0.png', 1352529639: '1745295612_2826495_1352529092_d8222e68e2d0dfcb4b9280765d39558a_rle_crop_3762510326_0.png', 1352529640: '1745295612_2826495_1352529060_45604d67d1a5731e76fb754469b6d8fd_rle_crop_3762510356_0.png', 1352529811: '1745295911_2829364_1352528986_bf8e0b325f12bb597aad8d0791cb4ea7_rle_crop_3762513754_0.png', 1352529812: '1745295911_2829364_1352528982_928667672f605f3fd94271f2bc78a53e_rle_crop_3762513777_0.png', 1352529813: '1745295911_2829364_1352528980_146ae935da4b8ed5331b497c1cd31fb1_rle_crop_3762513787_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/79ff461e0fb9754e655f9b5b012e4d0c_54535277.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/0a90307f9bdbdbf3d1303842f8219149_11537573.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d7bf52cc15b235ad8d70ec8f6e558d7f_27464894.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c88c54c069d22dff9b89ecb2331ab086_1555650.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c112593e784f6bcd94aa73d266f6f14b_30720320.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d4c93fc5039488859c65da5169297dd3_83991531.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ca95d41a9752c32d92b40e8933b29f85_95476824.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/979e530a926889b068a41fe460a23d3a_8548508.png change filename to text .imagette222850611745379426/ imagette222850611745379426/1745295911_2829364_1352528986_bf8e0b325f12bb597aad8d0791cb4ea7_rle_crop_3762513754_0.png.png imagette222850611745379426/1745295344_490889_1352529090_1baa17793984a4bd11902c4153b9f8bd_rle_crop_3762510150_0.png.png imagette222850611745379426/1745295612_2826495_1352529060_45604d67d1a5731e76fb754469b6d8fd_rle_crop_3762510356_0.png.png imagette222850611745379426/1745295493_2825272_1352529434_15d5fbe6e796f06a4eea66c9481c5905_rle_crop_3762510877_0.png.png imagette222850611745379426/1745295911_2829364_1352528980_146ae935da4b8ed5331b497c1cd31fb1_rle_crop_3762513787_0.png.png imagette222850611745379426/1745295612_2826495_1352529092_d8222e68e2d0dfcb4b9280765d39558a_rle_crop_3762510326_0.png.png imagette222850611745379426/1745295344_490889_1352529088_e7b4601bed5a43abfea09a61386b9903_rle_crop_3762510158_0.png.png imagette222850611745379426/1745295911_2829364_1352528982_928667672f605f3fd94271f2bc78a53e_rle_crop_3762513777_0.png.png imagette222850611745379426/1745295344_490889_1352529120_b93de2cf91cb2b962894a69ef400544e_rle_crop_3762510137_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bd60cc08c8e2c2ad331a64bee8576fb3_72581680.png imagette222850611745379426 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22285051 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22285064,22285065,22285066,22285067,22285068,22285069,22285070,22285071,22285072,22285073,22285074,22285075?tags=mal_croppe,Teint_Dans_La_Masse,cartonnette,environnement,papier,plastique,Carton_brun,autre_refus,flou,Carton_gris,metal,kraft your option no_mail is active, we will not send the real mail to your client args[1352529489] : ('0.04822730406897405',) no score found for photo 1352529489 We are sending mail with results at report@fotonower.com args[1352529448] : ('0.04822730406897405',) no score found for photo 1352529448 We are sending mail with results at report@fotonower.com args[1352529446] : ('0.04822730406897405',) no score found for photo 1352529446 We are sending mail with results at report@fotonower.com args[1352529442] : ('0.04822730406897405',) no score found for photo 1352529442 We are sending mail with results at report@fotonower.com args[1352529439] : ('0.04822730406897405',) no score found for photo 1352529439 We are sending mail with results at report@fotonower.com args[1352529434] : ('0.04822730406897405',) no score found for photo 1352529434 We are sending mail with results at report@fotonower.com args[1352529431] : ('0.04822730406897405',) no score found for photo 1352529431 We are sending mail with results at report@fotonower.com args[1352529407] : ('0.04822730406897405',) no score found for photo 1352529407 We are sending mail with results at report@fotonower.com args[1352529405] : ('0.04822730406897405',) no score found for photo 1352529405 We are sending mail with results at report@fotonower.com args[1352529120] : ('0.04822730406897405',) no score found for photo 1352529120 We are sending mail with results at report@fotonower.com args[1352529117] : ('0.04822730406897405',) no score found for photo 1352529117 We are sending mail with results at report@fotonower.com args[1352529115] : ('0.04822730406897405',) no score found for photo 1352529115 We are sending mail with results at report@fotonower.com args[1352529113] : ('0.04822730406897405',) no score found for photo 1352529113 We are sending mail with results at report@fotonower.com args[1352529111] : ('0.04822730406897405',) no score found for photo 1352529111 We are sending mail with results at report@fotonower.com args[1352529092] : ('0.04822730406897405',) no score found for photo 1352529092 We are sending mail with results at report@fotonower.com args[1352529090] : ('0.04822730406897405',) no score found for photo 1352529090 We are sending mail with results at report@fotonower.com args[1352529088] : ('0.04822730406897405',) no score found for photo 1352529088 We are sending mail with results at report@fotonower.com args[1352529086] : ('0.04822730406897405',) no score found for photo 1352529086 We are sending mail with results at report@fotonower.com args[1352529067] : ('0.04822730406897405',) no score found for photo 1352529067 We are sending mail with results at report@fotonower.com args[1352529064] : ('0.04822730406897405',) no score found for photo 1352529064 We are sending mail with results at report@fotonower.com args[1352529062] : ('0.04822730406897405',) no score found for photo 1352529062 We are sending mail with results at report@fotonower.com args[1352529060] : ('0.04822730406897405',) no score found for photo 1352529060 We are sending mail with results at report@fotonower.com args[1352529058] : ('0.04822730406897405',) no score found for photo 1352529058 We are sending mail with results at report@fotonower.com args[1352529056] : ('0.04822730406897405',) no score found for photo 1352529056 We are sending mail with results at report@fotonower.com args[1352529025] : ('0.04822730406897405',) no score found for photo 1352529025 We are sending mail with results at report@fotonower.com args[1352529023] : ('0.04822730406897405',) no score found for photo 1352529023 We are sending mail with results at report@fotonower.com args[1352529021] : ('0.04822730406897405',) no score found for photo 1352529021 We are sending mail with results at report@fotonower.com args[1352528988] : ('0.04822730406897405',) no score found for photo 1352528988 We are sending mail with results at report@fotonower.com args[1352528986] : ('0.04822730406897405',) no score found for photo 1352528986 We are sending mail with results at report@fotonower.com args[1352528984] : ('0.04822730406897405',) no score found for photo 1352528984 We are sending mail with results at report@fotonower.com args[1352528982] : ('0.04822730406897405',) no score found for photo 1352528982 We are sending mail with results at report@fotonower.com args[1352528980] : ('0.04822730406897405',) no score found for photo 1352528980 We are sending mail with results at report@fotonower.com args[1352528959] : ('0.04822730406897405',) no score found for photo 1352528959 We are sending mail with results at report@fotonower.com args[1352528956] : ('0.04822730406897405',) no score found for photo 1352528956 We are sending mail with results at report@fotonower.com args[1352528954] : ('0.04822730406897405',) no score found for photo 1352528954 We are sending mail with results at report@fotonower.com args[1352528950] : ('0.04822730406897405',) no score found for photo 1352528950 We are sending mail with results at report@fotonower.com args[1352527149] : ('0.04822730406897405',) no score found for photo 1352527149 We are sending mail with results at report@fotonower.com refus_total : 0.04822730406897405 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=22285051 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_P22285051_23-04-2025_05_37_02.pdf results_Auto_P22285051_23-04-2025_05_37_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_23-04-2025_05_37_02.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','22285051','results_Auto_P22285051_23-04-2025_05_37_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_23-04-2025_05_37_02.pdf','pdf','','0.4','0.04822730406897405') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22285051]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] map_info['map_portfolio_photo'] : {22285051: [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149]} final : False mtd_id 4302 list_pids : [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] 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, '2751235') ('4302', '22285051', '1352529489', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529448', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529446', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529442', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529439', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529434', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529431', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529407', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529405', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529120', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529117', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529115', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529113', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529111', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529092', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529090', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529088', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529086', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529067', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529064', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529062', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529060', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529058', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529056', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529025', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529023', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529021', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528988', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528986', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528984', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528982', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528980', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528959', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528956', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528954', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528950', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352527149', None, None, None, None, None, '2751235') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22285051', '1352529489', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529448', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529446', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529442', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529439', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529434', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529431', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529407', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529405', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529120', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529117', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529115', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529113', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529111', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529092', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529090', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529088', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529086', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529067', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529064', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529062', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529060', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529058', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529056', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529025', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529023', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529021', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528988', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528986', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528984', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528982', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528980', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528959', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528956', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528954', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528950', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352527149', None, None, None, None, None, '2751235')] time used for this insertion : 0.018950462341308594 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.570728778839111 time spend to save output : 0.019504547119140625 total time spend for step 4 : 8.590233325958252 step5:split_time_score Wed Apr 23 05:37:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22285051'] 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 : [('22285051',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22285051) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1352529439: {'path': 'temp/1745379420_3746185_1352529439_15f064df5539acd57184f88599528e8f.jpg', 'extension': 'jpg'}, 1352529442: {'path': 'temp/1745379420_3746185_1352529442_1615f94b669f2044a159117bdbc44d63.jpg', 'extension': 'jpg'}, 1352529446: {'path': 'temp/1745379420_3746185_1352529446_eb5a9e0ddfaefbacacc77969ad9fdc61.jpg', 'extension': 'jpg'}, 1352529448: {'path': 'temp/1745379420_3746185_1352529448_898070c32b8b948d2eaad8c412f67ae4.jpg', 'extension': 'jpg'}, 1352529489: {'path': 'temp/1745379420_3746185_1352529489_2d59b80947ea361dd11e680d11034d6c.jpg', 'extension': 'jpg'}, 1352529062: {'path': 'temp/1745379420_3746185_1352529062_56e2834d43d3bcba47f2f93b85851e96.jpg', 'extension': 'jpg'}, 1352529064: {'path': 'temp/1745379420_3746185_1352529064_d528252eb34c59b18034f4323d8f385b.jpg', 'extension': 'jpg'}, 1352529067: {'path': 'temp/1745379420_3746185_1352529067_e57eed58f9d6dc463d8a71758b28dc01.jpg', 'extension': 'jpg'}, 1352529086: {'path': 'temp/1745379420_3746185_1352529086_65bd410e6cff5023594cd2c3cc18314c.jpg', 'extension': 'jpg'}, 1352529088: {'path': 'temp/1745379420_3746185_1352529088_e7b4601bed5a43abfea09a61386b9903.jpg', 'extension': 'jpg'}, 1352529090: {'path': 'temp/1745379420_3746185_1352529090_1baa17793984a4bd11902c4153b9f8bd.jpg', 'extension': 'jpg'}, 1352529092: {'path': 'temp/1745379420_3746185_1352529092_d8222e68e2d0dfcb4b9280765d39558a.jpg', 'extension': 'jpg'}, 1352529111: {'path': 'temp/1745379420_3746185_1352529111_99b94bc699e963b4fd0f4abc3979ccf8.jpg', 'extension': 'jpg'}, 1352527149: {'path': 'temp/1745379420_3746185_1352527149_e6484eee322e8691eb603c27081f2019.jpg', 'extension': 'jpg'}, 1352528950: {'path': 'temp/1745379420_3746185_1352528950_0e0d1c3e82362bb2e9580ca2c9edda41.jpg', 'extension': 'jpg'}, 1352528954: {'path': 'temp/1745379420_3746185_1352528954_e5e94d6da4c9a1e8a40557b6f3e64c6f.jpg', 'extension': 'jpg'}, 1352528956: {'path': 'temp/1745379420_3746185_1352528956_2d4ffa51682377eb4601797c289ff23c.jpg', 'extension': 'jpg'}, 1352528959: {'path': 'temp/1745379420_3746185_1352528959_f04f00f4bbe9b3c454a427f1fd7b5e2b.jpg', 'extension': 'jpg'}, 1352528980: {'path': 'temp/1745379420_3746185_1352528980_146ae935da4b8ed5331b497c1cd31fb1.jpg', 'extension': 'jpg'}, 1352528982: {'path': 'temp/1745379420_3746185_1352528982_928667672f605f3fd94271f2bc78a53e.jpg', 'extension': 'jpg'}, 1352528984: {'path': 'temp/1745379420_3746185_1352528984_34628978ca80969fb05f6d6d7a6c57c9.jpg', 'extension': 'jpg'}, 1352528986: {'path': 'temp/1745379420_3746185_1352528986_bf8e0b325f12bb597aad8d0791cb4ea7.jpg', 'extension': 'jpg'}, 1352528988: {'path': 'temp/1745379420_3746185_1352528988_53eaadb5c26f0c2e181eae4d5e5f7a2b.jpg', 'extension': 'jpg'}, 1352529021: {'path': 'temp/1745379420_3746185_1352529021_bc631510316630b075ddea777a242110.jpg', 'extension': 'jpg'}, 1352529023: {'path': 'temp/1745379420_3746185_1352529023_df52cb79ac5141e6c1d6faa873646a7f.jpg', 'extension': 'jpg'}, 1352529025: {'path': 'temp/1745379420_3746185_1352529025_349a7ce4b0b315b1d4d2942f2f5e8ac8.jpg', 'extension': 'jpg'}, 1352529056: {'path': 'temp/1745379420_3746185_1352529056_a212c8058d9ffcca09c4422eb4318013.jpg', 'extension': 'jpg'}, 1352529058: {'path': 'temp/1745379420_3746185_1352529058_5a8a18d0cb4a92ea21c2603fed895e5e.jpg', 'extension': 'jpg'}, 1352529060: {'path': 'temp/1745379420_3746185_1352529060_45604d67d1a5731e76fb754469b6d8fd.jpg', 'extension': 'jpg'}, 1352529113: {'path': 'temp/1745379420_3746185_1352529113_5cb2dc5eb9a3e48a530167923a2197ca.jpg', 'extension': 'jpg'}, 1352529115: {'path': 'temp/1745379420_3746185_1352529115_8f8f9f9ef6b93779423e995bcd8f0566.jpg', 'extension': 'jpg'}, 1352529117: {'path': 'temp/1745379420_3746185_1352529117_ead95c58959e9fa4ea1083e0d08c957e.jpg', 'extension': 'jpg'}, 1352529120: {'path': 'temp/1745379420_3746185_1352529120_b93de2cf91cb2b962894a69ef400544e.jpg', 'extension': 'jpg'}, 1352529405: {'path': 'temp/1745379420_3746185_1352529405_dfd9e5e65397040bef6199001cf5ac0b.jpg', 'extension': 'jpg'}, 1352529407: {'path': 'temp/1745379420_3746185_1352529407_3fb22887ca8b4b301111899cf6e9ef9a.jpg', 'extension': 'jpg'}, 1352529431: {'path': 'temp/1745379420_3746185_1352529431_db33640d8a00c6bbc0d722d5fc2e5d01.jpg', 'extension': 'jpg'}, 1352529434: {'path': 'temp/1745379420_3746185_1352529434_15d5fbe6e796f06a4eea66c9481c5905.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 = 22285051; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22285051 group by h (('06', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22285051 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 (22285051) 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 (22285051) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22042025 22285051 Nombre de photos uploadées : 37 / 23040 (0%) 22042025 22285051 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 22042025 22285051 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1352527149, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e6484eee322e8691eb603c27081f2019.jpg', 'username': None, 'uploaded_at': 1745294467, 'text': 'image_22042025_06_00_13_009124m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1352528959, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f04f00f4bbe9b3c454a427f1fd7b5e2b.jpg', 'username': None, 'uploaded_at': 1745294888, 'text': 'image_22042025_06_00_33_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1352528956, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2d4ffa51682377eb4601797c289ff23c.jpg', 'username': None, 'uploaded_at': 1745294888, 'text': 'image_22042025_06_07_04_009988m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1352528954, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e5e94d6da4c9a1e8a40557b6f3e64c6f.jpg', 'username': None, 'uploaded_at': 1745294888, 'text': 'image_22042025_06_07_33_009131m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001974821090698242 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22285051, '2025-04-22' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1735821,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02297377586364746 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= 1735821 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22283193, 'dashboard_result_id': 10036073, '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_P22283193_23-04-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283206, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22283528, 'dashboard_result_id': 10036074, '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_P22283528_23-04-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283581, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22284061, 'dashboard_result_id': 10036075, '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_P22284061_23-04-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284073, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22284551, 'dashboard_result_id': 10036076, '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_P22284551_23-04-2025_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284564, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22285051, 'dashboard_result_id': 10036077, '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_P22285051_22-04-2025_06_26_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285063, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22285528, 'dashboard_result_id': 10036078, '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_P22285528_22-04-2025_06_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22285832, 'dashboard_result_id': 10036079, '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_P22285832_22-04-2025_06_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285868, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22286020, 'dashboard_result_id': 10036080, '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_P22286020_22-04-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286056, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22286721, 'dashboard_result_id': 10036081, '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_P22286721_22-04-2025_07_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286738, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22287212, 'dashboard_result_id': 10036082, '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_P22287212_22-04-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22287252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287261, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22288002, 'dashboard_result_id': 10036083, '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_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22288420, 'dashboard_result_id': 10036084, '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_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22289161, 'dashboard_result_id': 10036085, '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_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22289960, 'dashboard_result_id': 10036086, '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_P22289960_22-04-2025_08_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22289990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290001, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22290784, 'dashboard_result_id': 10036087, '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_P22290784_22-04-2025_08_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290817, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22291519, 'dashboard_result_id': 10036088, '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_P22291519_22-04-2025_09_02_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291594, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22293115, 'dashboard_result_id': 10036089, '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_P22293115_22-04-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293131, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22293696, 'dashboard_result_id': 10036090, '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_P22293696_22-04-2025_10_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293729, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22294121, 'dashboard_result_id': 10036091, '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_P22294121_22-04-2025_10_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294168, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22294892, 'dashboard_result_id': 10036092, '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_P22294892_22-04-2025_10_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294969, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22295521, 'dashboard_result_id': 10036093, '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_P22295521_22-04-2025_10_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295535, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22296368, 'dashboard_result_id': 10036094, '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_P22296368_22-04-2025_11_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296381, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22296833, 'dashboard_result_id': 10036095, '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_P22296833_22-04-2025_11_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296850, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22297501, 'dashboard_result_id': 10036096, '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_P22297501_22-04-2025_11_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22297551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297562, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22298134, 'dashboard_result_id': 10036097, '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_P22298134_22-04-2025_11_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298166, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22298962, 'dashboard_result_id': 10036098, '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_P22298962_22-04-2025_12_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298979, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22299585, 'dashboard_result_id': 10036099, '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_P22299585_23-04-2025_00_01_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299614, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22307186, 'dashboard_result_id': 10036100, '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_P22307186_22-04-2025_16_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22307211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22307212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22307213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22307214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22307215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22307216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22307217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22307218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22307219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22307220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22307221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22307222, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22312258, 'dashboard_result_id': 10036101, '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_P22312258_22-04-2025_19_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312271, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22312446, 'dashboard_result_id': 10036102, '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_P22312446_22-04-2025_19_16_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22312471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312482, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22312886, 'dashboard_result_id': 10036103, '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_P22312886_22-04-2025_19_35_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312921, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22313109, 'dashboard_result_id': 10036104, '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_P22313109_22-04-2025_19_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22313110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22313111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22313112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22313113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22313114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22313115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22313116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22313117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22313118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22313119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22313120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22313121, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22316204, 'dashboard_result_id': 10036105, '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_P22316204_22-04-2025_21_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22316206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22316207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22316208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22316209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22316210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22316211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22316212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22316213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22316214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22316215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22316216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22316217, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22318358, 'dashboard_result_id': 10036106, '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_P22318358_22-04-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22318359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22318360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22318361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22318362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22318363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22318364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22318365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22318366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22318367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22318368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22318369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22318370, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22319618, 'dashboard_result_id': 10036107, '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_P22319618_22-04-2025_22_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22319619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22319620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22319621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22319622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22319623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22319624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22319625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22319626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22319627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22319628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22319629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22319630, '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 = 22283193 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': 2751231, 'mtr_portfolio_id': 22283193, 'created_at': datetime.datetime(2025, 4, 23, 5, 34, 30), 'result': '0.06962585916446648', 'result_long': None, 'result_double': None}] Qualite : 0.06962585916446648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22283193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_23-04-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22283193 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_P22283193_23-04-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283206, 'pht': 3726}}" where mtr_portfolio_id = 22283193 and dashboard_run_id = 1747698 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`=22283193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036073, 0.06962585916446648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_23-04-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283206, '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 = 22283528 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': 2751232, 'mtr_portfolio_id': 22283528, 'created_at': datetime.datetime(2025, 4, 23, 5, 35, 30), 'result': '0.03793785543376423', 'result_long': None, 'result_double': None}] Qualite : 0.03793785543376423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22283528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283528_23-04-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22283528 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_P22283528_23-04-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283581, 'pht': 3726}}" where mtr_portfolio_id = 22283528 and dashboard_run_id = 1747698 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`=22283528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036074, 0.03793785543376423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283528_23-04-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283581, '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 = 22284061 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': 2751233, 'mtr_portfolio_id': 22284061, 'created_at': datetime.datetime(2025, 4, 23, 5, 36), 'result': '0.05867734234964999', 'result_long': None, 'result_double': None}] Qualite : 0.05867734234964999 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22284061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284061_23-04-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22284061 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_P22284061_23-04-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284073, 'pht': 3726}}" where mtr_portfolio_id = 22284061 and dashboard_run_id = 1747698 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`=22284061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036075, 0.05867734234964999, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284061_23-04-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284073, '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 = 22284551 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': 2751234, 'mtr_portfolio_id': 22284551, 'created_at': datetime.datetime(2025, 4, 23, 5, 36, 29), 'result': '0.05282893047066502', 'result_long': None, 'result_double': None}] Qualite : 0.05282893047066502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22284551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284551_23-04-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22284551 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_P22284551_23-04-2025_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284564, 'pht': 3726}}" where mtr_portfolio_id = 22284551 and dashboard_run_id = 1747698 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`=22284551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036076, 0.05282893047066502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284551_23-04-2025_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284564, '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 = 22285051 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': 2751235, 'mtr_portfolio_id': 22285051, 'created_at': datetime.datetime(2025, 4, 23, 5, 37), 'result': '0.04822730406897405', 'result_long': None, 'result_double': None}] Qualite : 0.04822730406897405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22285051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_23-04-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22285051 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_P22285051_23-04-2025_05_37_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285063, 'pht': 3726}}" where mtr_portfolio_id = 22285051 and dashboard_run_id = 1747698 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`=22285051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036077, 0.04822730406897405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_23-04-2025_05_37_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285063, '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 = 22285528 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': 2746828, 'mtr_portfolio_id': 22285528, 'created_at': datetime.datetime(2025, 4, 22, 6, 32, 58), 'result': '0.04923531327927505', 'result_long': None, 'result_double': None}] Qualite : 0.04923531327927505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22285528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285528_22-04-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22285528 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_P22285528_22-04-2025_06_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}}" where mtr_portfolio_id = 22285528 and dashboard_run_id = 1747698 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`=22285528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036078, 0.04923531327927505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285528_22-04-2025_06_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, '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 = 22285832 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': 2746851, 'mtr_portfolio_id': 22285832, 'created_at': datetime.datetime(2025, 4, 22, 6, 48, 57), 'result': '0.05518727894071494', 'result_long': None, 'result_double': None}] Qualite : 0.05518727894071494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22285832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285832_22-04-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22285832 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_P22285832_22-04-2025_06_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285868, 'pht': 3726}}" where mtr_portfolio_id = 22285832 and dashboard_run_id = 1747698 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`=22285832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036079, 0.05518727894071494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285832_22-04-2025_06_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285868, '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 = 22286020 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': 2746876, 'mtr_portfolio_id': 22286020, 'created_at': datetime.datetime(2025, 4, 22, 7, 2, 59), 'result': '0.062280815078066744', 'result_long': None, 'result_double': None}] Qualite : 0.062280815078066744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22286020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286020_22-04-2025_07_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22286020 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_P22286020_22-04-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286056, 'pht': 3726}}" where mtr_portfolio_id = 22286020 and dashboard_run_id = 1747698 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`=22286020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036080, 0.062280815078066744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286020_22-04-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286056, '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 = 22286721 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': 2746967, 'mtr_portfolio_id': 22286721, 'created_at': datetime.datetime(2025, 4, 22, 7, 19, 1), 'result': '0.0712643109227587', 'result_long': None, 'result_double': None}] Qualite : 0.0712643109227587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22286721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286721_22-04-2025_07_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22286721 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_P22286721_22-04-2025_07_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286738, 'pht': 3726}}" where mtr_portfolio_id = 22286721 and dashboard_run_id = 1747698 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`=22286721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036081, 0.0712643109227587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286721_22-04-2025_07_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286738, '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 = 22287212 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': 2747003, 'mtr_portfolio_id': 22287212, 'created_at': datetime.datetime(2025, 4, 22, 7, 33, 1), 'result': '0.03639547731339871', 'result_long': None, 'result_double': None}] Qualite : 0.03639547731339871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22287212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287212_22-04-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22287212 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_P22287212_22-04-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22287252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287261, 'pht': 3726}}" where mtr_portfolio_id = 22287212 and dashboard_run_id = 1747698 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`=22287212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036082, 0.03639547731339871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287212_22-04-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22287252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287261, '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 = 22288002 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': 2747082, 'mtr_portfolio_id': 22288002, 'created_at': datetime.datetime(2025, 4, 22, 7, 48, 58), 'result': '0.06754364275022666', 'result_long': None, 'result_double': None}] Qualite : 0.06754364275022666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22288002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22288002 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_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, 'pht': 3726}}" where mtr_portfolio_id = 22288002 and dashboard_run_id = 1747698 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`=22288002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036083, 0.06754364275022666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, '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 = 22288420 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': 2747116, 'mtr_portfolio_id': 22288420, 'created_at': datetime.datetime(2025, 4, 22, 8, 3), 'result': '0.04869240453567159', 'result_long': None, 'result_double': None}] Qualite : 0.04869240453567159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22288420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22288420 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_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, 'pht': 3726}}" where mtr_portfolio_id = 22288420 and dashboard_run_id = 1747698 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`=22288420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036084, 0.04869240453567159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, '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 = 22289161 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': 2747189, 'mtr_portfolio_id': 22289161, 'created_at': datetime.datetime(2025, 4, 22, 8, 18, 59), 'result': '0.059532425882459834', 'result_long': None, 'result_double': None}] Qualite : 0.059532425882459834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22289161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22289161 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_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, 'pht': 3726}}" where mtr_portfolio_id = 22289161 and dashboard_run_id = 1747698 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`=22289161 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036085, 0.059532425882459834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, '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 = 22289960 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': 2747248, 'mtr_portfolio_id': 22289960, 'created_at': datetime.datetime(2025, 4, 22, 8, 32, 57), 'result': '0.06353689510491778', 'result_long': None, 'result_double': None}] Qualite : 0.06353689510491778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22289960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289960_22-04-2025_08_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22289960 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_P22289960_22-04-2025_08_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22289990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290001, 'pht': 3726}}" where mtr_portfolio_id = 22289960 and dashboard_run_id = 1747698 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`=22289960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036086, 0.06353689510491778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289960_22-04-2025_08_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22289990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290001, '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 = 22290784 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': 2747330, 'mtr_portfolio_id': 22290784, 'created_at': datetime.datetime(2025, 4, 22, 8, 47), 'result': '0.07708128148895892', 'result_long': None, 'result_double': None}] Qualite : 0.07708128148895892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22290784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290784_22-04-2025_08_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22290784 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_P22290784_22-04-2025_08_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290817, 'pht': 3726}}" where mtr_portfolio_id = 22290784 and dashboard_run_id = 1747698 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`=22290784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036087, 0.07708128148895892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290784_22-04-2025_08_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290817, '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 = 22291519 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': 2747381, 'mtr_portfolio_id': 22291519, 'created_at': datetime.datetime(2025, 4, 22, 9, 2, 29), 'result': '0.05729161226196532', 'result_long': None, 'result_double': None}] Qualite : 0.05729161226196532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22291519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291519_22-04-2025_09_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22291519 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_P22291519_22-04-2025_09_02_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291594, 'pht': 3726}}" where mtr_portfolio_id = 22291519 and dashboard_run_id = 1747698 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`=22291519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036088, 0.05729161226196532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291519_22-04-2025_09_02_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291594, '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 = 22293115 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': 2747545, 'mtr_portfolio_id': 22293115, 'created_at': datetime.datetime(2025, 4, 22, 9, 46, 29), 'result': '0.050029981891664174', 'result_long': None, 'result_double': None}] Qualite : 0.050029981891664174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22293115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293115_22-04-2025_09_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22293115 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_P22293115_22-04-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293131, 'pht': 3726}}" where mtr_portfolio_id = 22293115 and dashboard_run_id = 1747698 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`=22293115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036089, 0.050029981891664174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293115_22-04-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293131, '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 = 22293696 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': 2747606, 'mtr_portfolio_id': 22293696, 'created_at': datetime.datetime(2025, 4, 22, 10, 3), 'result': '0.05561995408712252', 'result_long': None, 'result_double': None}] Qualite : 0.05561995408712252 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22293696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293696_22-04-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22293696 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_P22293696_22-04-2025_10_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293729, 'pht': 3726}}" where mtr_portfolio_id = 22293696 and dashboard_run_id = 1747698 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`=22293696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036090, 0.05561995408712252, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293696_22-04-2025_10_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293729, '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 = 22294121 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': 2747665, 'mtr_portfolio_id': 22294121, 'created_at': datetime.datetime(2025, 4, 22, 10, 19), 'result': '0.06102612967400454', 'result_long': None, 'result_double': None}] Qualite : 0.06102612967400454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22294121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294121_22-04-2025_10_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22294121 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_P22294121_22-04-2025_10_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294168, 'pht': 3726}}" where mtr_portfolio_id = 22294121 and dashboard_run_id = 1747698 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`=22294121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036091, 0.06102612967400454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294121_22-04-2025_10_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294168, '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 = 22294892 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': 2747737, 'mtr_portfolio_id': 22294892, 'created_at': datetime.datetime(2025, 4, 22, 10, 32, 29), 'result': '0.048718953778101766', 'result_long': None, 'result_double': None}] Qualite : 0.048718953778101766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22294892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294892_22-04-2025_10_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22294892 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_P22294892_22-04-2025_10_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294969, 'pht': 3726}}" where mtr_portfolio_id = 22294892 and dashboard_run_id = 1747698 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`=22294892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036092, 0.048718953778101766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294892_22-04-2025_10_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294969, '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 = 22295521 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': 2747810, 'mtr_portfolio_id': 22295521, 'created_at': datetime.datetime(2025, 4, 22, 10, 47), 'result': '0.0620622538850013', 'result_long': None, 'result_double': None}] Qualite : 0.0620622538850013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22295521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295521_22-04-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22295521 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_P22295521_22-04-2025_10_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295535, 'pht': 3726}}" where mtr_portfolio_id = 22295521 and dashboard_run_id = 1747698 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`=22295521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036093, 0.0620622538850013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295521_22-04-2025_10_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295535, '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 = 22296368 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': 2747870, 'mtr_portfolio_id': 22296368, 'created_at': datetime.datetime(2025, 4, 22, 11, 2, 59), 'result': '0.05328045887106153', 'result_long': None, 'result_double': None}] Qualite : 0.05328045887106153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22296368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296368_22-04-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22296368 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_P22296368_22-04-2025_11_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296381, 'pht': 3726}}" where mtr_portfolio_id = 22296368 and dashboard_run_id = 1747698 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`=22296368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036094, 0.05328045887106153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296368_22-04-2025_11_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296381, '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 = 22296833 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': 2747918, 'mtr_portfolio_id': 22296833, 'created_at': datetime.datetime(2025, 4, 22, 11, 18, 58), 'result': '0.06408876943512296', 'result_long': None, 'result_double': None}] Qualite : 0.06408876943512296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22296833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296833_22-04-2025_11_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22296833 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_P22296833_22-04-2025_11_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296850, 'pht': 3726}}" where mtr_portfolio_id = 22296833 and dashboard_run_id = 1747698 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`=22296833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036095, 0.06408876943512296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296833_22-04-2025_11_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296850, '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 = 22297501 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': 2747958, 'mtr_portfolio_id': 22297501, 'created_at': datetime.datetime(2025, 4, 22, 11, 32, 57), 'result': '0.06158601069185719', 'result_long': None, 'result_double': None}] Qualite : 0.06158601069185719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22297501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297501_22-04-2025_11_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22297501 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_P22297501_22-04-2025_11_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22297551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297562, 'pht': 3726}}" where mtr_portfolio_id = 22297501 and dashboard_run_id = 1747698 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`=22297501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036096, 0.06158601069185719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297501_22-04-2025_11_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22297551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297562, '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 = 22298134 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': 2748039, 'mtr_portfolio_id': 22298134, 'created_at': datetime.datetime(2025, 4, 22, 11, 50, 59), 'result': '0.04184367374474032', 'result_long': None, 'result_double': None}] Qualite : 0.04184367374474032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22298134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298134_22-04-2025_11_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22298134 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_P22298134_22-04-2025_11_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298166, 'pht': 3726}}" where mtr_portfolio_id = 22298134 and dashboard_run_id = 1747698 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`=22298134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036097, 0.04184367374474032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298134_22-04-2025_11_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298166, '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 = 22298962 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': 2748094, 'mtr_portfolio_id': 22298962, 'created_at': datetime.datetime(2025, 4, 22, 12, 2, 57), 'result': '0.065813879713322', 'result_long': None, 'result_double': None}] Qualite : 0.065813879713322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22298962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298962_22-04-2025_12_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22298962 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_P22298962_22-04-2025_12_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298979, 'pht': 3726}}" where mtr_portfolio_id = 22298962 and dashboard_run_id = 1747698 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`=22298962 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036098, 0.065813879713322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298962_22-04-2025_12_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298979, '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 = 22299585 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': 2748169, 'mtr_portfolio_id': 22299585, 'created_at': datetime.datetime(2025, 4, 23, 0, 1, 28), 'result': '0.04878292693378914', 'result_long': None, 'result_double': None}] Qualite : 0.04878292693378914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22299585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299585_23-04-2025_00_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22299585 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_P22299585_23-04-2025_00_01_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299614, 'pht': 3726}}" where mtr_portfolio_id = 22299585 and dashboard_run_id = 1747698 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`=22299585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036099, 0.04878292693378914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299585_23-04-2025_00_01_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299614, '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 = 22307186 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': 2748978, 'mtr_portfolio_id': 22307186, 'created_at': datetime.datetime(2025, 4, 22, 16, 3, 2), 'result': '0.0586795616574983', 'result_long': None, 'result_double': None}] Qualite : 0.0586795616574983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22307186 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22307186_22-04-2025_16_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22307186 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_P22307186_22-04-2025_16_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22307211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22307212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22307213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22307214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22307215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22307216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22307217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22307218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22307219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22307220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22307221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22307222, 'pht': 3726}}" where mtr_portfolio_id = 22307186 and dashboard_run_id = 1747698 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`=22307186 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036100, 0.0586795616574983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22307186_22-04-2025_16_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22307211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22307212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22307213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22307214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22307215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22307216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22307217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22307218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22307219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22307220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22307221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22307222, '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 = 22312258 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': 2749507, 'mtr_portfolio_id': 22312258, 'created_at': datetime.datetime(2025, 4, 22, 19, 3), 'result': '0.041275718879498095', 'result_long': None, 'result_double': None}] Qualite : 0.041275718879498095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22312258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312258_22-04-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22312258 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_P22312258_22-04-2025_19_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312271, 'pht': 3726}}" where mtr_portfolio_id = 22312258 and dashboard_run_id = 1747698 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`=22312258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036101, 0.041275718879498095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312258_22-04-2025_19_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312271, '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 = 22312446 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': 2749547, 'mtr_portfolio_id': 22312446, 'created_at': datetime.datetime(2025, 4, 22, 19, 16, 52), 'result': '0.04338164572328143', 'result_long': None, 'result_double': None}] Qualite : 0.04338164572328143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22312446 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312446_22-04-2025_19_16_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22312446 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_P22312446_22-04-2025_19_16_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22312471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312482, 'pht': 3726}}" where mtr_portfolio_id = 22312446 and dashboard_run_id = 1747698 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`=22312446 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036102, 0.04338164572328143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312446_22-04-2025_19_16_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22312471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312482, '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 = 22312886 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': 2749618, 'mtr_portfolio_id': 22312886, 'created_at': datetime.datetime(2025, 4, 22, 19, 35, 1), 'result': '0.02038512892619011', 'result_long': None, 'result_double': None}] Qualite : 0.02038512892619011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22312886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312886_22-04-2025_19_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22312886 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_P22312886_22-04-2025_19_35_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312921, 'pht': 3726}}" where mtr_portfolio_id = 22312886 and dashboard_run_id = 1747698 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`=22312886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036103, 0.02038512892619011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312886_22-04-2025_19_35_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312921, '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 = 22313109 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': 2749647, 'mtr_portfolio_id': 22313109, 'created_at': datetime.datetime(2025, 4, 22, 19, 49), 'result': '0.026756689145964945', 'result_long': None, 'result_double': None}] Qualite : 0.026756689145964945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22313109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22313109_22-04-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22313109 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_P22313109_22-04-2025_19_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22313110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22313111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22313112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22313113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22313114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22313115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22313116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22313117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22313118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22313119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22313120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22313121, 'pht': 3726}}" where mtr_portfolio_id = 22313109 and dashboard_run_id = 1747698 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`=22313109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036104, 0.026756689145964945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22313109_22-04-2025_19_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22313110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22313111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22313112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22313113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22313114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22313115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22313116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22313117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22313118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22313119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22313120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22313121, '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 = 22316204 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': 2749965, 'mtr_portfolio_id': 22316204, 'created_at': datetime.datetime(2025, 4, 22, 21, 20, 59), 'result': '0.11615919943277475', 'result_long': None, 'result_double': None}] Qualite : 0.11615919943277475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22316204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22316204_22-04-2025_21_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22316204 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_P22316204_22-04-2025_21_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22316206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22316207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22316208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22316209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22316210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22316211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22316212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22316213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22316214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22316215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22316216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22316217, 'pht': 3726}}" where mtr_portfolio_id = 22316204 and dashboard_run_id = 1747698 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`=22316204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036105, 0.11615919943277475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22316204_22-04-2025_21_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22316206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22316207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22316208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22316209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22316210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22316211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22316212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22316213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22316214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22316215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22316216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22316217, '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 = 22318358 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': 2750151, 'mtr_portfolio_id': 22318358, 'created_at': datetime.datetime(2025, 4, 22, 22, 16, 59), 'result': '0.014501348190915005', 'result_long': None, 'result_double': None}] Qualite : 0.014501348190915005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22318358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22318358_22-04-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22318358 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_P22318358_22-04-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22318359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22318360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22318361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22318362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22318363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22318364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22318365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22318366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22318367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22318368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22318369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22318370, 'pht': 3726}}" where mtr_portfolio_id = 22318358 and dashboard_run_id = 1747698 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`=22318358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036106, 0.014501348190915005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22318358_22-04-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22318359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22318360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22318361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22318362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22318363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22318364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22318365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22318366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22318367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22318368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22318369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22318370, '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 = 22319618 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': 2750242, 'mtr_portfolio_id': 22319618, 'created_at': datetime.datetime(2025, 4, 22, 22, 41, 1), 'result': '0.007249436232774333', 'result_long': None, 'result_double': None}] Qualite : 0.007249436232774333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22319618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22319618_22-04-2025_22_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22319618 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_P22319618_22-04-2025_22_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22319619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22319620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22319621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22319622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22319623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22319624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22319625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22319626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22319627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22319628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22319629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22319630, 'pht': 3726}}" where mtr_portfolio_id = 22319618 and dashboard_run_id = 1747698 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`=22319618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036107, 0.007249436232774333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22319618_22-04-2025_22_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22319619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22319620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22319621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22319622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22319623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22319624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22319625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22319626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22319627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22319628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22319629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22319630, '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 (22283193,22283528,22284061,22284551,22285051,22285528,22285832,22286020,22286721,22287212,22288002,22288420,22289161,22289960,22290784,22291519,22293115,22293696,22294121,22294892,22295521,22296368,22296833,22297501,22298134,22298962,22299585,22307186,22312258,22312446,22312886,22313109,22316204,22318358,22319618) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,), (1352519912,), (1352519915,), (1352519918,), (1352519924,), (1352519928,), (1352520039,), (1352520151,), (1352520155,), (1352520156,), (1352520157,), (1352520161,), (1352520317,), (1352520320,), (1352520332,), (1352520490,), (1352520492,), (1352520493,), (1352520494,), (1352520495,), (1352520671,), (1352520697,), (1352520723,), (1352520748,), (1352520777,), (1352520804,), (1352521087,), (1352521128,), (1352521155,), (1352521184,), (1352521215,), (1352521244,), (1352521505,), (1352521529,), (1352521559,), (1352521635,), (1352521636,), (1352521637,), (1352521638,), (1352521639,), (1352521748,), (1352521756,), (1352521773,), (1352521782,), (1352521784,), (1352521788,), (1352521816,), (1352521818,), (1352522106,), (1352522141,), (1352522171,), (1352522206,), (1352522382,), (1352522384,), (1352522386,), (1352522388,), (1352522391,), (1352522394,), (1352522423,), (1352522425,), (1352522426,), (1352522475,), (1352522478,), (1352522480,), (1352522482,), (1352522484,), (1352522524,), (1352522553,), (1352522581,), (1352522614,), (1352522642,), (1352523193,), (1352523138,), (1352523836,), (1352523838,), (1352523848,), (1352523861,), (1352524066,), (1352524089,), (1352524133,), (1352524390,), (1352524584,), (1352524597,), (1352524598,), (1352524643,), (1352524644,), (1352524645,), (1352524646,), (1352524649,), (1352524680,), (1352524682,), (1352524684,), (1352524686,), (1352524709,), (1352524711,), (1352524712,), (1352524744,), (1352524745,), (1352524746,), (1352524747,), (1352524749,), (1352524754,), (1352524791,), (1352524793,), (1352524795,), (1352524797,), (1352524944,), (1352524999,), (1352525001,), (1352525003,), (1352525005,), (1352525123,), (1352525138,), (1352525263,), (1352525292,), (1352525306,), (1352525476,), (1352525433,), (1352525472,), (1352525514,), (1352525515,), (1352525516,), (1352525520,), (1352525524,), (1352525529,), (1352525561,), (1352525563,), (1352525639,), (1352525644,), (1352525646,), (1352525674,), (1352525675,), (1352525676,), (1352525677,), (1352525679,), (1352525711,), (1352525712,), (1352525843,), (1352525846,), (1352525849,), (1352525852,), (1352526106,), (1352526130,), (1352526156,), (1352526181,), (1352526384,), (1352526401,), (1352526409,), (1352526414,), (1352526418,), (1352526428,), (1352526455,), (1352526457,), (1352526669,), (1352526692,), (1352527020,), (1352527048,), (1352527054,), (1352527061,), (1352527176,), (1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,), (1352529474,), (1352529483,), (1352529486,), (1352529511,), (1352529516,), (1352529518,), (1352529522,), (1352529545,), (1352529549,), (1352529551,), (1352529582,), (1352529585,), (1352529587,), (1352529590,), (1352529612,), (1352529615,), (1352529617,), (1352529619,), (1352529647,), (1352529649,), (1352529651,), (1352529653,), (1352529677,), (1352529680,), (1352529683,), (1352529690,), (1352529696,), (1352529699,), (1352529718,), (1352529722,), (1352529724,), (1352529726,), (1352529730,), (1352529732,), (1352529757,), (1352529759,), (1352529761,), (1352529787,), (1352529790,), (1352529792,), (1352529793,), (1352529798,), (1352529823,), (1352529825,), (1352529828,), (1352529831,), (1352529833,), (1352529851,), (1352529853,), (1352529856,), (1352529858,), (1352529890,), (1352529892,), (1352529894,), (1352529914,), (1352529917,), (1352529919,), (1352529923,), (1352529936,), (1352529943,), (1352529969,), (1352529978,), (1352529981,), (1352529984,), (1352529988,), (1352530031,), (1352530029,), (1352530073,), (1352530080,), (1352530083,), (1352530086,), (1352530091,), (1352530126,), (1352530129,), (1352530131,), (1352530133,), (1352530136,), (1352530140,), (1352530176,), (1352530180,), (1352530183,), (1352530187,), (1352530191,), (1352530216,), (1352530219,), (1352530221,), (1352530223,), (1352530226,), (1352530260,), (1352530268,), (1352530274,), (1352530278,), (1352530283,), (1352530302,), (1352530304,), (1352530307,), (1352530310,), (1352530345,), (1352530348,), (1352530351,), (1352530354,), (1352530358,), (1352530363,), (1352530387,), (1352530389,), (1352530391,), (1352530396,), (1352530428,), (1352530431,), (1352530434,), (1352530437,), (1352530484,), (1352530489,), (1352530491,), (1352530493,), (1352530498,), (1352530503,), (1352530537,), (1352530542,), (1352530545,), (1352530548,), (1352530552,), (1352530579,), (1352530581,), (1352530584,), (1352530613,), (1352530617,), (1352530620,), (1352530624,), (1352530628,), (1352530631,), (1352530657,), (1352530660,), (1352530663,), (1352530665,), (1352530712,), (1352530695,), (1352530698,), (1352530702,), (1352530705,), (1352530709,), (1352530730,), (1352530733,), (1352530735,), (1352530737,), (1352530740,), (1352530769,), (1352530774,), (1352530778,), (1352530781,), (1352530785,), (1352530814,), (1352530817,), (1352530819,), (1352530822,), (1352530826,), (1352530857,), (1352530860,), (1352530866,), (1352530872,), (1352530924,), (1352530926,), (1352530928,), (1352530930,), (1352530933,), (1352530936,), (1352530967,), (1352530969,), (1352530971,), (1352530973,), (1352531014,), (1352531016,), (1352531018,), (1352531020,), (1352531065,), (1352531073,), (1352531082,), (1352531094,), (1352531096,), (1352531099,), (1352531135,), (1352531137,), (1352531139,), (1352531141,), (1352531143,), (1352531186,), (1352531193,), (1352531196,), (1352531199,), (1352531203,), (1352531255,), (1352531257,), (1352531259,), (1352531260,), (1352531322,), (1352531328,), (1352531331,), (1352531335,), (1352531621,), (1352531685,), (1352531742,), (1352531804,), (1352531867,), (1352531924,), (1352532092,), (1352532156,), (1352532210,), (1352532264,), (1352532598,), (1352532494,), (1352532544,), (1352532997,), (1352533005,), (1352533036,), (1352533066,), (1352533094,), (1352533876,), (1352533980,), (1352534081,), (1352534097,), (1352534104,), (1352534129,), (1352534269,), (1352534272,), (1352534286,), (1352534292,), (1352534367,), (1352534371,), (1352534375,), (1352534380,), (1352534387,), (1352534391,), (1352534426,), (1352534434,), (1352534445,), (1352534461,), (1352534842,), (1352534847,), (1352534852,), (1352534856,), (1352534869,), (1352534895,), (1352534959,), (1352534968,), (1352534994,), (1352535139,), (1352535144,), (1352535148,), (1352535206,), (1352535212,), (1352535218,), (1352535225,), (1352535229,), (1352535234,), (1352535295,), (1352535316,), (1352535326,), (1352535336,), (1352535344,), (1352535381,), (1352535535,), (1352535572,), (1352535607,), (1352535839,), (1352535771,), (1352535782,), (1352535788,), (1352535796,), (1352535817,), (1352535945,), (1352535946,), (1352535949,), (1352535952,), (1352535996,), (1352536000,), (1352536005,), (1352536011,), (1352536016,), (1352536020,), (1352536072,), (1352536075,), (1352536078,), (1352536091,), (1352536095,), (1352536205,), (1352536209,), (1352536213,), (1352536216,), (1352536267,), (1352536281,), (1352536300,), (1352536313,), (1352536324,), (1352536351,), (1352536421,), (1352536426,), (1352536431,), (1352536491,), (1352536492,), (1352536493,), (1352536496,), (1352536500,), (1352536505,), (1352536544,), (1352536551,), (1352536554,), (1352536597,), (1352536601,), (1352536603,), (1352536605,), (1352536607,), (1352536671,), (1352536675,), (1352536679,), (1352536682,), (1352536686,), (1352536732,), (1352536745,), (1352536752,), (1352536754,), (1352536768,), (1352536976,), (1352536979,), (1352536982,), (1352536985,), (1352536988,), (1352537026,), (1352537034,), (1352537040,), (1352537043,), (1352537089,), (1352537093,), (1352537099,), (1352537107,), (1352537112,), (1352537158,), (1352537146,), (1352537151,), (1352537155,), (1352537203,), (1352537205,), (1352537207,), (1352537209,), (1352537213,), (1352537217,), (1352537254,), (1352537257,), (1352537261,), (1352537265,), (1352537267,), (1352537272,), (1352537306,), (1352537310,), (1352537314,), (1352537317,), (1352537417,), (1352537429,), (1352537436,), (1352537444,), (1352537447,), (1352537460,), (1352537692,), (1352537694,), (1352537698,), (1352537705,), (1352537767,), (1352537769,), (1352537772,), (1352537775,), (1352537779,), (1352537783,), (1352537849,), (1352537859,), (1352537866,), (1352537870,), (1352537880,), (1352537889,), (1352538050,), (1352538054,), (1352538057,), (1352538060,), (1352538108,), (1352538112,), (1352538116,), (1352538117,), (1352538121,), (1352538125,), (1352538169,), (1352538178,), (1352538194,), (1352538197,), (1352538201,), (1352538269,), (1352538305,), (1352538309,), (1352538314,), (1352538335,), (1352538349,), (1352538505,), (1352538524,), (1352538551,), (1352538603,), (1352538844,), (1352538945,), (1352538949,), (1352538962,), (1352538967,), (1352538973,), (1352539224,), (1352539249,), (1352539251,), (1352539253,), (1352539256,), (1352539334,), (1352539302,), (1352539311,), (1352539321,), (1352539328,), (1352539332,), (1352539586,), (1352539587,), (1352539589,), (1352539591,), (1352539595,), (1352539656,), (1352539658,), (1352539661,), (1352539664,), (1352539804,), (1352539810,), (1352539817,), (1352539820,), (1352539899,), (1352539902,), (1352539920,), (1352539927,), (1352539939,), (1352539945,), (1352540043,), (1352540044,), (1352540045,), (1352540048,), (1352540148,), (1352540150,), (1352540153,), (1352540156,), (1352540159,), (1352540220,), (1352540221,), (1352540222,), (1352540224,), (1352540227,), (1352540266,), (1352540268,), (1352540271,), (1352540274,), (1352540365,), (1352540391,), (1352540405,), (1352540407,), (1352540409,), (1352540412,), (1352540497,), (1352540499,), (1352540502,), (1352540505,), (1352540610,), (1352540617,), (1352540622,), (1352540642,), (1352540662,), (1352540674,), (1352540743,), (1352540751,), (1352540756,), (1352540760,), (1352540766,), (1352540772,), (1352541696,), (1352541727,), (1352541759,), (1352541834,), (1352542058,), (1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,), (1352546559,), (1352546581,), (1352546773,), (1352546782,), (1352546787,), (1352546799,), (1352546828,), (1352546916,), (1352546936,), (1352546946,), (1352546951,), (1352546953,), (1352547113,), (1352547116,), (1352547119,), (1352547121,), (1352547303,), (1352547349,), (1352547420,), (1352547436,), (1352547447,), (1352547494,), (1352547563,), (1352547573,), (1352547583,), (1352547595,), (1352547598,), (1352547650,), (1352547652,), (1352547657,), (1352547659,), (1352547664,), (1352547669,), (1352547713,), (1352547728,), (1352547918,), (1352547942,), (1352547944,), (1352547946,), (1352547954,), (1352548094,), (1352548098,), (1352548100,), (1352548103,), (1352548108,), (1352548112,), (1352548180,), (1352548182,), (1352548185,), (1352548188,), (1352548404,), (1352548422,), (1352548432,), (1352548436,), (1352548440,), (1352548549,), (1352548559,), (1352548568,), (1352548579,), (1352548584,), (1352548620,), (1352548628,), (1352548633,), (1352548637,), (1352548645,), (1352548683,), (1352548688,), (1352548694,), (1352548698,), (1352548701,), (1352548781,), (1352548754,), (1352548759,), (1352548857,), (1352549014,), (1352549019,), (1352549078,), (1352549286,), (1352549288,), (1352549311,), (1352549317,), (1352549483,), (1352549520,), (1352549554,), (1352549656,), (1352549660,), (1352549664,), (1352549667,), (1352549673,), (1352549678,), (1352549726,), (1352549729,), (1352549732,), (1352549733,), (1352549782,), (1352549786,), (1352549788,), (1352549800,), (1352549813,), (1352549888,), (1352549891,), (1352549894,), (1352549899,), (1352549905,), (1352549954,), (1352549957,), (1352549959,), (1352549962,), (1352550093,), (1352550222,), (1352550267,), (1352550296,), (1352550324,), (1352550355,), (1352550765,), (1352550822,), (1352550921,), (1352550950,), (1352550977,), (1352551670,), (1352551783,), (1352551845,), (1352551900,), (1352551969,), (1352552035,), (1352552594,), (1352552484,), (1352552526,), (1352552551,), (1352552972,), (1352552978,), (1352552982,), (1352552992,), (1352553024,), (1352553068,), (1352553102,), (1352553122,), (1352553148,), (1352553177,), (1352553205,), (1352553237,), (1352553733,), (1352553758,), (1352553784,), (1352554360,), (1352554398,), (1352554442,), (1352554487,), (1352554513,), (1352554547,), (1352554691,), (1352554765,), (1352554829,), (1352554899,), (1352554973,), (1352555592,), (1352555653,), (1352555683,), (1352555949,), (1352555954,), (1352555958,), (1352555972,), (1352555983,), (1352555987,), (1352556028,), (1352556033,), (1352556036,), (1352556039,), (1352556056,), (1352556303,), (1352556314,), (1352556317,), (1352556365,), (1352556367,), (1352556370,), (1352556373,), (1352556376,), (1352556380,), (1352556408,), (1352556411,), (1352556413,), (1352556414,), (1352556417,), (1352556452,), (1352556454,), (1352556456,), (1352556458,), (1352556574,), (1352556580,), (1352556602,), (1352556635,), (1352556666,), (1352556701,), (1352556879,), (1352562519,), (1352562523,), (1352562579,), (1352562583,), (1352562587,), (1352562590,), (1352562608,), (1352562645,), (1352562659,), (1352562689,), (1352562718,), (1352562744,), (1352562915,), (1352562940,), (1352563089,), (1352563091,), (1352563116,), (1352563143,), (1352563144,), (1352563188,), (1352563193,), (1352563197,), (1352563200,), (1352563214,), (1352563313,), (1352563317,), (1352563405,), (1352563411,), (1352563414,), (1352563419,), (1352563426,), (1352563431,), (1352563530,), (1352563536,), (1352563541,), (1352563544,), (1352563548,), (1352563589,), (1352563593,), (1352563595,), (1352563597,), (1352563667,), (1352563673,), (1352563687,), (1352563690,), (1352563692,), (1352563695,), (1352563741,), (1352563744,), (1352563746,), (1352563941,), (1352564545,), (1352564373,), (1352564514,), (1352564523,), (1352564531,), (1352564622,), (1352564651,), (1352564663,), (1352564687,), (1352564695,), (1352564701,), (1352564742,), (1352564752,), (1352564754,), (1352564784,), (1352564790,), (1352564882,), (1352565105,), (1352565108,), (1352565154,), (1352565155,), (1352565158,), (1352565161,), (1352565164,), (1352565169,), (1352565409,), (1352565412,), (1352565420,), (1352565427,), (1352565471,), (1352565478,), (1352565481,), (1352565483,), (1352565485,), (1352565487,), (1352565492,), (1352565496,), (1352565501,), (1352565507,), (1352565527,), (1352565532,), (1352565538,), (1352565544,), (1352565558,), (1352565562,), (1352565565,), (1352565568,), (1352565571,), (1352565617,), (1352565620,), (1352565622,), (1352565625,), (1352565628,), (1352565633,), (1352565685,), (1352565694,), (1352565701,), (1352565728,), (1352565746,), (1352565759,), (1352565788,), (1352565805,), (1352566034,), (1352565913,), (1352565940,), (1352565971,), (1352566001,), (1352566273,), (1352566306,), (1352566341,), (1352566372,), (1352566378,), (1352566532,), (1352566540,), (1352566553,), (1352566579,), (1352566583,), (1352566596,), (1352567342,), (1352567444,), (1352567503,), (1352568333,), (1352568361,), (1352568390,), (1352568420,), (1352568448,), (1352568887,), (1352569017,), (1352569045,), (1352569074,), (1352569103,), (1352569141,), (1352569387,), (1352569391,), (1352569406,), (1352569421,), (1352569543,), (1352569602,), (1352569658,), (1352569717,), (1352569774,), (1352569830,), (1352570101,), (1352570136,), (1352570150,), (1352570389,), (1352570405,), (1352570411,), (1352570414,), (1352570421,), (1352570530,), (1352570534,), (1352570536,), (1352570538,), (1352570584,), (1352570587,), (1352570590,), (1352570724,), (1352570728,), (1352570732,), (1352570735,), (1352570806,), (1352570817,), (1352570948,), (1352570951,), (1352570955,), (1352570957,), (1352570959,), (1352571254,), (1352571319,), (1352571336,), (1352571341,), (1352571363,), (1352571391,), (1352571521,), (1352571494,), (1352571508,), (1352571520,), (1352571693,), (1352571703,), (1352571718,), (1352571722,), (1352571739,), (1352571936,), (1352571941,), (1352571946,), (1352571950,), (1352572037,), (1352572041,), (1352572044,), (1352572047,), (1352572051,), (1352572061,), (1352572154,), (1352572173,), (1352572182,), (1352572195,), (1352572200,), (1352572204,), (1352572385,), (1352572387,), (1352572390,), (1352572392,), (1352572432,), (1352572437,), (1352572441,), (1352572444,), (1352572449,), (1352572484,), (1352572487,), (1352572490,), (1352572493,), (1352572497,), (1352572501,), (1352572545,), (1352572548,), (1352572553,), (1352572563,), (1352572633,), (1352572638,), (1352572695,), (1352572701,), (1352572734,), (1352572739,), (1352572743,), (1352572746,), (1352572791,), (1352572824,), (1352572958,), (1352572969,), (1352572983,), (1352573101,), (1352573110,), (1352573118,), (1352573120,), (1352573248,), (1352573250,), (1352573252,), (1352573322,), (1352573656,), (1352573663,), (1352573669,), (1352573681,), (1352573688,), (1352573695,), (1352573745,), (1352573730,), (1352573734,), (1352573740,), (1352573812,), (1352573818,), (1352573823,), (1352573847,), (1352573850,), (1352573866,), (1352573979,), (1352573998,), (1352574001,), (1352574004,), (1352574008,), (1352574354,), (1352574437,), (1352574469,), (1352574526,), (1352574532,), (1352574537,), (1352574644,), (1352574655,), (1352574676,), (1352574680,), (1352574707,), (1352574827,), (1352574874,), (1352574886,), (1352574914,), (1352574954,), (1352574967,), (1352574993,), (1352574997,), (1352575001,), (1352575005,), (1352575013,), (1352575065,), (1352575068,), (1352575070,), (1352575072,), (1352575073,), (1352575118,), (1352575123,), (1352575126,), (1352575129,), (1352575133,), (1352575180,), (1352575184,), (1352575193,), (1352575200,), (1352575204,), (1352575298,), (1352575301,), (1352575303,), (1352575306,), (1352575386,), (1352575395,), (1352575402,), (1352575408,), (1352575412,), (1352575595,), (1352575598,), (1352575601,), (1352575604,), (1352575609,), (1352575661,), (1352575669,), (1352575677,), (1352575681,), (1352575691,), (1352575764,), (1352575769,), (1352575774,), (1352575779,), (1352575785,), (1352575791,), (1352575854,), (1352575849,), (1352575851,), (1352576188,), (1352576203,), (1352576215,), (1352576216,), (1352576223,), (1352576459,), (1352576467,), (1352576472,), (1352576481,), (1352576542,), (1352576544,), (1352576546,), (1352576548,), (1352576550,), (1352576554,), (1352576599,), (1352576603,), (1352576607,), (1352576633,), (1352576661,), (1352576758,), (1352576763,), (1352576767,), (1352576770,), (1352576771,), (1352576819,), (1352576821,), (1352576823,), (1352576932,), (1352576985,), (1352577000,), (1352577003,), (1352577007,), (1352577022,), (1352577050,), (1352577806,), (1352577851,), (1352577892,), (1352577928,), (1352578385,), (1352578278,), (1352578282,), (1352578321,), (1352578607,), (1352578626,), (1352578630,), (1352578677,), (1352578679,), (1352578681,), (1352578682,), (1352578684,), (1352578690,), (1352578732,), (1352578734,), (1352578737,), (1352578740,), (1352578783,), (1352578784,), (1352578786,), (1352578788,), (1352578791,), (1352578838,), (1352578845,), (1352578853,), (1352578900,), (1352579003,), (1352579056,), (1352579060,), (1352579063,), (1352579067,), (1352579120,), (1352579122,), (1352579239,), (1352579242,), (1352579249,), (1352579250,), (1352579262,), (1352579357,), (1352579358,), (1352579361,), (1352579363,), (1352579367,), (1352579370,), (1352579447,), (1352579450,), (1352579462,), (1352579511,), (1352579513,), (1352579515,), (1352579517,), (1352579520,), (1352579559,), (1352579564,), (1352579572,), (1352579576,), (1352579586,), (1352579590,), (1352579633,), (1352579637,), (1352579641,), (1352579644,), (1352579739,), (1352579719,), (1352579723,), (1352579727,), (1352579730,), (1352579734,), (1352579899,), (1352579928,), (1352579957,), (1352579971,), (1352580012,), (1352580014,), (1352580019,), (1352580030,), (1352580039,), (1352580045,), (1352580117,), (1352580120,), (1352580124,), (1352580128,), (1352580200,), (1352580205,), (1352580210,), (1352580244,), (1352580248,), (1352580269,), (1352580320,), (1352580323,), (1352580326,), (1352580331,), (1352580374,), (1352580379,), (1352580383,), (1352580388,), (1352580400,), (1352580405,), (1352580443,), (1352580447,), (1352580451,), (1352580496,), (1352580594,), (1352580853,), (1352580917,), (1352580929,), (1352581004,), (1352581033,), (1352581038,), (1352581042,), (1352581048,), (1352581105,), (1352581109,), (1352581113,), (1352581116,), (1352581120,), (1352581159,), (1352581165,), (1352581171,), (1352581257,), (1352581236,), (1352581241,), (1352581246,), (1352581250,), (1352581253,), (1352581282,), (1352581287,), (1352581291,), (1352581302,), (1352581312,), (1352581360,), (1352581364,), (1352581368,), (1352581436,), (1352581451,), (1352581460,), (1352581463,), (1352581586,), (1352581589,), (1352581592,), (1352581596,), (1352581662,), (1352581667,), (1352581674,), (1352581754,), (1352581756,), (1352581760,), (1352581762,), (1352581763,), (1352581768,), (1352581925,), (1352581931,), (1352581935,), (1352581939,), (1352581942,), (1352581977,), (1352581995,), (1352582025,), (1352582055,), (1352582223,), (1352582242,), (1352582246,), (1352582250,), (1352582253,), (1352582306,), (1352582308,), (1352582310,), (1352582312,), (1352582509,), (1352582545,), (1352582589,), (1352582891,), (1352582922,), (1352582939,), (1352582946,), (1352582950,), (1352583258,), (1352583296,), (1352583340,), (1352583356,), (1352583363,), (1352583366,), (1352583484,), (1352583492,), (1352583521,), (1352583527,), (1352583801,), (1352583743,), (1352583782,), (1352583787,), (1352583791,), (1352583793,), (1352584033,), (1352584037,), (1352584038,), (1352584042,), (1352584096,), (1352584100,), (1352584108,), (1352584115,), (1352584118,), (1352584122,), (1352584182,), (1352584183,), (1352584185,), (1352584187,), (1352584190,), (1352584237,), (1352584253,), (1352584259,), (1352584274,), (1352584286,), (1352584289,), (1352584425,), (1352584440,), (1352584491,), (1352584543,), (1352584776,), (1352584779,), (1352584782,), (1352584797,), (1352584830,), (1352584961,), (1352584965,), (1352584968,), (1352584972,), (1352585019,), (1352585027,), (1352585033,), (1352585036,), (1352585039,), (1352585042,), (1352585073,), (1352585078,), (1352585081,), (1352585132,), (1352585135,), (1352585139,), (1352585143,), (1352585147,), (1352585150,), (1352585178,), (1352585180,), (1352585182,), (1352585184,), (1352585187,), (1352585305,), (1352585308,), (1352585356,), (1352585382,), (1352586572,), (1352586632,), (1352586725,), (1352586765,), (1352586798,), (1352586834,), (1352587311,), (1352587253,), (1352587258,), (1352587265,), (1352587286,), (1352587521,), (1352587546,), (1352587576,), (1352587713,), (1352587717,), (1352587720,), (1352587724,), (1352587728,), (1352587741,), (1352587925,), (1352587953,), (1352587981,), (1352588337,), (1352588389,), (1352588418,), (1352588447,), (1352588477,), (1352588507,), (1352588702,), (1352588708,), (1352588712,), (1352588992,), (1352589042,), (1352589384,), (1352589395,), (1352589399,), (1352589402,), (1352589415,), (1352589446,), (1352589532,), (1352589535,), (1352589538,), (1352589544,), (1352589550,), (1352589570,), (1352589666,), (1352612910,), (1352674526,), (1352675007,), (1352675807,), (1352676566,), (1352676604,), (1352676861,), (1352677649,), (1352678360,), (1352735304,), (1352735308,), (1352735311,), (1352736569,), (1352737154,), (1352737167,), (1352737264,), (1352737319,), (1352737322,), (1352738718,), (1352739693,), (1352740938,), (1352740974,), (1352741982,), (1352742019,), (1352742424,), (1352742657,), (1352742695,), (1352743214,), (1352743244,), (1352743467,), (1352743494,), (1352743674,), (1352744341,), (1352744493,), (1352744496,), (1352744499,), (1352744629,), (1352744688,), (1352744696,), (1352745338,), (1352745482,), (1352745485,), (1352745535,), (1352745856,), (1352745858,), (1352745861,), (1352746268,), (1352746290,), (1352746832,), (1352746892,), (1352747933,), (1352782991,), (1352783191,), (1352783216,), (1352783243,), (1352783794,), (1352784759,), (1352784762,), (1352784765,), (1352784792,), (1352785050,), (1352785052,), (1352785055,), (1352787366,), (1352805009,), (1352805066,), (1352805774,), (1352805845,), (1352806950,), (1352806969,), (1352809033,), (1352809078,), (1352809204,), (1352809261,), (1352809342,), (1352809347,), (1352809665,), (1352809948,), (1352810084,), (1352810596,), (1352810592,), (1352811861,), (1352813226,), (1352813263,), (1352814779,), (1352814854,), (1352814856,), (1352820532,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22042025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22285051]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] map_info['map_portfolio_photo'] : {22285051: [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149]} final : True mtd_id 4302 list_pids : [1352529489, 1352529448, 1352529446, 1352529442, 1352529439, 1352529434, 1352529431, 1352529407, 1352529405, 1352529120, 1352529117, 1352529115, 1352529113, 1352529111, 1352529092, 1352529090, 1352529088, 1352529086, 1352529067, 1352529064, 1352529062, 1352529060, 1352529058, 1352529056, 1352529025, 1352529023, 1352529021, 1352528988, 1352528986, 1352528984, 1352528982, 1352528980, 1352528959, 1352528956, 1352528954, 1352528950, 1352527149] Looping around the photos to save general results len do output : 1 /22285051Didn'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, '2751235') ('4302', '22285051', '1352529489', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529448', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529446', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529442', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529439', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529434', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529431', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529407', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529405', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529120', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529117', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529115', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529113', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529111', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529092', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529090', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529088', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529086', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529067', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529064', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529062', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529060', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529058', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529056', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529025', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529023', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352529021', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528988', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528986', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528984', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528982', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528980', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528959', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528956', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528954', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352528950', None, None, None, None, None, '2751235') ('4302', None, None, None, None, None, None, None, '2751235') ('4302', '22285051', '1352527149', None, None, None, None, None, '2751235') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22285051', 'None', None, None, None, None, '2751235'), ('4302', '22285051', '1352529489', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529448', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529446', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529442', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529439', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529434', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529431', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529407', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529405', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529120', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529117', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529115', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529113', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529111', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529092', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529090', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529088', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529086', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529067', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529064', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529062', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529060', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529058', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529056', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529025', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529023', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352529021', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528988', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528986', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528984', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528982', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528980', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528959', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528956', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528954', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352528950', None, None, None, None, None, '2751235'), ('4302', '22285051', '1352527149', None, None, None, None, None, '2751235')] time used for this insertion : 0.016793012619018555 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0885214805603027 time spend to save output : 0.017201900482177734 total time spend for step 5 : 2.1057233810424805 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 (2751235) 3.21user 2.70system 0:16.78elapsed 35%CPU (0avgtext+0avgdata 162132maxresident)k 3192inputs+28280outputs (43major+85992minor)pagefaults 0swaps