Skip to content

Add tests for get_health_metrics consistency after multiple fee and d…#182

Merged
1nonlypiece merged 5 commits intoCommitlabs-Org:masterfrom
ekumamatthew:test-health-metrics-consistency-150
Feb 26, 2026
Merged

Add tests for get_health_metrics consistency after multiple fee and d…#182
1nonlypiece merged 5 commits intoCommitlabs-Org:masterfrom
ekumamatthew:test-health-metrics-consistency-150

Conversation

@ekumamatthew
Copy link
Contributor

…rawdown records - Closes #150

  • Add comprehensive test suite for health metrics aggregation rules
  • Test cumulative fee aggregation across multiple record_fees calls
  • Test latest-value drawdown semantics across multiple record_drawdown calls
  • Test compliance_score updates after each record type
  • Add mixed operations and edge case testing
  • Document aggregation rules and behavior in health-metrics-aggregation-rules.md
  • Verify fees_generated uses cumulative sum (10 + 20 = 30)
  • Verify drawdown_percent uses latest value (5, 10, 3 -> 3)
  • Verify compliance_score updates correctly for violations and compliant attestations

…rawdown records - Closes Commitlabs-Org#150

- Add comprehensive test suite for health metrics aggregation rules
- Test cumulative fee aggregation across multiple record_fees calls
- Test latest-value drawdown semantics across multiple record_drawdown calls
- Test compliance_score updates after each record type
- Add mixed operations and edge case testing
- Document aggregation rules and behavior in health-metrics-aggregation-rules.md
- Verify fees_generated uses cumulative sum (10 + 20 = 30)
- Verify drawdown_percent uses latest value (5, 10, 3 -> 3)
- Verify compliance_score updates correctly for violations and compliant attestations
@1nonlypiece
Copy link
Contributor

@ekumamatthew please resolve the conflicts & fix the pipeline

@ekumamatthew
Copy link
Contributor Author

image image image test runs on local. cant tell why it fails here

@1nonlypiece
Copy link
Contributor

please resolve the conflicts

@1nonlypiece 1nonlypiece merged commit 58f80d1 into Commitlabs-Org:master Feb 26, 2026
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.

Add tests for get_health_metrics consistency after multiple fee and drawdown records

2 participants