Naturalize composition frame wording

This commit is contained in:
2026-06-27 21:45:21 +02:00
parent e9bd9c45ca
commit a4b4dae8cf
7 changed files with 50 additions and 7 deletions
+9 -1
View File
@@ -4029,6 +4029,10 @@ def smoke_caption_policy() -> None:
caption_policy.normalize_composition("vertical centered body frame") == "centered body frame",
"Caption composition normalization changed",
)
_expect(
caption_policy.normalize_composition("vertical centered body frame composition") == "centered body frame",
"Caption composition should drop trailing composition label",
)
_expect(
caption_policy.clean_clothing("silk dress, fashion editorial styling") == "silk dress",
"Caption clothing cleanup changed",
@@ -6505,7 +6509,11 @@ def smoke_krea_pov_penetration_route() -> None:
_expect("woman" in lower and "thigh" in lower, "POV penetration lost body-position anchors")
_expect("camera:" not in prompt, "POV penetration emitted normal third-person camera directive")
_expect("role graph:" not in lower and "sexual scene:" not in lower, "POV penetration leaked raw prompt labels")
_expect("composition. explicit" in lower, "POV penetration composition sentence should keep punctuation before style suffix")
style_index = lower.find("explicit consensual")
_expect(
style_index > 0 and lower[:style_index].rstrip().endswith("."),
"POV penetration composition sentence should keep punctuation before style suffix",
)
def smoke_pov_outercourse_position_routes() -> None: