()
| 45 | |
| 46 | |
| 47 | def test_split_stratified(): |
| 48 | rows = _make_rows() |
| 49 | train, cal, holdout = stratified_3way_split(rows, seed=42) |
| 50 | train_bks = {r["benchmark"] for r in train} |
| 51 | holdout_bks = {r["benchmark"] for r in holdout} |
| 52 | assert "bk1" in train_bks |
| 53 | assert "bk2" in train_bks |
| 54 | assert "bk1" in holdout_bks |
nothing calls this directly
no test coverage detected