View Single Post
  #66   Spotlight this post!  
Unread 09-03-2009, 22:48
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,632
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Here's the top 25 from Week 1 & 2:
Code:
01.    Team 0071	W:7	L:0	OPR:63.55	DPR:13.69	PMR:49.86
02.    Team 0968	W:9	L:0	OPR:52.85	DPR:12.82	PMR:40.03
03.    Team 1625	W:6	L:2	OPR:48.82	DPR:13.99	PMR:34.83
04.    Team 0694	W:5	L:1	OPR:48.05	DPR:17.20	PMR:30.85
05.    Team 2199	W:5	L:2	OPR:44.74	DPR:26.50	PMR:18.24
06.    Team 1622	W:8	L:2	OPR:44.21	DPR:10.39	PMR:33.82
07.    Team 0188	W:6	L:2	OPR:43.56	DPR:23.64	PMR:19.92
08.    Team 1114	W:7	L:1	OPR:43.18	DPR:11.25	PMR:31.93
09.    Team 2753	W:7	L:0	OPR:43.03	DPR:8.07	PMR:34.96
10.    Team 1155	W:6	L:1	OPR:41.84	DPR:7.39	PMR:34.45
11.    Team 1923	W:4	L:3	OPR:41.15	DPR:16.71	PMR:24.44
12.    Team 0111	W:6	L:2	OPR:41.13	DPR:15.06	PMR:26.07
13.    Team 0245	W:10	L:2	OPR:40.52	DPR:3.37	PMR:37.15
14.    Team 1806	W:7	L:0	OPR:39.87	DPR:9.12	PMR:30.75
15.    Team 0040	W:7	L:2	OPR:39.74	DPR:11.28	PMR:28.46
16.    Team 1507	W:6	L:0	OPR:39.63	DPR:17.30	PMR:22.33
17.    Team 1823	W:6	L:1	OPR:38.78	DPR:5.14	PMR:33.64
18.    Team 1218	W:6	L:1	OPR:38.57	DPR:8.18	PMR:30.40
19.    Team 0121	W:7	L:1	OPR:38.44	DPR:2.03	PMR:36.41
20.    Team 0025	W:5	L:2	OPR:37.95	DPR:7.24	PMR:30.70
21.    Team 0395	W:4	L:2	OPR:37.21	DPR:16.10	PMR:21.11
22.    Team 0085	W:9	L:3	OPR:37.08	DPR:6.80	PMR:30.28
23.    Team 0835	W:5	L:2	OPR:36.79	DPR:5.48	PMR:31.31
24.    Team 0175	W:6	L:2	OPR:36.37	DPR:22.71	PMR:13.67
25.    Team 0056	W:6	L:1	OPR:36.36	DPR:14.28	PMR:22.08
Double click the uncompressed jar for it to run. You need Java jre 1.6 (first download link) for it to run.

There's still a couple of bugs, but I'm working on it.

=== updates ===
Now attempts to parse data from multiple sources until it gets valid data, in this order: 1.) local html file, 2.) usfirst.org, 3.) tba.net Buckeye data isn't up on USFIRST or TBA, sorry

You now have the options to show only the regionals up to a given week

You can now rank all teams against each other for the full season (will be fully tested in week 3 when several teams do their second regional)

More to come; most of the methods and classes are setup for easy code reuse.
Attached Files
File Type: zip OPRJavaSource.zip (138.7 KB, 78 views)
File Type: zip OPRJavaJar.zip (130.5 KB, 90 views)
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote