View Single Post
  #25   Spotlight this post!  
Unread 12-05-2016, 18:44
antman antman is offline
Registered User
FRC #3238
Team Role: Mentor
 
Join Date: Mar 2016
Rookie Year: 2016
Location: WA
Posts: 10
antman is an unknown quantity at this point
Re: Upset Percentage

Quote:
Originally Posted by markmcgary View Post
Code:
and (blue_points > red_points or (blue_points = red_points and blue_scores.foul_points > red_scores.foul_points))
You are assuming the blue alliance is always the lower-seeded alliance. This isn't always the case. For example:

<http://www.thebluealliance.com/match/2016pncmp_f1m1>

we were on the red alliance even though we were the #5 alliance going against the #2 alliance.
Reply With Quote