Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[topgen] Fix types in test_runs() code
The existing code wasn't quite right: I think it actually misused the all() function. (Thank you, mypy, for noticing!) For each group of runs (indexed by j), they get binned by length into n_runs and then we check that each bin has an acceptable size. The new version of the code returns False (failure!) if any bin is out of bounds and returns True if we survived to the end. Signed-off-by: Rupert Swarbrick <[email protected]>
- Loading branch information