typelevel/scalacheck

ConsoleReporter reports 0% frequencies due to rounding

オープン

#576 opened on 2019/10/09

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (395 件のフォーク)batch import
good first issuehelp wanted

Repository metrics

Stars
 (1,963 個のスター)
PR merge metrics
 (平均マージ 2d 1h) (30d で 5 merged PRs)

説明

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.

コントリビューターガイド