aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/rspamadm/rescore.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/rspamadm/rescore.lua')
-rw-r--r--lualib/rspamadm/rescore.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua
index cffba5927..d603b0206 100644
--- a/lualib/rspamadm/rescore.lua
+++ b/lualib/rspamadm/rescore.lua
@@ -298,13 +298,13 @@ local function print_stats(logs, messages, threshold)
local file_stats, _ = rescore_utility.generate_statistics_from_logs(logs,
messages, threshold)
- local file_stat_format = [[
+ local file_stat_format = [=[
F-score: %.2f
False positive rate: %.2f %%
False negative rate: %.2f %%
Overall accuracy: %.2f %%
Slowest message: %.2f (%s)
-] ]
+]=]
logger.message("\nStatistics at threshold: " .. threshold)
@@ -585,4 +585,4 @@ return {
}
--]]
-return nil \ No newline at end of file
+return nil