Team Redraw Tool's Zero-Repeat Claim Was Mathematically Impossible, Author Reports
A DEV Community post describes how an automated review flagged a published claim on lineupdraw.com, a seeded team generator, that a history-aware redraw reduced repeat pairings to zero over 9,999 draws. The author notes that with 24 players split into four teams of six, at least eight repeated pairs must occur, so zero was arithmetically impossible. An investigation of the repository revealed that a regression test had been asserting this impossible value as correct, allowing the flawed figure to pass continuous integration checks. The author has published a re-measurement and a fix in commit b004552, along with changes intended to stop the pipeline from certifying similar errors.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in