Validate pair content seed rerolls

This commit is contained in:
2026-06-27 19:37:25 +02:00
parent 098721504d
commit 007386aae3
5 changed files with 65 additions and 4 deletions
+6 -2
View File
@@ -7918,7 +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("pair_seed_checks") == 3, "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 (
@@ -7981,7 +7981,7 @@ def smoke_prompt_route_simulation_policy() -> None:
):
_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"):
for check_name in ("pair_seed.locked_determinism", "pair_seed.content_reroll", "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}")
@@ -7989,6 +7989,10 @@ def smoke_prompt_route_simulation_policy() -> None:
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.content_reroll"].get("changed") is True,
"Pair content reroll should prove soft outfit/content can reroll while hard action stays locked",
)
_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",