feat(devkit): implement percentile functions and P² streaming estimator (#258-#261)#326
Merged
Tinna23 merged 2 commits intoJun 26, 2026
Merged
Conversation
- Add percentile_nearest and percentile_interpolated free functions (StellarCommons#259, StellarCommons#260) - Implement PsquaredEstimator with P² streaming percentile algorithm (StellarCommons#261) - Document ## Simulation section in README with FeeModelConfig, NetworkLoadConfig, example usage, and CSV export instructions (StellarCommons#258) Closes StellarCommons#258 Closes StellarCommons#259 Closes StellarCommons#260 Closes StellarCommons#261
|
@Ibinola 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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #258
Closes #259
Closes #260
Closes #261
Changes
#258: Update README with ## Simulation section
FeeModelConfigandNetworkLoadConfigfieldsFeeModel::runand scenario generation#259: Add
percentile_nearestfree functionPercentile::nearest_rankinternallyu64for the p-th nearest-rank percentile#260: Add
percentile_interpolatedfree functionPercentile::linear_interpolationinternallyf64for the p-th linearly interpolated percentile#261: Implement
PsquaredEstimatorstreaming P² estimatorupdate(x)andestimate()API