Skip to content

feature/issue-23/implement-orchestrator#27

Merged
alperkent merged 11 commits into
mainfrom
alperkent/issue23
May 21, 2025
Merged

feature/issue-23/implement-orchestrator#27
alperkent merged 11 commits into
mainfrom
alperkent/issue23

Conversation

@alperkent
Copy link
Copy Markdown
Collaborator

Resolves #23 with various other improvements.

alperkent and others added 5 commits May 14, 2025 19:07
…FeatureCategories class, edit all related modules to use the new spiral config class properly, add tests for customizing spiral config, and add smoke test for orchestrator
- Modified center_spiral.py so that it can be used to center reference spiral as well, and added unit tests.
- Renamed the unit test script for reference spiral module to match the module name.
- Replaced the sample data file with a more realistic one.
- Added a perfect spiral with 3000 points to the sample data folder to use for testing the center_spiral function.
- Removed the center_spiral call from velocity.py since the spiral is now centered in the orchestratior.
- Changed the name of the class method for SpiralConfig and modified relevant calls.
- Refactored orchestrator to refine output formatting.
…ance CSV export logging and error handling; add unit tests, edit velocity metrics unit test to fix centering changes.
@alperkent alperkent added enhancement New feature or request refactor Alterations of code that do not affect function task A development task intended for Github Projects labels May 19, 2025
@alperkent alperkent requested a review from Asanto32 May 19, 2025 20:16
@alperkent alperkent self-assigned this May 19, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4af292f) to head (a84ccf7).
Report is 12 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #27      +/-   ##
===========================================
+ Coverage   98.24%   100.00%   +1.75%     
===========================================
  Files           9        10       +1     
  Lines         171       296     +125     
===========================================
+ Hits          168       296     +128     
+ Misses          3         0       -3     

☔ 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.

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.

Looks pretty good. The major thing is to fix the unit tests to avoid all the logic branching. The test becomes quite convoluted and then it is no longer clear what unit of code it is testing

Comment thread src/graphomotor/core/config.py Outdated
Comment thread src/graphomotor/core/orchestrator.py Outdated
Comment thread src/graphomotor/core/orchestrator.py Outdated
Comment thread src/graphomotor/core/orchestrator.py Outdated
Comment thread src/graphomotor/core/orchestrator.py
Comment thread src/graphomotor/core/orchestrator.py
Comment thread src/graphomotor/utils/center_spiral.py
Comment thread tests/unit/test_center_spiral.py Outdated
Comment thread tests/unit/test_config.py Outdated
Comment thread tests/unit/test_orchestrator.py Outdated
…strator.py, and break up tests to avoid logic branching
@alperkent alperkent requested a review from Asanto32 May 21, 2025 13:02
…efault values for output_path and feature_categories
…g_params` argument of `run_pipeline`; update imports across multiple modules for consistency of importing only at module-level.
Comment thread src/graphomotor/utils/center_spiral.py
@alperkent alperkent merged commit 2cee2aa into main May 21, 2025
22 checks passed
@alperkent alperkent deleted the alperkent/issue23 branch May 21, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Alterations of code that do not affect function task A development task intended for Github Projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Implement orchestrator.py module, pipeline for feature extraction

3 participants