Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Blue Alliance API OPR (http://www.chiefdelphi.com/forums/showthread.php?t=147873)

FlamingSpork 28-04-2016 16:38

Blue Alliance API OPR
 
Does the Blue Alliance API provide teams' OPR values, or will I need to calculate them myself?

Thanks!

connor.worley 28-04-2016 16:39

Re: Blue Alliance API OPR
 
It appears to be provided. See event stats.

plnyyanks 28-04-2016 16:39

Re: Blue Alliance API OPR
 
It's all there for you!

Take a look at the "Event Stats Request" section of http://www.thebluealliance.com/apidocs

Eric Scheuing 28-04-2016 16:50

Re: Blue Alliance API OPR
 
It appears to be a little funky on Archimedes at least. Earlier it was listing my team's OPR as 115.something.

efoote868 28-04-2016 16:59

Re: Blue Alliance API OPR
 
Quote:

Originally Posted by Eric Scheuing (Post 1580109)
It appears to be a little funky on Archimedes at least. Earlier it was listing my team's OPR as 115.something.

You generally need to play at least 6 matches before OPR has any meaning. Before then it is a garbage value.

FlamingSpork 28-04-2016 17:10

Re: Blue Alliance API OPR
 
Quote:

Originally Posted by plnyyanks (Post 1580105)
It's all there for you!

Thanks! I should have looked harder.

Basel A 28-04-2016 17:27

Re: Blue Alliance API OPR
 
Quote:

Originally Posted by efoote868 (Post 1580110)
You generally need to play at least 6 matches before OPR has any meaning. Before then it is a garbage value.

Not a bad rule of thumb, but it depends on the size of the event. With larger events, each team needs to play more matches before getting the same level of accuracy.

Ether 28-04-2016 17:45

Re: Blue Alliance API OPR
 
Quote:

Originally Posted by efoote868 (Post 1580110)
You generally need to play at least 6 matches before OPR has any meaning. Before then it is a garbage value.

Quote:

Originally Posted by Basel A (Post 1580118)
Not a bad rule of thumb, but it depends on the size of the event. With larger events, each team needs to play more matches before getting the same level of accuracy.

http://www.chiefdelphi.com/forums/sh...3&postcount=21


efoote868 28-04-2016 22:07

Re: Blue Alliance API OPR
 
Quote:

Originally Posted by Ether (Post 1580120)

On each of those pretty graphs, where would you estimate the point OPR stabilized? I'd eyeball around 5-6 matches per team, although some sort bound on the delta opr / match might give a more accurate answer. Maybe it is stable once all OPRs don't change more than 2-5% after a match?

Ether 28-04-2016 22:21

Re: Blue Alliance API OPR
 

Since each match generates 2 OPR equations (one for red alliance and one for blue alliance), you need at least T/2 matches to be played (where T is the number of teams) to get an overdetermined system of equations. As you can see from the graphs, it takes a bit more than T/2 to settle down.

But... did you look at the rest of that thread? Eugene Fang came up with a clever idea for getting around this limitation so that a stable OPR can be introduced right at the start of the event... and as matches are played the new data is used to refine the OPR. That new algorithm is used for the match predictions at the TBA site.




All times are GMT -5. The time now is 09:46.

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