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)

The Lucas 10-03-2011 22:31

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

Originally Posted by Ian Curtis (Post 1037618)
This is probably a stupid question. :)

If we do >results.csv when we enter a query, where does this text document get saved? I can't seem to find it.

Thanks!

It should save it to whichever folder you run the command in. However, I wouldn't recommend writing it to a csv file, the output is not comma separated. You can save it to a txt file. I recommend piping it to the clipboard "| clip" then pasting it to excel. It is nice to have one sheet with all the regional. That is how I generated the Top 30.

Tom Bottiglieri 11-03-2011 19:57

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

Originally Posted by Bongle (Post 1034568)
Given that my expertise is in C++, the chances of me personally doing it are very slim. The best I could do would be a java applet embedded in a web page.

Would you be willing to share the v13 source?

Bongle 12-03-2011 07:52

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

Originally Posted by Tom Bottiglieri (Post 1037997)
Would you be willing to share the v13 source?

The v12 source is earlier in the thread, and I think v13 just updated some regional names.

Nathan Streeter 12-03-2011 08:52

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

Originally Posted by The Lucas (Post 1037699)
It should save it to whichever folder you run the command in. However, I wouldn't recommend writing it to a csv file, the output is not comma separated. You can save it to a txt file. I recommend piping it to the clipboard "| clip" then pasting it to excel. It is nice to have one sheet with all the regional. That is how I generated the Top 30.

How do I get the results to output to a .txt? I tried enterring ">output.csv" and ">output.txt" after the results displayed in the command window, but the command window just closed and I couldn't find the output file. How do I get the results to output to something that I could put into an excel file?

Thanks!

Ian Curtis 12-03-2011 11:36

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

Originally Posted by Nathan Streeter (Post 1038155)
How do I get the results to output to a .txt? I tried enterring ">output.csv" and ">output.txt" after the results displayed in the command window, but the command window just closed and I couldn't find the output file. How do I get the results to output to something that I could put into an excel file?

Thanks!

Are you running it from the command line, or double clicking the icon and running from there? I couldn't get the results to store after clicking the icon, but running it from the command line I could. So I just put oprnet on the desktop, opened the command line, type "cd desktop" hit enter, then "oprnet nh 2011 opr t q | clip" and I end up with the opr results by team on the clipboard. Then just paste it into an excel document.

Hope that helps!

menns 12-03-2011 11:49

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
1 Attachment(s)
For any Mac users out there I have updated my OPR program.

Yohan 12-03-2011 16:37

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Is it just me or does the predict function not work for the 2011 season?

The Lucas 12-03-2011 17:29

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

Originally Posted by Yohan (Post 1038249)
Is it just me or does the predict function not work for the 2011 season?

v13 is for last year with the different point based ranking scheme. That doesn't work on this year W L T.

Nathan Streeter 12-03-2011 17:59

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

Originally Posted by Ian Curtis (Post 1038182)
Are you running it from the command line, or double clicking the icon and running from there? I couldn't get the results to store after clicking the icon, but running it from the command line I could. So I just put oprnet on the desktop, opened the command line, type "cd desktop" hit enter, then "oprnet nh 2011 opr t q | clip" and I end up with the opr results by team on the clipboard. Then just paste it into an excel document.

Hope that helps!

Thanks a bunch, Ian! It's working very well now! :-) For being an FRC/scouting/strategy/excel person, I'm not particularly good with any "programming" but C++ and Robolab!

Bongle 12-03-2011 19:29

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

Originally Posted by Yohan (Post 1038249)
Is it just me or does the predict function not work for the 2011 season?

I found that it was crashing for me, too. I'll have to check the source to fix it (and get it to do WLT again)

tim-tim 20-03-2011 20:02

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Is it just me, or is the Chesapeake regional data not working at all.

Bongle 20-03-2011 21:05

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

Originally Posted by tim-tim (Post 1042767)
Is it just me, or is the Chesapeake regional data not working at all.

Looks like they used the old software to generate the scores page, so it is a slightly different format than OPRNet expects and so it fails to load it. If it gets loaded to TBA (and TBA still uses the format OPRNet expects), then it might be loadable later.

The Lucas 20-03-2011 22:16

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

Originally Posted by tim-tim (Post 1042767)
Is it just me, or is the Chesapeake regional data not working at all.

This is what I got last night when it was working on MD (not working now)

Code:

0        836        39.8872
1        1218        37.4213
2        340        36.9526
3        365        33.9129
4        768        23.704
5        250        22.2095
6        888        19.9839
7        88        19.4081
8        846        17.8937
9        1111        16.8185
10        714        16.7085
11        549        16.585
12        1403        16.4453
13        2377        16.3261
14        1143        16.1828
15        1124        15.2863
16        1895        13.1584
17        2199        13.0146
18        134        13.0029
19        1699        12.3934
20        1980        10.724
21        2912        10.3563
22        1727        10.0474
23        316        8.89519
24        3389        8.32284
25        1719        8.18742
26        509        7.36567
27        1389        7.24434
28        237        6.76665
29        686        6.11233
30        2546        5.51429
31        53        5.14103
32        2849        4.78558
33        7        3.63541
34        3748        3.2073
35        225        3.00393
36        3733        2.44615
37        484        1.85067
38        3793        1.338
39        2789        1.29043
40        3154        1.17108
41        2528        0.820417
42        3714        0.423082
43        3650        -0.398794
44        422        -0.765758
45        2537        -1.58666
46        3150        -1.87487
47        2836        -2.34444
48        1748        -2.37804
49        1195        -2.41779
50        2866        -2.78222
51        1370        -2.85469
52        1446        -3.51208
53        204        -3.86119
54        708        -4.59569
55        1893        -6.41675
56        2641        -7.08657
57        87        -7.83013
58        178        -8.377
59        3307        -10.0841

Congrats your team (836) is the "Qualification Match MVP". Chesapeake is an interesting case study. A very clear top tier of 4 formed on the OPR, then was broken up by seeding and Alliance selections (all 4 had 2 or more losses). 1218 had 3 losses, 1 to 836, 1 to 340. 365 beat 340 but lost to 836. 836 seeded highest (4th) followed by 340 (5th), 365 (6th), 1218 (10th). They were then picked in this order with these results
1. 365 (decline AC5 QF)
2. 836 (accept A1 F)
3. 340 (decline AC4 SF)
4. 1218 (accept A2 W)
All the alliances that lost to an alliance that contained another of the 4. When there are no powerhouse alliances and heavy D, anything can happen :ahh:

tim-tim 20-03-2011 23:41

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
Thank you Bryan. It was a pleasure working with you this weekend

Bongle 29-03-2011 09:38

Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting
 
2 Attachment(s)
V14 - Now parses the "fat" style of regional results, a la www.frclinks.com/e/m/il


All times are GMT -5. The time now is 21:45.

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