()
| 37 | |
| 38 | |
| 39 | def test_split_deterministic(): |
| 40 | rows = _make_rows() |
| 41 | t1, c1, h1 = stratified_3way_split(rows, seed=42) |
| 42 | t2, c2, h2 = stratified_3way_split(rows, seed=42) |
| 43 | assert [r["id"] for r in t1] == [r["id"] for r in t2] |
| 44 | assert [r["id"] for r in h1] == [r["id"] for r in h2] |
| 45 | |
| 46 | |
| 47 | def test_split_stratified(): |
nothing calls this directly
no test coverage detected