feat(perception): add dual evidence replay threat

This commit is contained in:
DCCONSTRUCTIONS
2026-08-05 19:18:01 +03:00
parent 6b810952a4
commit b0d0bc8d7f
22 changed files with 3122 additions and 14 deletions
+17
View File
@@ -311,12 +311,29 @@ class LaboratoryRunner:
def canonical_laboratory_adapters() -> dict[str, LaboratoryAdapter]:
return {
"canonical.m4-replay-threat/v1": _run_m4_replay_threat,
"canonical.e33-worker-shadow/v1": _run_e33,
"canonical.e35-degradation-recovery/v1": _run_e35,
"canonical.e46j-raw-fisheye-realtime/v1": _run_e46j,
}
def _run_m4_replay_threat(request: LaboratoryRunRequest) -> LaboratoryAdapterResult:
from k1link.perception.threat_replay import build_threat_replay
result = build_threat_replay(
repository_root=request.inputs["repository_root"],
temporal_result_root=request.inputs["temporal_result_root"],
geometry_result_root=request.inputs["geometry_result_root"],
detector_result_root=request.inputs["detector_result_root"],
output_root=request.output_root,
)
return LaboratoryAdapterResult(
result_root=result.result_root,
result_id=result.result_id,
)
def _run_e33(request: LaboratoryRunRequest) -> LaboratoryAdapterResult:
from k1link.compute.e33_worker_shadow import run_e33_worker_shadow