Skip to content

Refactor - Part 1 - #457

Closed
ASKabalan wants to merge 5 commits into
mainfrom
develop
Closed

ASKabalan wants to merge 5 commits into
mainfrom
develop

Conversation

@ASKabalan

@ASKabalan ASKabalan commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

@matt-graham
I am opening this PR so we follow the API refactoring.

In this first commit I just layed out the skeleton of the new API and it only routes to the old one.
Thus this wouldn't impact anyone.

I suggest doing this in three steps.
1 - This skeleton API
2 - deeper refactoring splitting shared code (to stay in spherical.py for example) from sampling specific code (to go to each new sampling file)
3 - delete old APIs

We can discuss the milestones for this but I would suggest for it to be v1.6 v2.0 and v2.1 respectively

(PS : I would remove the design doc from the commit before merging)

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@ASKabalan ASKabalan changed the title develop Refactor - Part 1 Dec 2, 2026
@ASKabalan

Copy link
Copy Markdown
Collaborator Author

Superseded by #458, opened from the refactor-part-1 branch.

@ASKabalan ASKabalan closed this Dec 2, 2026
@codecov

codecov Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.21311% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.67%. Comparing base (22692a7) to head (3a29e28).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/s2fft/sampling/octahedral_gaussian.py 72.72% 9 Missing ⚠️
src/s2fft/sampling/reduced_gaussian.py 72.72% 9 Missing ⚠️
src/s2fft/sampling/abstract_sampling.py 97.77% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #457      +/-   ##
==========================================
- Coverage   96.98%   96.67%   -0.31%     
==========================================
  Files          36       47      +11     
  Lines        3577     3821     +244     
==========================================
+ Hits         3469     3694     +225     
- Misses        108      127      +19     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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