feat(perception): add bounded reference graph

This commit is contained in:
DCCONSTRUCTIONS
2026-08-05 13:57:27 +03:00
parent ae1e41f7fe
commit 029b486c67
11 changed files with 1979 additions and 18 deletions
+4 -1
View File
@@ -321,7 +321,10 @@ def test_reference_graph_config_pins_all_roles_and_queue_bounds() -> None:
ProviderPin(role, f"{role.value}-provider", "v1", "78a3dc2", "a" * 64)
for role in ProviderRole
),
queues=(QueuePolicy("detector", 2, 80_000_000, 200_000_000),),
queues=tuple(
QueuePolicy(stage, 2, 80_000_000, 200_000_000)
for stage in ("detector", "geometry", "temporal", "threat")
),
authority=GraphAuthority(),
)
assert ReferencePerceptionGraphConfig.from_dict(config.to_dict()) == config