Skip to content

C reference: FreeBSD/QNX/MVS platform groups, document the three expected findings (Part of #3784) - #6620

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/3784-20261025T0930Z
Oct 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/3784-20261025T0930Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Slice 7 of #3784. Adapter-only: no engine change, no golden bless.

What changed

  • tests/tools/clang_callgraph.py: __FreeBSD__, __QNX__, __MVS__ join PLATFORMS (three data rows).
  • docs/graph_accuracy.md: a table mapping the issue's three expected findings (header-prototype calls, the C/C++ link group across translation units, call-like macros) to the reference rule and the test that pins each.
  • tests/tools/test_call_graph_resolution_gate.py: one test for the new platform branches.
  • tests/call_graph_resolution_c_baseline.json: regenerated.

Measured (hiredis + libuv, libclang 18.1.1)

Confident links judged 4,264 -> 4,266, unmapped 237 -> 236, reference edges 11,608 -> 11,617; precision 100.0%, recall 36.7%, resolution recall 49.4% unchanged. The gain is small; the rows are cheap and harmless. call_graph_resolution.py c --ci passes before and after.

Class / Sibling gaps

Class: the C reference's platform link groups (macros that gate in-file branches) plus the coverage record for the issue's three expected findings. Members: Windows, Apple, AIX, Sun (earlier slices), FreeBSD, QNX, MVS (here); the three findings are all covered and tested. Sibling gaps: none in the reference. The remaining 236 unmapped C ends are engine-side (REDIS_TEST and SSL-only bodies, Qt adapter and example, m4/ macros): miss-sweep leads, not burned-estate related. C++ (fmt) has no platform-only sources.

Gates: pr_gates.py --fast 7/7; test_call_graph_resolution_gate.py 14 passed, 1 skipped (the Go toolchain test), run in a scratch venv with libclang==18.1.1 (the selfscan venv has no libclang, so there those tests skip).

Acceptance of #3784 (reference, corpus, adapter, three expected findings) is met; the issue can close on merge.

Cross-repo: none.

🤖 Generated with Claude Code

…cted findings (Part of #3784)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 25, 2026 09:44
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 09:45
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit f64b45a into main Oct 25, 2026
68 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/3784-20261025T0930Z branch October 25, 2026 10:41
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