-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Moving pad locations to field constants. Updated stolen boosts logic. #212
Conversation
Boost steals are now better calculated using the pad label rather than player location heuristic.
✅ Build carball 0.6.18-bgvlwbao completed (commit 222431458a by @IsaacLance) |
1 similar comment
✅ Build carball 0.6.18-bgvlwbao completed (commit 222431458a by @IsaacLance) |
Codecov Report
@@ Coverage Diff @@
## master #212 +/- ##
==========================================
+ Coverage 89.87% 89.97% +0.09%
==========================================
Files 98 98
Lines 4318 4320 +2
Branches 740 742 +2
==========================================
+ Hits 3881 3887 +6
+ Misses 323 317 -6
- Partials 114 116 +2 |
big = cls.field_constants.get_big_pads() | ||
# Get big pads below or above 0 depending on team | ||
if is_orange: | ||
opponent_pad_labels = big[big[:, 1] < 0][:, 2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a bit more detailed explanation of how this logic works?
It is a bit hard to read
✅ Build carball 0.6.18-sqrsrpas completed (commit 68bec4bbe5 by @IsaacLance) |
1 similar comment
✅ Build carball 0.6.18-sqrsrpas completed (commit 68bec4bbe5 by @IsaacLance) |
✅ Build carball 0.6.19-xnabpenp completed (commit 5c25b23e63 by @dtracers) |
1 similar comment
✅ Build carball 0.6.19-xnabpenp completed (commit 5c25b23e63 by @dtracers) |
No description provided.