Skip to content

test(detection): pin the Tier 4 data-shape fast-exit (Part of #3188) - #6370

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3188-20261024T0521Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3188-20261024T0521Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3188. Test-only: pins the #3194 data-shape fast-exit (language_lens._tier_4_heuristic_discovery), which shipped without a dedicated test.

Class / Sibling gaps

Class: data or generated files that cost analysis time but carry no code signal. Wordlist half (outlier 2): fixed by #3194, measured a 28k-line extensionless wordlist beside a .c file at ~34 ms; this PR covers the whole input class with tests (upper/lower/mixed case, apostrophes, hyphens, CRLF, the 20-line floor, the 85% single-token threshold, the 1/50 punctuation allowance, and code/multi-token near-misses that must still reach the funnel). Outlier 1: detection fixed by #3137, Security Lens by #5441.
Sibling gaps: (1) AvailabilityInternal.h Optical_Detector residual ~1.3 s on a synthetic 2.2 MB table, spread thinly over ~55 rules (largest Cartography_Mode_B_Braces 0.25 s); an output-identical detector lane is not available without a golden-moving change in detector.py, no burned-estate program needs it. (2) Fast-exit decides on a 64 KB prefix; pinned, not changed. (3) Definition-list data (multi-token lines) still goes through the funnel; no measured cost.

Verification

12 new tests pass (also plain pytest from another cwd); pr_gates --fast 7/7; time ratchet clean. No engine change, no golden bless.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 05:27
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 05:30
@squid-protocol
squid-protocol merged commit 3934676 into main Oct 24, 2026
48 checks passed
@squid-protocol
squid-protocol deleted the churn/3188-20261024T0521Z branch October 24, 2026 05:53
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant