test(simulation): add integration tests for baseline, spike injector, reproducibility, and congestion predictor#328
Merged
Tinna23 merged 1 commit intoJun 26, 2026
Conversation
… reproducibility, and congestion predictor - Add tests for generate_baseline output length and noise band (StellarCommons#250) - Add spike injector test with rate tolerance (StellarCommons#251) - Add seeded reproducibility test for generate_baseline + inject_spikes (StellarCommons#252) - Add congestion score and label tests across all four tiers (StellarCommons#253) Closes StellarCommons#250 Closes StellarCommons#251 Closes StellarCommons#252 Closes StellarCommons#253
|
@kike-alt 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.
Summary
Add integration tests for the simulation module covering baseline fee generation, spike injection, seeded reproducibility, and congestion scoring/labeling.
Changes
generate_baseline_output_lengthandgenerate_baseline_values_within_noise_bandintegration tests ([devkit/simulation] Write unit tests for baseline fee generator #250)inject_spikes_rate_within_15_percent_of_configuredintegration test ([devkit/simulation] Write unit tests for spike injector #251)generate_baseline_with_spikes_is_deterministicseeded reproducibility test ([devkit/simulation] Write unit tests for seeded reproducibility #252)congestion_score_scores_for_*andcongestion_label_exact_boundariestests covering all four CongestionLabel tiers ([devkit/simulation] Write unit tests for congestion predictor #253)Issues Closed
Closes #250
Closes #251
Closes #252
Closes #253