Skip to content

README: disclose graph coverage and embed the coverage chart; restyle the chart (#3800) - #3809

Merged
squid-protocol merged 2 commits into
mainfrom
claude/optimistic-heisenberg-bta91d
Sep 26, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
claude/optimistic-heisenberg-bta91d

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #3800 (epic #3772).

README. A new "Graph validation: imports and calls (in progress)" subsection sits in "Accuracy, measured", directly under the tri-comparison chart, and embeds docs/self_scan/graph_coverage_chart.svg (#3802). It opens with the limits:

  • Blast radius, PageRank and the "structural pillars" come from the import graph. Function rankings come from the call graph.
  • Of 59 languages, the import graph is measured in 20, callee names in 11 and call resolution in 2:
    • Python vs pyan3: 99.8% on 1,806 judged links, 51.6% recall;
    • TypeScript vs tsc 6.0.2: 99.9% on 1,520, 57.1% recall.
  • So function-level fan-in and PageRank are a lower bound.
  • The other 38 languages are named as not measured. Small-n languages are faded, and * marks numbers still awaiting a verdict.
  • It links the plan, Epic: compiler call-graph comparison across languages (tooling, skills, per-language references) #3772.

The intro now says there is a third measurement program, in progress. The docs/readme_evidence_roadmap.md row is under Shipped.

Chart restyle (a maintainer request):

  • Precision and Recall are spelled out beside each bar.
  • Colours: precision is violet #4a3aa7 and recall is amber #eda100. That is the dataviz palette's violet and yellow slots, validated as a pair: CVD ΔE 41 and a normal-vision ΔE of 45.9. They're distinct from the blue, orange and aqua tool colours of the charts above. Amber is under 3:1 against the surface, so every bar keeps its value as text beside it.
  • Small n (below 100) fades the same colours, and the legend explains it.
  • Repo names are gone from the cells. Imports now show repos N · files N, callee names show functions N, and call resolution shows vs <tool>. The names are still in the hover tooltip.
  • n is now what recall is out of, with its unit: n=666 imports, n=13,058 calls, n=2,661 edges. Before, it was the max of the two denominators.

Type of change

  • Documentation and chart tooling. No engine change.

CI checklist

  • README five-rule self-check (docs/how_to_maintain_the_readme.md), run against the diff
  • python tests/tools/audit_check.py: all clear
  • tests/tools/test_graph_coverage_chart.py: 6 passed; its assertions are updated for the labels, the fade and the counts
  • python tests/tools/graph_coverage_chart.py --check: the committed SVG is current

Differential Scan target

N/A: no parsing or engine code changed.

Verification

  • Rendered in headless Chromium at full height and checked by eye: no label collisions, and the footer is visible.
  • The palette pair was checked with the dataviz skill's validate_palette.js (light mode).
  • The history CSV is unchanged: this is a presentation change only, and no number moved.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AbvXUJpva5XxxbssoKG9Jt

New "Graph validation: imports and calls (in progress)" subsection under the
tri-comparison chart: import graph measured in 20 of 59 languages, callee names
in 11, call resolution in 2 (Python vs pyan3, TypeScript vs tsc: ~99.8%
precision, ~half recall, so function rankings are a lower bound); the other 38
languages are named as not measured. Roadmap row moved to Shipped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AbvXUJpva5XxxbssoKG9Jt
@squid-protocol squid-protocol added this to the Compiler call-graph comparison milestone Sep 26, 2026 — with Claude
@squid-protocol squid-protocol added the documentation Updates to standard operating procedures, guides, or wiki label Sep 26, 2026 — with Claude
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

…nts instead of repo names

Precision and Recall are spelled out beside each bar and drawn in their own
validated pair (violet / amber, CVD dE 41), distinct from the tool colours of
the charts above; small n fades the same colours (legend). The repo name under
each import cell becomes "repos N · files N" (callee names: functions N), and n
is now what recall is out of, with its unit. Repo names stay in the tooltip.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AbvXUJpva5XxxbssoKG9Jt
@squid-protocol squid-protocol changed the title README: disclose graph coverage, embed the graph coverage chart (#3800) README: disclose graph coverage and embed the coverage chart; restyle the chart (#3800) Sep 26, 2026
@squid-protocol
squid-protocol merged commit 71ff50c into main Sep 26, 2026
29 checks passed
@squid-protocol
squid-protocol deleted the claude/optimistic-heisenberg-bta91d branch September 26, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Updates to standard operating procedures, guides, or wiki

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README: disclose graph coverage (which languages' import and call graphs are measured)

2 participants