Reduce POV camera layout noise

This commit is contained in:
2026-06-28 09:30:32 +02:00
parent 3130942caf
commit 4ca4653e7d
2 changed files with 65 additions and 3 deletions
+30
View File
@@ -881,6 +881,36 @@ def smoke_row_camera_policy() -> None:
"coworking lounge frame with the couple near a desk edge" in updated.get("composition", ""),
"row camera policy did not adapt coworking composition for couple rows",
)
pov_action_row = dict(row)
pov_action_row["composition"] = (
"first-person rear-view frame looking down at the woman's raised ass, "
"with foreground hands and rear-entry contact readable"
)
pov_action_row["prompt"] = (
"A generated adult prompt. Framed as first-person rear-view frame looking down at the woman's raised ass, "
"with foreground hands and rear-entry contact readable. Avoid: low quality."
)
updated_pov_action = row_camera.apply_camera_config(
pov_action_row,
_orbit_camera(horizontal_angle=180, vertical_angle=-30, zoom=7.5),
compact_labels=pb.CAMERA_COMPACT_LABELS,
)
_expect(
"first-person rear-view frame" in updated_pov_action.get("composition", ""),
"row camera policy replaced explicit POV action composition with generic location composition",
)
_expect(
"couple's raised ass" not in updated_pov_action.get("composition", ""),
"row camera policy rewrote explicit female action anatomy as couple anatomy",
)
_expect(
"coworking lounge frame with the couple near a desk edge" not in updated_pov_action.get("composition", ""),
"row camera policy leaked generic coworking composition into explicit POV action frame",
)
_expect(
str(updated_pov_action.get("camera_scene_directive", "")).count(";") <= 3,
"POV camera scene directive became too noisy",
)
already_matching_row = dict(row)
already_matching_row["pov_character_labels"] = []
already_matching_row["composition"] = "coworking lounge frame with the subjects near a desk edge and tall-window depth behind them"