From 70811a88b383e270c4c5959a2c2a4b3a46042f89 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 11 May 2021 13:31:14 +0100 Subject: [Minor] Store neural score in task cache --- src/plugins/lua/neural.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua index 2ac8df59f..57ff9cc21 100644 --- a/src/plugins/lua/neural.lua +++ b/src/plugins/lua/neural.lua @@ -114,6 +114,7 @@ local function ann_scores_filter(task) score = out[1] local symscore = string.format('%.3f', score) + task:cache_set(rule.prefix .. '_neural_score', score) lua_util.debugm(N, task, '%s:%s:%s ann score: %s', rule.prefix, set.name, set.ann.version, symscore) -- cgit v1.2.3