Skip to content

test(devkit): add property-based tests for percentile functions#276

Open
Leothosine wants to merge 1 commit into
StellarCommons:mainfrom
Leothosine:feat/issue-174-percentile-prop-tests
Open

test(devkit): add property-based tests for percentile functions#276
Leothosine wants to merge 1 commit into
StellarCommons:mainfrom
Leothosine:feat/issue-174-percentile-prop-tests

Conversation

@Leothosine
Copy link
Copy Markdown

Summary

Adds property-style tests asserting percentile invariants on arbitrary fee sequences.

Changes

  • Test p0 returns minimum, p100 returns maximum
  • Test monotone increasing property across p25/p50/p75
  • Test uniform sequences return same value at all percentiles
  • Test interpolation p50 of two elements equals midpoint

closes #174

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@Leothosine Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[devkit/testing] Add property-based tests for percentile functions

1 participant