Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   The FIRST Alliance - A whole new way to play (http://www.chiefdelphi.com/forums/showthread.php?t=105573)

mobilegamer999 18-04-2012 14:31

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by Patrick Flynn (Post 1159549)
I was wondering if the videos, or photos that are posted are moderated and how it would be possible to remove either a picture or video? And if this isnt possible if it would be able to make some moderators or allow users to remove team photos

Yesterday I had it so images had to be approved by an admin before they were displayed, but after many annoying emails from my system, I decided that for now images will be open, until there is any sort of issue. If there are any issues/incidents in the future, I will re-enable to approval system. As far as videos go, those are also immediate and will fall under the same rules of unrestricted until first incident.

GGCO 18-04-2012 21:21

Re: The FIRST Alliance - A whole new way to play
 
Quest a quick update:

We just rolled out new features to our api. See them on our documentation at the end of the page. Now you can get the opr/dpr of each team at an event.

Also, you can compare a team's OPR/DPR by event. Click the "OPR/DPR History" link on the team page. Ex.

http://thefirstalliance.org/team.php?team-number=3357

Keep sending in your suggestions, you guys are coming up with great ideas!

rogerlsmith 19-04-2012 20:26

Re: The FIRST Alliance - A whole new way to play
 
I'm learning how to use the api, and have hit a bit of a snag. I'm requesting the "team-details" and all I get back are team info and no match data. I'm supplying team number and either the event id or event code and not getting any match info. Any ideas?

So far I've been very impressed, you guys have done well!

Keep up the good work.

slijin 19-04-2012 20:47

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by Siri (Post 1159458)
If I recall correctly, CCWM = OPR - DPR. Calculated Contribution to Winning Margin (predictably) uses the team's alliances' winning margins rather than points score by (OPR) or on (DPR) them.

As far as how you're calculating OPR & DPR, this is actually a more loaded question than most years. I don't know if it's what slijin meant, but people are indeed calculating it differently this year, mostly by weighting Co-Op as bridge points. The conversations happened in a few of the different OPR threads, but the general gist was 5 or 10 points per CP.

It somewhat is, but not specifically - although I was requesting "hoop/bridge OPR" based on similar reasons. :) What I was requesting specifically - and should have been explained better - was an OPR based on only points scored in hoops and an OPR based on only points scored from balancing (with some sort of weighted addition for coopertition balancing). The reason is that, in my opinion, a general OPR doesn't really capture how well a team is at a certain aspect of the game - whether a team can consistently score 20 points by hoops or 20 points by balancing in qualifications, their OPR will come out to be ~20. The reason for asking DPR was because I've seen quite a bit of discussion on how it should be calculated.

It would indeed be great to see Power Rankings updated with CCWM and various such OPR ratings. Would it also be possible to see Power Rankings extended to all teams (placed in a scrollbox or something of the sort)?

Quote:

Originally Posted by mobilegamer999 (Post 1159390)
OPR and DPR are calculated as described below. This is the same way that they are calculated for OPRNet and all other opr programs.

Take all teams at an event, count this set as T.
Create a matrix which is TxT, so you end up with a column and row for every team. We will refer to this as M and will describe how many times a team plays another.
So if T was (1,5,9) the M would be
1 5 9
1 - - -
5 - - -
9 - - -
Also, make a matrix that is 1xT and this will be O and will contain sum of all points a team scored
and thirdly, made a matrix 1xT which will be called D, and will contain sum of all points scored against a team
Now, for every match at an event follow the next few steps of logic
1) Increment M[A,B], if A!=B, increment M[B,A]
2) do 1 with A = red 1, B = red 1
3) do 1 with A = red 1, B = red 2
4) do 1 with A = red 1, B = red 3
5) do 1 with A = red 2, B = red 2
6) do 1 with A = red 2, B = red 3
7) do 1 with A = red 3, B = red 3
8) 2-7 with blue instead of red
9) for all red teams, O[red 1-3] += red_score
10) for all red teams, D[red 1-3] += blue_score
11) for all blue teams, O[blue 1-3] += blue_score
12) for all blue teams, D[blue 1-3] += red_score

