MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _make_rows

Function _make_rows

tests/test_data_split.py:7–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def _make_rows():
8 rows = []
9 for i in range(10):
10 rows.append({"id": f"bk1_low_{i}", "benchmark": "bk1", "target_tier": "low", "target_tier_id": 0, "messages": []})
11 for i in range(5):
12 rows.append({"id": f"bk1_high_{i}", "benchmark": "bk1", "target_tier": "high", "target_tier_id": 3, "messages": []})
13 for i in range(5):
14 rows.append({"id": f"bk2_low_{i}", "benchmark": "bk2", "target_tier": "low", "target_tier_id": 0, "messages": []})
15 return rows
16
17
18def test_split_sizes():

Callers 4

test_split_sizesFunction · 0.85
test_split_no_overlapFunction · 0.85
test_split_deterministicFunction · 0.85
test_split_stratifiedFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected