Skip to content

Fix reference kind histograms - #2646

Merged
Widthdom merged 5 commits into
mainfrom
fix-issue1777
May 24, 2026
Merged

Fix reference kind histograms#2646
Widthdom merged 5 commits into
mainfrom
fix-issue1777

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Preserve raw per-kind reference histograms for grouped callers / callees rows.
  • Render human caller/callee output with count-aware kind labels, while keeping the existing scalar and distinct-kind fields.
  • Add regression coverage for mixed-kind caller/callee JSON and human output.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~DbReaderTests.GetCallers_ExposesDistinctReferenceKindsForMixedGroups|FullyQualifiedName~QueryCommandRunnerTests.RunCallers" -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • Adversarial review: No blocking/actionable issues found.

Documentation and changelog

  • Added changelog.d/unreleased/1777.fixed.md.
  • No AGENTS.md, CLAUDE.md, or AGENT_GUIDE.md changes.

Follow-up candidates

  • None.

Fixes #1777

@Widthdom
Widthdom merged commit 89be748 into main May 24, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue1777 branch May 24, 2026 18:52
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.

ReferenceKinds GROUP_CONCAT DISTINCT loses per-kind cardinality histogram

1 participant