[FRC Blog] Event Results and API Data

Posted on the FRC Blog, 2/28/15: http://www.usfirst.org/roboticsprograms/frc/blog-Event-Results-and-API-Data

Event Results and API Data

**Blog Date: **Saturday, February 28, 2015 - 13:29
Today’s brief blog is from the FRC software team:

We are aware of tournament data not publishing consistently for all events. The root cause has not been determined, and at this point, we don’t expect resolution for week 1 events. Because of this, developers relying on this data for their own applications will not be able to relay the data on our behalf. This issue only inhibits the data being reported out by events, and the results and rankings reported at events are unaffected. Please accept our apologies for any frustrations.

Very, very, very frustrating, but at least glad FIRST still has all the data…

Do they?

If it is stored locally (which it clearly is, as the event needs to data to generate rankings and such), then there is no reason it has to be lost.

Yes, it is stored locally. I volunteered as a scorekeeper for an off season event last October, and the match data (and settings) were backed up automatically after each match. There are also means of exporting it as well.

New software this year, though. If we were running last year’s software and API, we wouldn’t be having these problems.

Also, even if the data is stored locally, that’s no guarantee it’s going to be pushed out and made available via the API after these events are over.

Yes, it is a different FMS software this year. However, each version of FMS seems to be based off of the previous season’s version (with improvements and game specific updates). I don’t think they would have eliminated the backup system, since that is a pretty important feature.

It is true that there is no guarantee that the data will become publicly available, but at the very least the district results need to be available. This data is vital to calculating the district rankings for each district team that competed this year.

This is based on my recollection of last year’s FMS software…

I think that getting the data off would have to be a manual task. The database backups will definitely exist on each scorpion case, but I don’t know if the functionality exists to automatically upload old data (or if you can even do it at all, once the event wizard is complete). The solution might be to remote into each field (ugh) and copy of the backup files. Or, have the Scorekeeper at each week 2 event export a bunch of csv reports, which can be imported. Doesn’t seem like very good options, especially when the blog post didn’t give a time frame for a fix. I wouldn’t be surprised if it’s not up for Week 2, either…

To my knowledge, FMS has been completely rewritten since last year.

I’d be surprised if there were any FTA across the country that wasn’t aware that these problems were occurring. I would hope that they’d have the presence of mind to throw the data on a flash drive and/or send it manually to FIRST for reporting/archival.

The software is “new” in the sense that it has been updated since last year, but the core functionality is mostly the same as last year. They started with last year’s code and updated it for this year.

I’m not sure about your comment about last year’s API- The only “API” available last year from FIRST was a webpage that third parties could scrape (which isn’t really an API). This is the first year a true API has existed.

I’m not sure what the plan is for data that wasn’t already posted, but I wouldn’t be surprised if FIRST put in the effort to upload it.

First opensourcing all the code they own would increase the quality of a lot of things.

That’s a mighty bold statement. Pretty much totally wrong, but mighty bold.

Open source is essentially useless in an environment with forced deadlines.

Please tell us more about how allowing more about how the code getting more scrutiny ahead of time would make it worse. Can I sign up for your newletter?

There is a difference between open for scrutiny and open source.

If I put a document in a PDF and send it to you for you to review, that is open for scrutiny. If, however, I simply put the same document in GDocs and send you the link–with full editing permissions–that is open source.

In code, open source could be pretty bad, DEPENDING on a number of factors. Particularly, comments and other documentation, work breakup, and even “code styles”.

But having the code open for scrutiny–that might help.

Pretty much this. Because the FMS has to be built and fixed on a deadline, an open source model, where you are depending on people who have no reason to meet an arbitrary schedule or work on “uninteresting” bugs to work to a schedule and fix the uninteresting bugs.

I think you’re ignoring countless fundamental open source projects that fit all these criteria and far more.

Many open source projects do all these things very well…

You’re falseoy equating open-source with community-built. I can name a number of open-source projects that were started, designed, and maintained by paid employees of a company but have code that is available for the public to view and modify at will. FIRST could still be the primary maintainer of the code while still allowing public scrutiny and pull requests.

Looks like some of the data is online at the http://frc-events.usfirst.org/ website now.

However at least 2 of the districts that I’ve looked at the data is showing up for the wrong alliance. (Red is Blue, and Blue is Red). The 2 that I have looked at are FiM - Southfield and FiM - Standish. I was trying to watch a few matches of teams so looked them up to find out what matches they played in on FRC Events. Then watched the video on youtube and they are on the opposite alliance in the video.

Not sure if they just transposed these the colors or what. But thought I would give everyone else a heads up. I also did not look at the Finals data or scores yet as I was just trying to do some scouting on teams that will be at our next event and see what they are capable of doing.

Isn’t there a pretty swell alternative to the FMS that is open source, or am I going crazy?

1 Like