Go to Post We figured it out. - benjiengi [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-07-2013, 22:54
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
New sub-OPR Calculations

Hi,

Sorry it took so long. I had a very busy summer. I recalculated all the autonomous OPR, teleop OPR and climb OPR to take into account the surrogate matches that messed up the data. It was discussed in the thread http://www.chiefdelphi.com/forums/sh...d.php?t=116791. When I have more time, I will explain the math behind what I did.

You can download the latest database at http://www.chiefdelphi.com/media/papers/2174

I hope it is not too late for teams going to IRI. Good luck to everybody going to IRI.
__________________
Please don't call me Mr. Ed, I am not a talking horse.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-07-2013, 21:02
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,928
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: New sub-OPR Calculations

It seems like this post explains what you did pretty well (at least for anyone who understands the base OPR calculations). Or were there any other twists?
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
Reply With Quote
  #3   Spotlight this post!  
Unread 18-07-2013, 22:40
Kevin Leonard Kevin Leonard is offline
Professional Stat Padder
FRC #5254 (HYPE), FRC #20 (The Rocketeers)
Team Role: College Student
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Upstate New York
Posts: 1,251
Kevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond reputeKevin Leonard has a reputation beyond repute
Re: New sub-OPR Calculations

Something interesting must have happened to Archimedes rank #31, FRC 4753.
Auto OPR of 46.8?
__________________
All of my posts are my opinion only and do not reflect the views of my associated teams.
College Student Mentor on Team 5254, HYPE - Helping Youth Pursue Excellence
(2015-Present)
Alumni of Team 20, The Rocketeers (2011-2014)
I'm attempting a robotics blog. Check it out at RocketHypeRobotics.wordpress.com Updated 10/26/16
Reply With Quote
  #4   Spotlight this post!  
Unread 19-07-2013, 12:05
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: New sub-OPR Calculations

Quote:
Originally Posted by Basel A View Post
It seems like this post explains what you did pretty well (at least for anyone who understands the base OPR calculations). Or were there any other twists?
Yes, that is how I did it. I didn't like scaling the score b based on number of matches. It has no mathematical basis. What I proposed to do was just an intuition. It seems more logical but I did not do the math at that time. I finally did the math and what I propsoed was the best way to do it.

However, as Kevin pointed out, it created weird numbers in some rare situations. It happens when teams have negative sub-OPR numbers and especially when teams were involved in surrogate matches or noshow or DQ matches. The reason is I scaled each of the sub-OPR numbers to match the overall OPR number.

I published a new set of data. Instead of scaling, I shift each sub-OPR numbers proportional to the absolute value of the sub-OPR number of the difference that needs to be made up. It works really well. If all sub-OPR numbers are positive, it gives the same number as by simple scaling.

I don't have time right now to explain in more detail. I will try to do that this weekend. I only spotcheck some events. If somebody finds something weird, please let me know.
__________________
Please don't call me Mr. Ed, I am not a talking horse.
Reply With Quote
  #5   Spotlight this post!  
Unread 24-07-2013, 02:42
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: New sub-OPR Calculations

The purpose of this post is to explain exactly how to calculate the sub-OPR, i.e. autonomous OPR, teleop OPR, climb OPR to adjust for issues with surrogate matches, no shows and DQ matches. I would like to ensure all programs that calculate OPRs will give identical results so users can trust the data.

Ether explained the issue very well at http://www.chiefdelphi.com/forums/sh...1&postcount=22 so I am not going to repeat it.

It is fairly easy to find out what the missing scores are whether it is due to surrogate match, no show or DQs. If you add up all the scores from all of the team's matches, and then subtract the AP, CP and TP from the Team Standings data, you will get the missing score.

When solving for A x = b, imagine b is the missing score vector, we can solve for x which represents how much effect it has on each of the teams due to the missing score.

Hence it is possible to scale the score vector b before calculating the OPR which is x in the equation.

Considering the fact that if A x1 = b1, A x2 = b2, then it is true that A (x1+x2) = b1+b2. In my program, it is much easier to scale the x than to scale the b, so that's what I did.

Here are the codes I used shown in pseudo code

shift = OPR - (OPR_auto + OPR_tele + OPR_climb)
sum = abs(OPR_auto) + abs(OPR_tele) + abs(OPR_climb)
OPR_auto = OPR_auto + shift * abs(OPR_auto) / sum
OPR_tele = OPR_tele + shift * abs(OPR_tele) / sum
OPR_climb = OPR_climb + shift * abs(OPR_climb) / sum

Example: Finger Lakes Team 4023

All teams were schedueld to play 9 matches. Team 4023's record was 1-6 which means they missed two matches. The alliance in those two matches scored a total of 92 points which is missing from the calculation of Team 4023's sub-OPR score. It makes their sub-OPR number even worse. The side effect is it also affect all the other team's sub-OPR numbers.

Using old way of calculating sub-OPR,

OPR_auto = -3.9
OPR_climb = -8.3
OPR_tele = 0.6

Using the new proposed way of calculating sub-OPR,

OPR_auto = 0.0
OPR_climb = -0.1
OPR_tele = 1.3

This matches the overall OPR of 1.2 much better and a better estimate of what actually happened than a OPR_climb of -8.3. I also compared a few other cases and I am very happy with the results but I am not listing them here. Check it out and let me know what you think.
__________________
Please don't call me Mr. Ed, I am not a talking horse.

Last edited by Ed Law : 24-07-2013 at 12:39. Reason: finished an unfinished post from late last night
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi