r/C_Programming • • Oct 21 '26

Semi-Advanced Randomness Test Library?

Looking for a semi-advanced randomness test library. Not something too advanced, though. Like a library of a hundred files that I'd maybe need a week just to get a clean compile. Also not with tests having results so intricate and complex that it would take significant hours just to understand the results.

Ideally, a library that provides results in percentages of excellence per test, which could be weighted and summed to provide an overall score. Maybe 10 important tests, and with high-precision, and so that means Ai solutions aren't quite up for the task?

This I confess, I found out directly when I allowed Deepseek and Google Ai to create test suites each, and stdlib rand() repeatedly outperforms raw bytes downloaded from random.org -- and that can't be right? Maybe I should ask Claud?

Or not. Maybe had enough of Ai hallucinations, so I'm hoping for some human guidance.

5 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/greg-spears Oct 21 '26

That does look promising, thx! For the record, I googled and tried, but never saw this. Thx again.