Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instance check for reward function #722

Merged
merged 1 commit into from
Sep 23, 2022
Merged

Add instance check for reward function #722

merged 1 commit into from
Sep 23, 2022

Conversation

jswright-dstl
Copy link
Contributor

Current reward function assumes a single detection per track. This adds an instance check to manage when clutter (or non TrueDetection types) is present.

@jswright-dstl jswright-dstl requested a review from a team as a code owner September 22, 2022 11:37
@jswright-dstl jswright-dstl requested review from sdhiscocks and orosoman-dstl and removed request for a team September 22, 2022 11:37
Current reward function assumes a single detection per track
This adds an instance check to manage clutter.
@codecov
Copy link

codecov bot commented Sep 22, 2022

Codecov Report

Base: 94.66% // Head: 94.66% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (a6c1033) compared to base (f88c394).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #722   +/-   ##
=======================================
  Coverage   94.66%   94.66%           
=======================================
  Files         171      171           
  Lines        8773     8774    +1     
  Branches     1707     1707           
=======================================
+ Hits         8305     8306    +1     
  Misses        342      342           
  Partials      126      126           
Flag Coverage Δ
integration 70.02% <100.00%> (+<0.01%) ⬆️
unittests 90.75% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
stonesoup/sensormanager/reward.py 97.72% <100.00%> (+0.05%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sdhiscocks sdhiscocks merged commit a85f1e0 into main Sep 23, 2022
@sdhiscocks sdhiscocks deleted the reward branch September 23, 2022 07:13
@sdhiscocks sdhiscocks added the bug label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants