[TBA] 2015 Match Score Breakdowns Now Available

In case you missed it, FIRST is testing v2 of the FRCAPI, which includes match score breakdowns! You can now see the breakdown on all 2015 match pages (example)! Of course, the full breakdowns are also available in our API. Nice job Eugene for getting this written!

If anybody out there wants to try out their design chops, we’re looking at building a prettier match visualizer - drop a line if you have any good mockups.







(If anyone wanted a link to the page picture above)

This is awesome. Just when I thought TBA couldn’t get any better, it keeps on improving. You guys rock.

Wow! This is fantastic, FIRST and TBA: another great step in making FIRST more and more like a mainstream sport!

Not only is it really nice to be able to see as a casual, after-the-season observer, but it will be really nice if these features are effectively supported during the season! Could really revolutionize the capability of data-based scouting for low-resource teams…

Now FIRST, let’s make sure the API is working at each and every event in 2016! :rolleyes:

This is great! Now if we could just make it so the specific foul gets entered we would have all the information you could possibly need.

I would recommend putting the videos above the score breakdowns. I love the extra data but I think more people will come to the pages to watch matches then to see how many fouls were in the match.

If the fouls and points were assigned to each individual team it would be even better. We won’t have that until we get official stat keepers at every event, like you have in other sports or a game that allows the FMS/refs to keep track of that information.

Cards can at least be assigned right now. Moving scoring back to scorekeepers and letting referees assign fouls on the pads to teams doesn’t seem that crazy.

Good point.

I assume the data passed into the visualization would be structured the same way as it comes back from the API?

I’ve got a few ideas but want to make sure they are attainable with the data.

The visualization uses a subset of data that the API provides.

Edit: misunderstood your question. The answer is yes.

Is there some sort of config mapping you’re using now to group things? If so, what does that look like?

(Pet peeve is designers giving me designs that are impossible to implement)

EDIT: Based on https://github.com/the-blue-alliance/the-blue-alliance/blob/master/templates/match_partials/match_breakdown_2015.html it looks like it’s not. But I was unable to find other year specific partials, is that the typical approach or not?

Not 100% sure what you’re asking. The data is formatted like this:

“score_breakdown”: {
“blue”: {
“tote_count_far”: 12,
“tote_count_near”: 27,
“container_count_level1”: 0,
“container_count_level2”: 0,
“container_count_level3”: 0,
“container_count_level4”: 0,
“container_count_level5”: 2,
“container_count_level6”: 4,
“teleop_points”: 253,
“auto_points”: 0,
“total_points”: 253,
“tote_set”: false,
“container_set”: false,
“foul_count”: 0,
“container_points”: 136,
“adjust_points”: 0,
“litter_count_unprocessed”: 2,
“robot_set”: false,
“litter_count_container”: 5,
“tote_points”: 78,
“foul_points”: 0,
“tote_stack”: false,
“litter_count_landfill”: 1,
“litter_points”: 39
},
“coopertition”: “Unknown”,
“red”: {
“tote_count_far”: 17,
“tote_count_near”: 15,
“container_count_level1”: 0,
“container_count_level2”: 0,
“container_count_level3”: 0,
“container_count_level4”: 0,
“container_count_level5”: 1,
“container_count_level6”: 3,
“teleop_points”: 185,
“auto_points”: 6,
“total_points”: 191,
“tote_set”: true,
“container_set”: false,
“foul_count”: 0,
“container_points”: 92,
“adjust_points”: 0,
“litter_count_unprocessed”: 4,
“robot_set”: false,
“litter_count_container”: 2,
“tote_points”: 64,
“foul_points”: 0,
“tote_stack”: false,
“litter_count_landfill”: 1,
“litter_points”: 29
},
“coopertition_points”: 0
}

In your existing visual (defined in the file I linked earlier), you’ve manually caused Robot Set, Container Set, Tote Set, and Tote Stack to sum up to Total Auto. (etc) I was asking if you had any sort of standardized method of doing this mapping on a year by year basis or if different visualization templates would be made year by year?

In short, would this visual need to support multiple years score breakdowns or just 2015?

Just 2015. The thought was to be able to generate something like this.http://www.chiefdelphi.com/forums/attachment.php?attachmentid=18771&d=1428192590

If the visualization you have in mind would be applicable across years, you can do just 2015 for now and we can redactor later.

I wrote a quick script to go through and pull ALL the data from the API into a CSV file.

[strike]CD won’t let me upload .csv as an attachment, so you’ll have to change the file extension.[/strike]

EDIT: Changed the attachment to a .zip per suggestion from Ether.

Score Details - All Events.zip (268 KB)


Score Details - All Events.zip (268 KB)