then take inv(M) * O, and you get OPR's
and take inv(M) * D, and you get DPR's

this write-up may be a bit flawed, but thats the general flow of how OPR's and DPR's are calculated.

Also, right now we do have OPR's and DPR's per-team per-event, but as of now, we don't really have a clean place to put those details. So the power-rankings page is just the highest average OPR/DPR.

As Siri pointed out, this year just a general OPR is somewhat flawed, as it doesn't take into account coop bridge balancing, which is why I asked for this explanation. For the ease of similarly interested viewers though, could this be posted at the top of the Power Rankings page?

You may also want to consider including an explanation of what these terms are. For people familiar with them, it's easy to understand what the numbers mean, but for people who're just looking around, columns with teams, OPRs and DPRs must be quite bewildering.

mobilegamer999 19-04-2012 23:38

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by rogerlsmith (Post 1160300)
I'm learning how to use the api, and have hit a bit of a snag. I'm requesting the "team-details" and all I get back are team info and no match data. I'm supplying team number and either the event id or event code and not getting any match info. Any ideas?

So far I've been very impressed, you guys have done well!

Keep up the good work.

Looks like there was a mis-type in the API doc, it should be team-matches and not team-details.

rogerlsmith 21-04-2012 00:26

Re: The FIRST Alliance - A whole new way to play
 
Thanks for the help Ben; my project is complete (at least the first phase).

I've used the FIRST Alliance API to produce a nifty spreadsheet of all the teams on Newton.

See this topic on our team's website:

http://comets.firstobjective.org/index.php?option=com_kunena&func=view&catid=5&id=6 6&Itemid=138

Thanks again for the help, you guys have done an awesome job!

rogerlsmith 21-04-2012 20:15

Re: The FIRST Alliance - A whole new way to play
 
There were a couple problems in the spreadsheet I created. The problems were incorrect Wins / Loss record. The problem has been fixed and the updated version can be downloaded from the link in my previous comment. Look for the file "Newton_2.zip"

GGCO 23-04-2012 14:04

Re: The FIRST Alliance - A whole new way to play
 
Just a quick update:

We're working on a mobile version of the site. You can visit it here, but it's no where near being complete. http://m.thefirstalliance.org

Also, you can now view a team's OPR/DPR per event by clicking "OPR/DPR History" on a team's page. This functionality has also been added to the API, see the documentation.

Also, a new stats mode has been added to the event pages. You can sort teams in an event based on various metrics we've gathered. Enjoy!

http://thefirstalliance.org/

EDIT: The layout and design of our stats mode page was inspired by FRC Data Miner. Thanks to Zach O for doing such a great job on the site.

Zach O 23-04-2012 15:41

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by GGCO (Post 1161948)
Also, a new stats mode has been added to the event pages. You can sort teams in an event based on various metrics we've gathered. Enjoy!

Looks familiar

mobilegamer999 23-04-2012 15:42

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by Zach O (Post 1161994)
Looks familiar

How so?

Zach O 23-04-2012 15:44

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by mobilegamer999 (Post 1161996)
How so?

http://frcminer.team2337.com/gl/

Justin Montois 23-04-2012 15:45

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by mobilegamer999 (Post 1161996)
How so?

http://frcminer.team2337.com/roc/

Joe Ross 23-04-2012 15:50

Re: The FIRST Alliance - A whole new way to play
 
I think it's funny that 3357 does not have a robot picture posted on the FIRST Alliance.

mobilegamer999 23-04-2012 15:52

Re: The FIRST Alliance - A whole new way to play
 
Haven't seen that site before, but I'm not suprised that there is something similar out there, I'ts the most compact way to show that information.

Zach O 23-04-2012 15:53

Re: The FIRST Alliance - A whole new way to play
 
Quote:

Originally Posted by mobilegamer999 (Post 1162009)
Haven't seen that site before, but I'm not suprised that there is something similar out there, I'ts the most compact way to show that information.

Don't worry. Grant has.


All times are GMT -5. The time now is 14:46.

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