Problem
tests/stats/string_ops.test.ts:356 has a fast-check property test that fails intermittently when the random generator produces control characters (like � file separator).
error: Property failed after 87 tests
{ seed: -464398533, path: "86:20", endOnFailure: true }
Counterexample: ["��","�"]
The test passes on most runs (main is green) but fails when fast-check hits certain seeds that generate control characters.
Reproduction
bun test tests/stats/string_ops.test.ts --seed -464398533
Fix
The string operation being tested likely doesn't handle control characters correctly. Either:
- Fix the implementation to handle control characters
- Constrain the fast-check arbitrary to exclude control characters if they're out of scope
Problem
tests/stats/string_ops.test.ts:356has a fast-check property test that fails intermittently when the random generator produces control characters (like�file separator).The test passes on most runs (main is green) but fails when fast-check hits certain seeds that generate control characters.
Reproduction
bun test tests/stats/string_ops.test.ts --seed -464398533Fix
The string operation being tested likely doesn't handle control characters correctly. Either: