Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is pretty hard to black-box test.

What would have helped in this case:

* Test that all players can be selected by the algorithm at all

* Test that the totals of the weights is the same as the RNG max range



Scatter plots are good when you can't exhaustively test.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: