Honor softcore clothing restore for atlas prompts
This commit is contained in:
+28
-2
@@ -8639,9 +8639,35 @@ def smoke_pov_oral_position_routes() -> None:
|
||||
clothing_only_top_krea.get("krea_prompt"),
|
||||
60,
|
||||
).lower()
|
||||
clothing_only_prompt_key = _clean_key(clothing_only_top_prompt)
|
||||
clothing_only_state = _clean_key(clothing_only_top_pair.get("hardcore_clothing_state"))
|
||||
expected_clothing_terms = [
|
||||
term
|
||||
for term in (
|
||||
"body is fully exposed",
|
||||
"bare skin unobstructed",
|
||||
"pushed aside",
|
||||
"partly removed",
|
||||
"oral contact unobstructed",
|
||||
"belt open and pants lowered below the hips",
|
||||
)
|
||||
if term in clothing_only_state
|
||||
]
|
||||
_expect(
|
||||
any(str(detail).lower() in clothing_only_top_prompt for detail in clothing_only_details),
|
||||
f"Krea2 POV Prompt Restore clothing-only final prompt did not include sampled clothing detail: {clothing_only_top_prompt}",
|
||||
expected_clothing_terms,
|
||||
f"Krea2 POV Prompt Restore clothing-only fixture lost softcore-derived clothing state: {clothing_only_state}",
|
||||
)
|
||||
_expect(
|
||||
any(term in clothing_only_prompt_key for term in expected_clothing_terms),
|
||||
f"Krea2 POV Prompt Restore clothing-only final prompt did not follow softcore clothing continuity: {clothing_only_top_prompt}",
|
||||
)
|
||||
_expect(
|
||||
"clothing state:" not in clothing_only_top_prompt,
|
||||
f"Krea2 POV Prompt Restore clothing-only final prompt leaked raw clothing label: {clothing_only_top_prompt}",
|
||||
)
|
||||
_expect(
|
||||
not any(str(detail).lower() in clothing_only_top_prompt for detail in clothing_only_details),
|
||||
f"Krea2 POV Prompt Restore clothing-only final prompt should not dump raw clothing_detail: {clothing_only_top_prompt}",
|
||||
)
|
||||
|
||||
sitting_variant_config = sxcp_nodes.NODE_CLASS_MAPPINGS["SxCPKrea2POVOralFilter"]().build(
|
||||
|
||||
Reference in New Issue
Block a user