typelevel/scalacheck

ConsoleReporter reports 0% frequencies due to rounding

Open

#576 aperta il 9 ott 2019

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Scala (395 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (1963 star)
Metriche merge PR
 (Merge medio 2g 1h) (5 PR mergiate in 30 g)

Descrizione

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.

Guida contributor