Skip to content

Commit da6cf22

Browse files
committed
Keep unconfigured capability audits operational and report actual helper pacing
1 parent 872c133 commit da6cf22

2 files changed

Lines changed: 28 additions & 4 deletions

File tree

‎rlm/v100/capabilities.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def audit(root: Path) -> dict:
4040
"alerts": "local paper proposals, including rejection flag",
4141
},
4242
"helper_endpoint": helper.get("runtime", {}).get("base_url"),
43+
"helper_active_time_target_percent": helper.get("resources", {}).get("helper_duty_percent"),
4344
"requested_context": profile.get("runtime", {}).get("context_window"),
4445
"flash_attention_requested": profile.get("server", {}).get("flash_attention"),
4546
"kv_cache_requested": profile.get("server", {}).get("cache_type"),
@@ -66,11 +67,11 @@ def audit(root: Path) -> dict:
6667
],
6768
"master_architecture": {
6869
"automatic_activation": True,
69-
"backend": profile["runtime"].get("backend", "llama.cpp"),
70+
"backend": profile.get("runtime", {}).get("backend", "llama.cpp"),
7071
"custom_scratch_scope": "Arbitrary build(config) network, full-weight warm-start children, isolated byte-token inference and the same fixed/fresh/public gates. Not an automatic universal GGUF converter; inference/training may fail their resource/time limits.",
7172
"active_expert": profile.get("resources", {}).get("active_foundation_expert"),
7273
"history": profile.get("resources", {}).get("architecture_history", []),
73-
"gate": "Task improvement, no retained regressions, fresh audit, public gate when configured and native boot probe; predecessor kept",
74+
"gate": "Task improvement, no retained regressions, fresh audit, public gate when configured and actual inference probe; predecessor kept",
7475
},
7576
"owned_external_compute": evidence["external_compute"],
7677
"colab": {
@@ -91,7 +92,7 @@ def audit(root: Path) -> dict:
9192
"automatic account creation or bypassing browser authentication/quotas",
9293
],
9394
"outcome_learning_scope": "Causal earlier-input preferences from fully resolved audited paper trades enable LoRA DPO, including losses; observational hindsight labels and CPU shadow reward optimization are not unbiased policy RL or proof of profit",
94-
"helper_limit_scope": "30% request active-time target in R&D, not a hard per-process GPU utilization/power cap; game guard pauses only the isolated helper",
95+
"helper_limit_scope": "Configured request active-time target in R&D, not a hard per-process GPU utilization/power cap; game guard pauses only the isolated helper",
9596
"runtime_scope": "Requested configuration; actual execution requires native logs and on-device measurements",
9697
}
9798
atomic_json(root / "research/mission/capabilities.json", result)

‎tests/test_v100_hardware_acceptance.py‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import pytest
66

7-
from rlm.v100 import competition, hardware_acceptance, mission
7+
from rlm.v100 import capabilities, competition, hardware_acceptance, mission, progress
88

99

1010
def test_required_hardware_failure_records_report_and_does_not_start_master(tmp_path, monkeypatch):
@@ -27,3 +27,26 @@ def test_hardware_acceptance_never_runs_beside_active_mission(tmp_path, monkeypa
2727
with pytest.raises(ValueError, match="stopped"):
2828
hardware_acceptance.run(tmp_path, tmp_path / "unused.json")
2929
assert not (tmp_path / "research/hardware-acceptance").exists()
30+
31+
32+
def test_capability_audit_before_any_mission_has_no_fake_hardware_evidence(tmp_path, monkeypatch):
33+
monkeypatch.setattr(mission, "status", lambda root: {"running": False})
34+
monkeypatch.setattr(
35+
progress,
36+
"report",
37+
lambda root: dict.fromkeys(
38+
(
39+
"last_learning_cycle",
40+
"accepted_weight_updates_this_run",
41+
"training_metrics",
42+
"paper_blockers",
43+
"available_audited_paper_outcomes",
44+
"drones",
45+
"external_compute",
46+
)
47+
),
48+
)
49+
result = capabilities.audit(tmp_path)
50+
assert result["mission_running"] is False
51+
assert result["helper_active_time_target_percent"] is None
52+
assert result["master_architecture"]["backend"] == "llama.cpp"

0 commit comments

Comments
 (0)