()
| 16 | |
| 17 | |
| 18 | def test_split_sizes(): |
| 19 | rows = _make_rows() |
| 20 | train, cal, holdout = stratified_3way_split(rows, seed=42) |
| 21 | total = len(train) + len(cal) + len(holdout) |
| 22 | assert total == len(rows) |
| 23 | assert len(train) >= 10 |
| 24 | assert len(cal) >= 2 |
| 25 | assert len(holdout) >= 2 |
| 26 | |
| 27 | |
| 28 | def test_split_no_overlap(): |
nothing calls this directly
no test coverage detected