Skip to content

fix(tests): stop exempting cart, hay-bale and stone-well from the falsifier-table check - #210

Merged
TMHSDigital merged 1 commit into
mainfrom
fix/203-empty-known-undocumented
Sep 23, 2026
Merged

TMHSDigital merged 1 commit into
mainfrom
fix/203-empty-known-undocumented

Conversation

@TMHSDigital

Copy link
Copy Markdown
Owner

Summary

Closes #203. The three pieces it tracks (cart, hay-bale, stone-well) already gained falsifier tables in #205 and #206, and the static checker parses them, but they stayed in KNOWN_UNDOCUMENTED. That exemption is now a hole: deleting one of those tables would make the checker skip the piece instead of failing it. This PR empties the set.

Type

  • feat
  • fix — test correctness
  • docs / chore / ci / refactor

Evidence

  • live-run-proven:
    • E:\Blender-Developer-Tools\.scratch\blender-5.2.1-windows-x64\blender.exe (reports Blender 5.2.1 LTS): python tests/check_falsifier_targets.py --run <that> --only cart --only hay-bale --only stone-well prints 19/19 ok, e.g. cart --sink-tyre: want 18, got 18, stone-well --turn-posts: want 19, got 19.
    • ...\blender-4.5.11-windows-x64\blender.exe (reports Blender 4.5.11 LTS): a direct sweep of the same 19 flags gives identical exit codes. The clean run exits 0 for all three pieces on both versions.
    • No falsifier trips an earlier check. Each failing message names its own flag as "the designed fail", e.g. ERROR: tyre seat depth band [0.00900, 0.00900] outside [0.003, 0.0055] ... (--sink-tyre is the designed fail ...).
  • Static checker: falsifier-target checks passed: 181 falsifier(s) across 28 showcase piece(s). with no backfill note.
  • Falsified: I renamed cart's table header (| Flag | Target budget | Exit | → | Switch | Target budget | Result |). The checker then exits 1 with ERROR: showcase/cart: no falsifier table mapping flag to target budget to exit code. Before this PR, that case was skipped silently. I then restored the header.

Checklist

  • Explicit paths only.
  • No content counts or manifest changes.
  • The changed check was falsified once (above).
  • DCO Signed-off-by: present.
  • No credentials, emails, or local paths beyond the binary paths the template asks for.

Test plan

python tests/check_falsifier_targets.py (static), plus the --run command above.

🤖 Generated with Claude Code

…sifier-table check

All three READMEs gained falsifier tables in #205 and #206, and the
static checker already parses them (28 pieces, 181 falsifiers), but they
stayed listed in KNOWN_UNDOCUMENTED. That exemption is now a hole: if
one of those tables were deleted, the checker would skip the piece
silently instead of failing it.

Every falsifier was run, not read: the runtime mode reports 19/19 exits
matching their declared budgets on Blender 5.2.1, and a direct sweep
gives the same 19 codes on 4.5.11.

Closes #203

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
@TMHSDigital
TMHSDigital merged commit 5453dbb into main Sep 23, 2026
11 checks passed
@TMHSDigital
TMHSDigital deleted the fix/203-empty-known-undocumented branch September 23, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backfill falsifier tables for cart, hay-bale and stone-well

1 participant