Show eval template commands in Krea2 report
This commit is contained in:
@@ -7195,6 +7195,23 @@ def smoke_krea2_tuning_report_policy() -> None:
|
||||
"pov_sixty_nine_close_reversed_oral" not in [plan.get("key") for plan in plans],
|
||||
"Unstable sixty-nine route should not be queued as a normal fixed-seed candidate",
|
||||
)
|
||||
template_commands = krea2_tuning_report.next_eval_template_commands(seed_token="$SEED")
|
||||
_expect(
|
||||
[command.get("key") for command in template_commands]
|
||||
== [plan.get("key") for plan in plans],
|
||||
"Krea2 eval template commands should follow normal next-test candidates",
|
||||
)
|
||||
first_template_command = template_commands[0]
|
||||
_expect(first_template_command.get("key") == "pov_ballsucking_low_head", "First eval template command should target first next-test variant")
|
||||
_expect(
|
||||
"python tools/krea2_record_eval.py --print-template" in str(first_template_command.get("command") or ""),
|
||||
"Krea2 eval template command should use the validated recorder",
|
||||
)
|
||||
_expect("--seed $SEED" in str(first_template_command.get("command") or ""), "Krea2 eval template command should preserve seed placeholder")
|
||||
_expect(
|
||||
"pov_sixty_nine_close_reversed_oral" not in " ".join(str(command.get("command") or "") for command in template_commands),
|
||||
"Krea2 eval template commands should exclude low-priority stronger-control routes",
|
||||
)
|
||||
_expect(
|
||||
[plan.get("key") for plan in plans]
|
||||
== [
|
||||
@@ -7417,6 +7434,9 @@ def smoke_krea2_tuning_report_policy() -> None:
|
||||
_expect("hardest" in markdown, "Krea2 tuning report markdown lost hardest-route marker")
|
||||
_expect("low priority" in markdown, "Krea2 tuning report markdown lost low-priority marker")
|
||||
_expect("pose_or_image_guidance_first" in markdown, "Krea2 tuning report markdown lost control-first marker")
|
||||
_expect("## Eval Entry Template Commands" in markdown, "Krea2 tuning report markdown lost eval template command section")
|
||||
_expect("python tools/krea2_record_eval.py --print-template" in markdown, "Krea2 tuning report markdown lost recorder template command")
|
||||
_expect("--seed <fixed_seed>" in markdown, "Krea2 tuning report markdown lost fixed-seed placeholder")
|
||||
_expect("pov_ballsucking_low_head" in markdown, "Krea2 tuning report markdown lost candidate variant")
|
||||
_expect("pov_footjob_frontal_sole_stroke" in markdown, "Krea2 tuning report markdown lost footjob candidate variant")
|
||||
_expect("pov_fingering_reclined_open_thighs" in markdown, "Krea2 tuning report markdown lost fingering candidate variant")
|
||||
|
||||
Reference in New Issue
Block a user