Skip to content

Draft: Add @distribute decorator for parallelizing functions#123

Open
engintoklu wants to merge 10 commits into
masterfrom
feature/functional-distribute
Open

Draft: Add @distribute decorator for parallelizing functions#123
engintoklu wants to merge 10 commits into
masterfrom
feature/functional-distribute

Fix how distribute decorator handles ObjectArray & add test

d1f4829
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 8, 2026 in 1s

75.03% (-0.41%) compared to cebcac4

View this Pull Request on Codecov

75.03% (-0.41%) compared to cebcac4

Details

Codecov Report

❌ Patch coverage is 66.21160% with 198 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.03%. Comparing base (cebcac4) to head (d1f4829).

Files with missing lines Patch % Lines
src/evotorch/_distribute.py 62.92% 142 Missing ⚠️
src/evotorch/tools/_shallow_containers.py 50.00% 43 Missing ⚠️
src/evotorch/decorators.py 89.47% 12 Missing ⚠️
src/evotorch/tools/tensorframe.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   75.43%   75.03%   -0.41%     
==========================================
  Files          59       61       +2     
  Lines        9556    10111     +555     
==========================================
+ Hits         7209     7587     +378     
- Misses       2347     2524     +177     

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