Skip to content

Record is_border_4() as deliberately retained, not orphaned - #13

Closed
billdenney wants to merge 1 commit into
mainfrom
review/no-consumer-audit
Closed

Record is_border_4() as deliberately retained, not orphaned#13
billdenney wants to merge 1 commit into
mainfrom
review/no-consumer-audit

Conversation

@billdenney

Copy link
Copy Markdown
Member

The 2026-07-28 no-consumer audit re-confirmed that src/thinr_common.h's is_border_4() has no caller: no .cpp references it, and the only other mention was the CLAUDE.md line listing it as a shared helper. Its last callers were the stentiford and pavlidis kernels, dropped 2026-05-20.

thinr's own REVIEW-2026-07-28.md left the choice open -- "delete the is_border_4 definition and the CLAUDE.md mention, or add a comment stating it is retained deliberately" -- and deliberately did not decide. This commit takes the second option and closes the ambiguity, which is the point of the audit: the helper is part of the shared 8-neighbour vocabulary a new thinning kernel is written against, an uncalled inline emits no code, and the standing instruction is not to remove code that is likely to be useful merely because it has no consumer yet.

No behaviour change: comments only.

The 2026-07-28 no-consumer audit re-confirmed that src/thinr_common.h's
is_border_4() has no caller: no .cpp references it, and the only other
mention was the CLAUDE.md line listing it as a shared helper. Its last
callers were the stentiford and pavlidis kernels, dropped 2026-05-20.

thinr's own REVIEW-2026-07-28.md left the choice open -- "delete the
is_border_4 definition and the CLAUDE.md mention, or add a comment stating
it is retained deliberately" -- and deliberately did not decide. This
commit takes the second option and closes the ambiguity, which is the
point of the audit: the helper is part of the shared 8-neighbour
vocabulary a new thinning kernel is written against, an uncalled inline
emits no code, and the standing instruction is not to remove code that is
likely to be useful merely because it has no consumer yet.

No behaviour change: comments only.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/thinr_common.h 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@billdenney

Copy link
Copy Markdown
Member Author

Superseded by #14

@billdenney billdenney closed this Jul 30, 2026
@billdenney
billdenney deleted the review/no-consumer-audit branch July 30, 2026 21:01
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.

1 participant