Add circular relaxed S3F prediction helpers#1899
Merged
FlorianPfaff merged 7 commits intomainfrom Apr 28, 2026
Merged
Conversation
Contributor
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
Contributor
Test Results 12 files 12 suites 4h 33m 21s ⏱️ Results for commit 3625c89. ♻️ This comment has been updated with latest results. |
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
Adds a narrow
S1 x R2relaxed S3F helper module for equal-width circular grids. The helper computes closed-form circular cell statistics and delegates prediction through the existingStateSpaceSubdivisionFilter.predict_linear(...)path, preserving the current baseline implementation.Included pieces:
src/pyrecest/filters/relaxed_s3f_circular.pytests/filters/test_relaxed_s3f_circular.pyExcluded from this PR intentionally: experiment runner scripts, generated plots, generated CSVs, and notes from the local pilot run.
Details
The new helper supports three variants for direct comparison:
baseline: representative-cell displacementr1: cell-averaged displacementr1_r2: cell-averaged displacement plus grid-induced covariance inflationThe tests cover positive-semidefinite covariance inflation, closed-form statistics against dense deterministic quadrature, mass conservation through predict/update, and convergence of the relaxation terms under grid refinement.
Validation
Result:
4 passed.