haskell / haskell/statistics

test failure in "1 - CDF match"

Open
#215 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
309
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Log excerpt
```
Test distributions against exact
Exact tests for Binomial
PMF match: OK (0.01s)
+++ OK, passed 100 tests.
CDF match: OK (5.40s)
+++ OK, passed 100 tests.
1 - CDF match: FAIL (4.66s)
*** Failed! Falsified (after 78 tests):
TestCase (ExactBD 1406 (445 % 32768)) 344
Use --quickcheck-replay=143569 to reproduce.
Use -p '!((/Pearson correlation/||/t_qr/)||/Tests for: FDistribution.1-CDF is correct/)&&/Exact tests for Binomial.1 - CDF match/' to rerun this test only.
Exact tests for DiscreteUniform
```

We stumbled into this in statistics-0.16.2.1 on x86_64 (NixOS). [Full log here.](https://github.com/user-attachments/files/19461678/k62qg5gd86b8rb9wlvi6aq7m78m76iq6-statistics-0.16.2.1.log) It didn't happen on a retry; most likely it's a rare failure (over the pseudo-random seed).

_I don't really use Haskell anymore, so it's not easy for me to recheck with this seed on the latest version, but I've been unable to find a reference to this failure in this repo. Hopefully this report will still be helpful._

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.