remove mean from example as well

This commit is contained in:
2024-10-14 18:41:27 +02:00
parent 441a86cd8c
commit f267b9da22

View File

@@ -17,7 +17,6 @@ Character distribution 100%% min %0.2f%% %0.2f%%
Character entropy 8.0 bits/char min %0.2f %0.2f bits/char
Character redundancy 0.0%% max %0.2f%% %0.2f%%
Dictionary match false false %t
Arithmetic mean 80 true %0.2f
------------------------------------------------------------------
Validation response %t
`
@@ -28,7 +27,6 @@ func main() {
CharDistribution: valpass.MIN_DIST,
Entropy: valpass.MIN_ENTROPY,
Dictionary: &valpass.Dictionary{Words: ReadDict("t/american-english")},
MeanDeviation: 20, //valpass.LIMIT_MEAN,
}
res, err := valpass.Validate(os.Args[1], opts)
@@ -47,7 +45,6 @@ func main() {
100-opts.CharDistribution,
100-res.CharDistribution,
res.DictionaryMatch,
res.Mean,
res.Ok,
)