Validate pair seed simulation behavior

This commit is contained in:
2026-06-27 19:34:43 +02:00
parent a50b9272fe
commit 098721504d
5 changed files with 173 additions and 1 deletions
+14
View File
@@ -7918,6 +7918,7 @@ def smoke_prompt_route_simulation_policy() -> None:
_expect(summary.get("cases") == 14, "Prompt route simulation case count changed unexpectedly")
_expect(summary.get("coverage_checks") == 2, "Prompt route simulation lost family coverage checks")
_expect(summary.get("axis_checks") == 6, "Prompt route simulation lost axis check coverage")
_expect(summary.get("pair_seed_checks") == 2, "Prompt route simulation lost pair seed check coverage")
_expect(summary.get("issues") == 0, f"Prompt route simulation reported issues: {report.get('issues')}")
cases = {case.get("name"): case for case in report.get("cases") or []}
for route_name in (
@@ -7979,6 +7980,19 @@ def smoke_prompt_route_simulation_policy() -> None:
"seed_axis.composition_reroll",
):
_expect(axis_checks[check_name].get("changed") is True, f"{check_name} should prove its axis can reroll")
pair_seed_checks = {check.get("name"): check for check in report.get("pair_seed_checks") or []}
for check_name in ("pair_seed.locked_determinism", "pair_seed.pose_reroll"):
check = pair_seed_checks.get(check_name) or {}
_expect(check, f"Prompt route simulation lost pair seed check {check_name}")
_expect(not check.get("issues"), f"Prompt route simulation pair seed check reported issues: {check_name}")
_expect(
pair_seed_checks["pair_seed.locked_determinism"].get("changed") is False,
"Pair locked determinism check should not be a reroll",
)
_expect(
pair_seed_checks["pair_seed.pose_reroll"].get("changed") is True,
"Pair pose reroll should prove hard action can reroll while soft/cast/scene axes stay locked",
)
def smoke_node_camera_registration() -> None: