Broaden seed axis simulation checks

This commit is contained in:
2026-06-27 18:54:22 +02:00
parent f91953f12b
commit 7778a5f31f
2 changed files with 206 additions and 53 deletions
+22 -1
View File
@@ -7834,7 +7834,7 @@ def smoke_prompt_route_simulation_policy() -> None:
report = prompt_route_simulation.run_simulation(seed=3901, include_prompts=False)
summary = report.get("summary") or {}
_expect(summary.get("cases") == 11, "Prompt route simulation case count changed unexpectedly")
_expect(summary.get("axis_checks") == 1, "Prompt route simulation lost axis check coverage")
_expect(summary.get("axis_checks") == 6, "Prompt route simulation lost axis 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 (
@@ -7856,6 +7856,27 @@ def smoke_prompt_route_simulation_policy() -> None:
"penis_licking" in (pov_summary.get("position_keys") or []),
"Prompt route simulation lost selected outercourse key from position_keys",
)
axis_checks = {check.get("name"): check for check in report.get("axis_checks") or []}
for check_name in (
"seed_axis.locked_determinism",
"seed_axis.person_reroll",
"seed_axis.scene_reroll",
"seed_axis.pose_reroll",
"seed_axis.expression_reroll",
"seed_axis.composition_reroll",
):
check = axis_checks.get(check_name) or {}
_expect(check, f"Prompt route simulation lost seed-axis check {check_name}")
_expect(not check.get("issues"), f"Prompt route simulation seed-axis check reported issues: {check_name}")
_expect(axis_checks["seed_axis.locked_determinism"].get("changed") is False, "Locked determinism check should not be a reroll")
for check_name in (
"seed_axis.person_reroll",
"seed_axis.scene_reroll",
"seed_axis.pose_reroll",
"seed_axis.expression_reroll",
"seed_axis.composition_reroll",
):
_expect(axis_checks[check_name].get("changed") is True, f"{check_name} should prove its axis can reroll")
def smoke_node_camera_registration() -> None: