Skip to content

fix(reports): retain attribution completeness and active coverage - #195

Merged
codeasier merged 1 commit into
mainfrom
fix/issue-179
Oct 3, 2026
Merged

codeasier merged 1 commit into
mainfrom
fix/issue-179

Conversation

@codeasier

Copy link
Copy Markdown
Owner

Summary

Retain attribution completeness flags and effective filters in peak reports. Expose included bytes, included-byte percentage denominator, same-event active counter and coverage. Mark text reports partial/possibly incomplete when the dynamic ranking window is full; preserve existing numeric percentages and special categories. Synchronize bilingual guides and diagnostic workflows with finite replacement-window guidance.

Fixes #179

Validation on latest main

  • Fixture provenance: 7 passed
  • Full pytest with branch coverage: 1388 passed, 91.50% coverage
  • Ruff, Black and diff check passed
  • Original isolated basedpyright: 0 errors (770 informational warnings)
  • Regression tests cover all metrics, special/static exclusion, cap boundaries, empty/NULL/zero denominators, text/JSON and API query comparison.

@codeasier
codeasier merged commit 3004224 into main Oct 3, 2026
6 checks passed
@codeasier
codeasier deleted the fix/issue-179 branch October 3, 2026 19:18
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.

[BUG] peak-memory report 丢失归因完整性标志,截断百分比容易被误读

1 participant