Go to Post I don't resent or envy them for being strong teams; I hope we can continue to learn from them and someday join their ranks. - dsmoker [more]
Home
Go Back   Chief Delphi > CD-Media > White Papers
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

photos

papers

everything



py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Basel A

By: Basel A
New: 12-08-2013 20:19
Updated: 22-03-2014 18:14
Total downloads: 2 times


An app that makes getting opr and other data easy. Written in Python. Can add features if requested, will update for 2014.

The file did not attach (created new, "empty" papers instead... not sure what that issue is). In the meantime, you can download the executable from this link: goo.gl/AmOEed. It's about 20 MB.

This is really simple. The app loops, asking two questions each time.

What do you want? - There's four options: opr, all oprs (includes sub-oprs), standings/rankings, and team list.

What event? - You can answer with any event code or (this is the fun part) any common name for an event. MSC, SVR, GTRE, Chestnut Hill, Kettering. I might be missing some, but I think I've got all the common ones. Let me know if you have any I missed.

It'll then print out what you want! In general, don't worry about capitalisation or most punctuation. I tried to make it as simple as possible.

There might be a bug or two. If you have any suggestions, feel free to send me a PM.

Attached Files

  • No files.


Recent Downloaders

Discussion

view entire thread

Reply

15-08-2013 01:15

Woolly


Unread Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

It seems like there are quite a few glitches with all oprs. Weird numbers are coming up such as team 610 being shown to have a -82.44 teleop OPR and a 95.25 climb opr for Galileo, Team 2512 is showing a -14360.13 Auto OPR, 10330.71 Teleop OPR, and 4104.21 Climb OPR.
They all add up to the base OPR, but there is definitely an issues with the breakout, and it isn't limited to Galileo, Kansas City has the same issues.



15-08-2013 02:22

Basel A


Unread Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Quote:
Originally Posted by Woolly View Post
It seems like there are quite a few glitches with all oprs. Weird numbers are coming up such as team 610 being shown to have a -82.44 teleop OPR and a 95.25 climb opr for Galileo, Team 2512 is showing a -14360.13 Auto OPR, 10330.71 Teleop OPR, and 4104.21 Climb OPR.
They all add up to the base OPR, but there is definitely an issues with the breakout, and it isn't limited to Galileo, Kansas City has the same issues.
Well, that's embarrassing
Fortunately it was just one bug and not a difficult fix. Re-uploaded the file and it should work properly now.



15-08-2013 09:21

apalrd


Unread Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Usually CD Media freaks out when files are ~10mb or more. I usually have to go through and delete log and build files to get it to upload properly for code releases (which are ~9mb code only). This is probably your issue.



15-08-2013 16:39

Ed Law


Unread Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Quote:
Originally Posted by Basel A View Post
Well, that's embarrassing
Fortunately it was just one bug and not a difficult fix. Re-uploaded the file and it should work properly now.
Basel,

Did you check your sub-OPR numbers with my new ones? Do they all match?



15-08-2013 19:01

Basel A


Unread Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Quote:
Originally Posted by Ed Law View Post
Basel,

Did you check your sub-OPR numbers with my new ones? Do they all match?
That's actually exactly what I checked with. I checked a couple events and they were the same. The bug I had to fix was a team list sort problem; the shift was implemented correctly but was shifting the wrong sub-oprs to the right total oprs.

Palardy, thanks. That's probably the issue then. I'll have to see if I can condense the file somehow (or find a less sketchy depository than I'm currently using).



26-02-2014 22:59

Basel A


Unread Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

This has been updated for 2014 and will work live. Here's the file: http://goo.gl/89CZmp (warning: it's a 20 MB exe, it's not a virus). Calculates 4 OPRs: Auton, Assist, T&C, Foul. While total OPR probably won't be very effective, I expect Auton and T&C OPRs will be meaningful. It's difficult to test effectively, but I think I've worked out all the bugs. Let me know (PM, @BaselThe2nd, where ever) if you have any problems. It's still too large to upload to CD, but the link in the description will work, permanently. I'll be at home during Week 1 events to make any fixes that may be necessary.

The Python source code is available on GitHub. Feel free to use it as a module. I'm working on a larger project that takes the information available here, adds in a few nice features, and displays it all in a friendly format. Until I can release that, I'm simply making this available.



28-02-2014 13:07

Basel A


Unread Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

New version (now with fewer bugs!) posted in the description. Couldn't edit the previous post.



view entire thread

Reply

Tags

loading ...



All times are GMT -5. The time now is 10:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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