Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug signature domain #188

Merged
merged 5 commits into from
Dec 16, 2024
Merged

Fix bug signature domain #188

merged 5 commits into from
Dec 16, 2024

Conversation

inakleinbottle
Copy link
Contributor

The internals of Lie increment path have changed somewhat leading to a problem whereby requesting a signature over the unit interval with resolution 0, does not provide the correct answer. The problem is that internally the query interval is trimmed to without an adjusted resolution. This PR fixes this issue.

This test validates the computed linear signature against expected values, covering levels 0 to 3. It includes an explanation for the adjusted divisor in level 3 due to symmetry considerations, ensuring numerical accuracy.
Updated the `signature` method call to include a `resolution` parameter in the test case for `LieIncrementStream`. This change ensures consistency with the expected method signature and enhances test clarity.
Ensure the resolution is updated if it’s lower than the refined query's second value. This prevents inconsistencies and ensures proper handling in `log_signature_impl`.
The conditional update of the resolution variable was redundant and has been removed. This simplifies the code and ensures that `log_signature_impl` is called with the correct parameters without modifying resolution prematurely.
The 'resolution' parameter in the 'signature' method call was redundant and has been removed for clarity. This ensures the test reflects the current API usage and avoids potential confusion.
@inakleinbottle
Copy link
Contributor Author

The fix in #188 actually caused a new bug in the wider ecosystem exposed in the previous run of the CI here. The fix has been removed.

@inakleinbottle inakleinbottle merged commit 02b5f22 into main Dec 16, 2024
3 checks passed
@inakleinbottle inakleinbottle deleted the fix-bug-signature-domain branch December 16, 2024 14:18
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.

1 participant