Skip to content

feature/issue-29/implement-caching#31

Merged
alperkent merged 10 commits into
mainfrom
alperkent/issue29
Jul 22, 2025
Merged

feature/issue-29/implement-caching#31
alperkent merged 10 commits into
mainfrom
alperkent/issue29

Conversation

@alperkent
Copy link
Copy Markdown
Collaborator

Resolves #29 with an additional small fix to test workflow.

@alperkent alperkent requested a review from Asanto32 July 7, 2025 15:30
@alperkent alperkent self-assigned this Jul 7, 2025
@alperkent alperkent added enhancement New feature or request task A development task intended for Github Projects labels Jul 7, 2025
Comment thread tests/unit/test_generate_reference_spiral.py Outdated
Comment thread tests/conftest.py Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (467ffdd) to head (e0139bb).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          296       305    +9     
=========================================
+ Hits           296       305    +9     

☔ View full report in Codecov by Sentry.
📢 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.

…ancy and change cache directory path from "data" to "cache"
@alperkent alperkent requested a review from Asanto32 July 7, 2025 19:56
… spiral generation to improve performance, convert SpiralConfig to frozen dataclass for immutability necessary for caching, and fix center_spiral to modify a copied SpiralConfig instead of the original
@alperkent
Copy link
Copy Markdown
Collaborator Author

@Asanto32 refactored the reference spiral generation to do incremental arc length calculation instead, which improves the performance as @reindervdw-cmi suggested.

Copy link
Copy Markdown
Collaborator

@Asanto32 Asanto32 left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread src/graphomotor/utils/generate_reference_spiral.py
Comment thread src/graphomotor/utils/generate_reference_spiral.py
Comment thread tests/unit/test_generate_reference_spiral.py
@alperkent alperkent merged commit ba62c7b into main Jul 22, 2025
25 checks passed
@alperkent alperkent deleted the alperkent/issue29 branch July 22, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request task A development task intended for Github Projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Implement caching for reference spiral generation

3 participants