typelevel/scalacheck

ConsoleReporter reports 0% frequencies due to rounding

Open

#576 geöffnet am 9. Okt. 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (395 Forks)batch import
good first issuehelp wanted

Repository-Metriken

Stars
 (1.963 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 1h) (5 gemergte PRs in 30 T)

Beschreibung

Due to rounding the ConsoleReporter prints some frequencies as zero and this can report incorrect values when using classify. I had to inspect the FreqMap to check the counts as I was thinking my generator was not correct. It would be useful if the classifier reported the counts as well as the frequency.

Contributor Guide