Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test(288): guard the spelling of the claim that actually recurred
`test_no_file_describes_overall_as_an_object_verdict` banned `object verdict`
and friends, and `aggregate-metrics.md` went on saying "The unit is the object"
for another review round -- on the page every cross-link targets. The guard
passed the whole time. Banning the concept in one spelling and not the other is
how that happens.

Verified it fires on the reintroduced wording (`aggregate-metrics.md:89`) and is
quiet after.

  2368 passed, 12 skipped        ruff check clean
  • Loading branch information
sromoam committed Sep 8, 2026
commit f8d8c9e09c9cc9f8de75869a54ba98050933487b
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,18 @@ def test_no_file_describes_overall_as_an_object_verdict(self):
boundary this guard cannot police, not as an oversight.
"""
repo_root = Path(__file__).resolve().parents[2]
banned = ("object verdict", "verdicts at", "own direct classification")
# "the unit is the object" is here because it is the form that actually
# recurred: the phrase-based guard caught `object verdict` and friends
# while `aggregate-metrics.md` went on saying "The unit is the object" for
# another review round, on the page every cross-link targets. Banning the
# concept in one spelling and not the other is how a guard passes while
# the claim survives.
banned = (
"object verdict",
"verdicts at",
"own direct classification",
"unit is the object",
)
offenders = [
f"{path}:{number}"
for path, number, line in _authored_prose(repo_root)
Expand Down
Loading