Add Krea2 next test plans
This commit is contained in:
@@ -6863,9 +6863,26 @@ def smoke_krea2_tuning_report_policy() -> None:
|
||||
summary.get("variants_without_accepted_evidence") == ["pov_ballsucking_low_head"],
|
||||
f"Krea2 tuning report missing-evidence set changed: {summary.get('variants_without_accepted_evidence')}",
|
||||
)
|
||||
plans = krea2_tuning_report.next_test_plans()
|
||||
_expect([plan.get("key") for plan in plans] == ["pov_ballsucking_low_head"], "Krea2 tuning report next plans changed")
|
||||
ballsucking_plan = plans[0]
|
||||
_expect(
|
||||
"woman bends forward and kneels very low" in " ".join(ballsucking_plan.get("prompt_cues") or []),
|
||||
"Ballsucking test plan lost atlas-backed prompt cue",
|
||||
)
|
||||
_expect(
|
||||
"mid-height head placement" in " ".join(ballsucking_plan.get("avoid_cues") or []),
|
||||
"Ballsucking test plan lost avoid cue",
|
||||
)
|
||||
_expect(
|
||||
any(str(path).endswith("ballsucking/101_ballsucking.png") for path in ballsucking_plan.get("reference_paths") or []),
|
||||
"Ballsucking test plan lost atlas reference path",
|
||||
)
|
||||
markdown = krea2_tuning_report.markdown_report()
|
||||
_expect("pov_ballsucking_low_head" in markdown, "Krea2 tuning report markdown lost candidate variant")
|
||||
_expect("needs_fixed_seed_tests" in markdown, "Krea2 tuning report markdown lost coverage state")
|
||||
_expect("Prompt cues" in markdown, "Krea2 tuning report markdown lost next-test cue section")
|
||||
_expect("Avoid cues" in markdown, "Krea2 tuning report markdown lost next-test avoid section")
|
||||
|
||||
|
||||
def smoke_krea_pov_penetration_route() -> None:
|
||||
|
||||
Reference in New Issue
Block a user