Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting (http://www.chiefdelphi.com/forums/showthread.php?t=75272)

Raul 01-03-2009 20:44

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Bongle (Post 828578)
Interpretations:
A high DPR might indicate:
-No-shows or broken robots that spend whole matches with a stopped trailer, thus getting filled up
-Robots that tend to get into positions where they get scored on
-Robots that tend to get their alliance partners into positions where they get scored on
-Robots with no auto mode
-Generally, high DPR means low mobility. It is a robot that gets scored on a lot.
...

High DPR can also mean that a robot purposely scored on his own alliance trailers to increase RS (ranking score) or to prevent a G14 violation.

I can tell you that we did this in 4 of our 7 Q-matches. And it got us the highest RS of all the 2 loss teams and allowed us to be seeded 4th. Without this strategy we would not have gotten to pick 1625 and and probably not have won the regional.

In one case we stopped scoring for ourselves with 30 seconds to go and scored about 40 points for the other alliance. So that also lowered our OPR a little bit. I think many the good veteran teams did this to some extent.

Bongle 01-03-2009 20:46

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Raul (Post 829842)
High DPR can also mean that a robot purposely scored on his own alliance trailers to increase RS (ranking score) or to prevent a G14 violation.

I can tell you that we did this in 4 of our 7 Q-matches. And it got us the highest RS of all the 2 loss teams and allowed us to be seeded 4th. Without this strategy we would not have gotten to pick 1625 and and probably not have won the regional.

In one case we stopped scoring for ourselves with 30 seconds to go and scored about 40 points for the other alliance. So that also lowered our OPR a little bit. I think many the good veteran teams did this to some extent.

Good points. I can't edit the first post anymore or else I'd add that.

Bongle 02-03-2009 21:54

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
1 Attachment(s)
I guess this is up to v5 now. The only difference of any substance is the new prediction feature. Basically, this uses the OPRs computed so far to predict the remaining matches at a regional, and prints out the simulated rankings afterwards. If all the matches have been played, it does a self-analysis to see how accurate it would have been. Based on this, I can say that it is about 65-70% accurate when predicting after 40-50 matches, though this seems to depend heavily on the regional. It is much better at predicting GTR 2008 (80%) than it is predicting DC 2009 (55-60). Still, it is generally a good bit better than a coinflip.

Command-line is:
Code:

oprnet <regional> <year> predict <sort style> <quiet flag>

So...
oprnet il 2009 predict t q
or
oprnet dc 2009 predict t
or
oprnet oh 2009 predict
or
oprnet on 2008 predict (this has pretty cool results)

The main problem with predicting match results is that robots evolve quite a bit over the course of a regional. Some break, some get fixed, some get improved tactics or mechanical parts. Without actual 'on-the-ground' knowledge of what is going on with individual robots, any purely mathematical model is going to fail. Getting 65-70% of guesses right isn't bad. But still, the 'predict' feature is an entertainment-only kind of feature.

billbo911 03-03-2009 10:23

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Bongle (Post 829387)
In a command line:
Code:

oprnet (regional code) (year) (stat) > blah.csv
This uses the DOS redirect operator to send it to a text file. The stats are are tab-seperated so that you should be able to copy/paste it into excel and have all the cells line up properly.

I just tested this method with v.5. I needed to save it as a .txt file for Excel to open it correctly. No big deal.
I also noted that Excel sorted it backward. In other words, the highest ranked team was listed last.Again, this is no big deal and can easily be dealt with.
I'll test more to see if I can get Excel to import it in reverse sort order.

Bongle 03-03-2009 10:32

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by billbo911 (Post 830944)
I just tested this method with v.5. I needed to save it as a .txt file for Excel to open it correctly. No big deal.
I also noted that Excel sorted it backward. In other words, the highest ranked team was listed last.Again, this is no big deal and can easily be dealt with.
I'll test more to see if I can get Excel to import it in reverse sort order.

Oh sorry, I forgot to fix that. I knew there was something requested...

Rick 03-03-2009 10:39

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Any OPR listing for BAE regional?

Bongle 03-03-2009 10:47

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Ricksta121 (Post 830954)
Any OPR listing for BAE regional?

Nope, because the qualification matches have mysteriously disappeared.

Fireworks 234 03-03-2009 10:57

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Bongle (Post 830960)
Nope, because the qualification matches have mysteriously disappeared.

And Buckeye hasn't been updated yet, it's only got a few of the elimination matches in there and they don't even have the cities the teams are from for the awards yet.

Clinton Bolinger 03-03-2009 11:40

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Any chase you can have it run a full report, something like:

Code:

il 2009 opr saa pm t > blah.csv
That way you can bring all the data in to Excel at once instead of running it multiple times.

-Oris-

Bongle 03-03-2009 11:47

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Oris (Post 830998)
Any chase you can have it run a full report, something like:

Code:

il 2009 opr saa pm t > blah.csv
That way you can bring all the data in to Excel at once instead of running it multiple times.

-Oris-

I'll add an "all" option tonight.

engunneer 03-03-2009 12:02

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
1 Attachment(s)
attached is a Autohotkey script I wrote (compiled and main source) that grabs every event in the eventlist.txt file, and makes a .txt file of the results. The result file is already arranged as they will be in the "all" option.

Thanks for the continued updates.

Any way you can grab data from TBA when First's rankings aren't available? I guess you would need a lookup table from (year,event) -> TBA eventID.

Killraine 03-03-2009 12:34

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Am I correct in assuming that each of the following should be sorted (best -> worst) like this:

OPR: High (best) -> Low (worst)
SAA (DPR): Low (best) -> High (worst)
+/-: High (best) -> Low (worst)

If I am right, it seems that V5 sorts them wrong, sorting all categories as low -> high

billbo911 03-03-2009 12:37

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Bongle (Post 831004)
I'll add an "all" option tonight.

While you are adding options...........


Being that this app is dependent on FIRST updating their postings accurately and in a timely manner...
In the odd situation where there would not be access to that data (ie. no wifi available at the venue) or when FIRST has not updated it completely, is thee a way we could create our own file containing all the match scores and teams in each match from regional we are interested in and then have OPRnet point to that data source?

Bongle 03-03-2009 12:44

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by billbo911 (Post 831043)
While you are adding options...........


Being that this app is dependent on FIRST updating their postings accurately and in a timely manner...
In the odd situation where there would not be access to that data (ie. no wifi available at the venue) or when FIRST has not updated it completely, is thee a way we could create our own file containing all the match scores and teams in each match from regional we are interested in and then have OPRnet point to that data source?

Check my OPR thread from last year. That's how it used to work, and I decided it was an annoying way to do things, which is why this year's version has internet connectivity. Keep in mind you need about 30 matches before it starts being able to run OPR, so that'd be a lot of hand-entering.

I'll see about adding a TBA parser (it'd be pretty nice because TBA uses the same formatting for each year, unlike FIRST), but it looks like it'll be pretty annoying owing to the fact that TBA doesn't use the FRC acronyms for events so I'd need a big mapping from (year,event)->(tbaID).

Quote:

If I am right, it seems that V5 sorts them wrong, sorting all categories as low -> high
Yep, that's on the to-do list.

Tom Schindler 03-03-2009 13:05

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Quote:

Originally Posted by Bongle (Post 830960)
Nope, because the qualification matches have mysteriously disappeared.

Anyone know what's going on with the official results from BAE? The only match results listed on FIRST's page are the elimination rounds, even those are not fully up-to-date.


All times are GMT -5. The time now is 00:38.

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