Skip to content

Graph comparison ledger: validate Dart shapes (Part of #9329) - #9354

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/9329-dart
Nov 26, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/9329-dart

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #9329 (Dart slice; Haskell is #9353). Both PRs edit different language entries of the same ledger JSON; the SVG is regenerated, so rebase and re-run graph_coverage_chart.py --write after the first merges.

What changed

Data only: docs/self_scan/graph_comparison_ledger.json and the regenerated docs/self_scan/graph_coverage_chart.svg. Dart has no open shapes now, so it loses its * on the graph coverage chart (call precision 98.6%, recall 98.9%).

  • 20 seeded shapes validated: 13 no longer reproduce (closed, no credit), 2 import shapes re-checked with import_graph_accuracy.py dart (precision and recall 100%, FP and FN empty), 5 live read against source.
  • 3 live shapes the seed lacked added.
  • Credit gitgalaxy: super.x(...) initializer-list constructor calls (C3). No credit: object-pattern types, is/is! types, parameter types, a factory's own declaration (C3, declarations are not calls).

Sibling gaps

  • Dart object-pattern types, is/is! types, parameter types and a factory's own name reported as callees. No burned-estate program needs it.

Cross-repo

None.

Facts checked:

  • Fresh call_graph_accuracy.py --json run at main HEAD; import_graph_accuracy.py dart clean.
  • graph_coverage_chart.py --check: current. pytest tests/tools/test_call_graph_accuracy.py: 76 passed. audit_check.py: all clear.

Lessons for agents

  • call_graph_accuracy.py --json output lists live shapes the committed seed lacks; add and validate them or the language keeps its *.
  • A not-a-call-in-ts: shape key carries that prefix in the ledger; strip it when matching verdict tables.

🤖 Generated with Claude Code

Closes the 20 seeded Dart shapes (13 no longer reproduce, 2 import shapes
re-checked clean) and validates 3 live shapes the seed lacked.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 26, 2026 01:30
@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 Nov 26, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 26, 2026 01:35
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 4f8f096 into main Nov 26, 2026
62 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/9329-dart branch November 26, 2026 01:46
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