![]() |
Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
3 Attachment(s)
5:42 EST (v2): Updated with more DLLs in the binary zip which will hopefully allow it to work.
6:27 EST (v3): Updated with sorting and a reduction in verbosity. I've spent a bit of time recently cleaning up my offensive power rating code and adding a few new features that I felt would be useful this year. The application is attached, as is the source code. Features: 1) Automatically downloads current results from usfirst.org, parses them, and outputs the results, with only 3 parameters from the user (which regional, which year, and which statistic you want) 2) Three statistics: Offensive Power Rating, Defensive Power Rating, and Estimated +/-. The +/- is simply the OPR minus the DPR. It may or may not actually be useful (or correct!). 3) Easy to use, by my standards. Just double click, enter the parameters it asks for, and it'll download match results itself. Can also be run from a script with command-line parameters for people that want their statistics automated. 4) The parsing code is written so it can be used before a regional is complete. Obviously this reduces the accuracy of the outputted stats, and it doesn't even work before each team has played 2-3 matches. But this can be useful for the friday-evening scouting meeting to pick out diamonds in the rough. Disclaimers: 1) There are people that don't believe OPR will be useful this year. I disagree with them, but keep that in mind. 2) OPR does not indicate just a robot's performance, but a whole team's performance. If a team has a weak robot but a stellar human player, they might still have a high OPR. 3) Having a high OPR in this game means very little without also having a low DPR. If you score 80 points in a match but always give away 100, you are not useful to your alliance. 4) I don't know how accurate the +/- stuff is, it is a result of me playing around. Hopefully some teams out at regionals right now can compare with their scouting data and give feedback. Interpretations: A high OPR might indicate: -A robot that is very effective at getting balls into enemy trailers -A HP that is very effective at getting balls into enemy trailers -A robot that does the grunt-work at supplying empty cells so that its alliance can always score a couple super-cells -Any robot that just 'greases the wheels' of its alliance, resulting in higher scores A low OPR (yes, it can even be negative) might indicate: -An otherwise good robot that takes a lot of penalties -A robot that simply doesn't score much -A robot impedes its alliance-partner's progress at scoring 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. A low DPR might indicate: -A mobile robot that can effectively keep its trailer out of trouble -A lucky robot Really, I should have called DPR something else, because a high DPR actually means you're very bad at defending your trailer. Without further adieau, the attachments: |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Sounds interesting. Before I download, what did you compile it with and for what platform (Windows XT I assume)?
|
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Quote:
|
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
I got this error :
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Quote:
|
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Quote:
Try grabbing the Visual Studio 2005 redistributable: http://www.microsoft.com/downloads/d...displaylang=en I'm going to update the .zip with the DLLs I think are necessary, but I don't have high hopes. |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Quote:
Quote:
When I googled them, I found several mentions of people getting that error and solving it by selecting the "Embed Manifest" option when compiling. I don't know whether this correct or relevant. Thanks - Sam Edit: Tried installing the redistributable, made no difference. |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Quote:
1) The .exe I zipped is the debug version, and so looks for debug DLLs that most people won't have 2) Some (most?) people won't have the VS2005 redistributable anyway. |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Next time you do this sort of stuff, PM me so I can develop a mac version alongside yours!
I may try to port this one |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
1 Attachment(s)
Quote:
Edit: here's the math library I used. |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Runs on my vista system
Thanks, |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Just posted a v3 revision that sorts the output, reduces how much pre-statistic stuff it spews, and fixes a bug where the command-line version would pause for input.
|
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
please add a "verbose" option that I can turn off :)
thanks. |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Results from Jersey below (go 1923!!) :
Code:
OPR 1923 31.6079Code:
DPR 136 32.7112Code:
PlusMinus 1218 24.2442 |
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
Also, can you reverse the sort on DPR? (since lower is better, they should be at the top of the list)
great work, thanks. |
| All times are GMT -5. The time now is 18:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi