Skip to content

fix: skip structural-only communities in reports#443

Open
RickwangF wants to merge 1 commit intosafishamsi:v4from
RickwangF:fix-empty-communities-report
Open

fix: skip structural-only communities in reports#443
RickwangF wants to merge 1 commit intosafishamsi:v4from
RickwangF:fix-empty-communities-report

Conversation

@RickwangF
Copy link
Copy Markdown

Summary

  • skip community sections that become empty after filtering structural/file-only nodes
  • avoid rendering Nodes (0): entries in GRAPH_REPORT.md
  • add a regression test for structural-only communities

Test plan

  • Run python3 -m pytest tests/test_report.py -q --tb=short
  • Rebuild a real contact-module report and confirm Nodes (0): no longer appears

🤖 Generated with Claude Code

Avoid rendering empty community sections after report filtering removes file-only and structural nodes, and add a regression test for the case.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant