experiment: add per-gpu workload control

This commit is contained in:
2026-07-20 18:48:22 +08:00
parent a033a72195
commit 809ad9ffef
8 changed files with 330 additions and 7 deletions

View File

@@ -102,3 +102,9 @@ def test_private_source_projects_only_complete_prefix_blocks(tmp_path):
assert rows[0]["runtime_block_ids"] == [101]
assert rows[0]["source_arrived_at"] == 1.5
def test_rho_labels_do_not_collide_below_one_percent():
assert MODULE.rho_label(0.0025) == "rho0p0025"
assert MODULE.rho_label(0.005) == "rho0p005"
assert MODULE.rho_label(0.01) == "rho0p01"