diff options
-rw-r--r-- | cmd/analysestats/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/analysestats/main.go b/cmd/analysestats/main.go index a15f3b5..10be46a 100644 --- a/cmd/analysestats/main.go +++ b/cmd/analysestats/main.go @@ -109,6 +109,10 @@ func getMeanStddevOfBest(bestfn string, conffn string) (float64, float64, error) if !ok { continue } + // skip zero confidence pages, as they're likely blank pages + if c == 0 { + continue + } bestConfs = append(bestConfs, c) } |