Skip to content

331 feat adding spearman pitch control#362

Open
twar-TuVie wants to merge 2 commits intoAlek050:developfrom
twar-TuVie:331-feat-adding_spearman_pitch_control
Open

331 feat adding spearman pitch control#362
twar-TuVie wants to merge 2 commits intoAlek050:developfrom
twar-TuVie:331-feat-adding_spearman_pitch_control

Conversation

@twar-TuVie
Copy link
Copy Markdown

First implementation of pitch control model after Spearman(2017)

This is the first implementation of the pitch control suggested by Spearman(2017). It should work, but there are still a lot of things to be done, like mathematical refinement and also making the code more efficient
The calculation of the pitch control was changed to be more true to the original intent of spearman.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 13.04348% with 100 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.41%. Comparing base (e4ce2b3) to head (3156ba4).
⚠️ Report is 79 commits behind head on develop.

Files with missing lines Patch % Lines
databallpy/features/pitch_control_spearman.py 11.11% 88 Missing ⚠️
databallpy/schemas/tracking_data.py 25.00% 12 Missing ⚠️

❌ Your patch check has failed because the patch coverage (13.04%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #362      +/-   ##
===========================================
- Coverage    99.22%   97.41%   -1.82%     
===========================================
  Files           49       67      +18     
  Lines         3736     5291    +1555     
===========================================
+ Hits          3707     5154    +1447     
- Misses          29      137     +108     

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

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