Log in

View Full Version : A Few Questions


BrandonD-1528
13-06-2010, 19:05
Hey world. Here's a little background before I throw my question: I'm on super-dialup right now, super being super-slow, so I can't download the manual or spend any time searching for the information I need. I'm writing web-based stat database software for the MARC, an off-season event in Michigan. My deadline is in 7 days, and I figured this is where I would get answers the fastest and most accurately.

Now for the questions:
First, are all penalties worth the same? If so, how much, and if not, what values are there? Secondly, I never fully understood the seeding system this year, so I'll need the formulas. As I understand them, they are as follows:

If Red alliance wins:
Red gets 2 * [Red Score, unpenalized] + [Blue score, unpenalized] + 5
Blue gets [Red Score, unpenalized]

If Blue wins:
Opposite

If there's a tie:
???

Correct me if I'm wrong, PLEASE. Also, just in case anyone's wondering, the application is written in JS, PHP, and AJAX, utilizing MySQL for data storage. Login is PHP Session based, and if anyone has a more secure option, let me know.

Thanks in advance!

EricH
13-06-2010, 19:10
Seeding score: Almost. Red wins, Red gets [Red penalized score]+5+2*unpenalized score].

Blue wins, reverse; tie, all teams get 3*[penalized score].

Penalties: All penalties are 1 point. Some calls are double penalties; make sure the refs know to count the total number of penalties (or total single and total double).

BrandonD-1528
13-06-2010, 19:18
Thanks a ton... now on the tie, which penalized score do they get?

EricH
13-06-2010, 19:22
Thanks a ton... now on the tie, which penalized score do they get?
The penalized scores are the same, so does it matter?;)

The official wording is that all teams get their alliance score with penalties, plus a coopertition bonus of 2*their alliance score with penalties , which translates to 3* alliance score with penalties.

BrandonD-1528
13-06-2010, 19:43
Alright... let's pretend I never said that :P

BrandonD-1528
13-06-2010, 20:42
One more question. If red wins, does blue get a seed bonus, or did you leave that out because mine was right?

Radical Pi
13-06-2010, 22:11
Blue gets seeding points equal to red's unpenalized score -- you were right

BrandonD-1528
14-06-2010, 10:58
Thanks a ton... now I just need to motivate myself to finish the app.

BrandonD-1528
14-06-2010, 15:57
Alright... new problem. A teammate of mine told me I have to factor in coopertition, and I have no clue what it is. Anyone want to help me out?

EricH
14-06-2010, 16:03
Coopertition bonus is already accounted for in the above seeding.

It's the 2*[loser's unpenalized score] in a win-loss situation and the extra 2*[penalized score] in a tie situation.

In other words, you've already taken care of it.

BrandonD-1528
14-06-2010, 16:07
Awesome, thanks.

Radical Pi
14-06-2010, 16:16
not quite actually. You also need to keep track of coopertition in each match, since it's the first tiebreaker for seeding points (total coopertition points earned acts as a tiebreaker, then total hanging/suspending points is 2nd tiebreaker)

BrandonD-1528
14-06-2010, 16:39
Alright... so can I have the formulas separately?

EricH
14-06-2010, 21:17
Alright... so can I have the formulas separately?
Coopertition bonus: 2*[loser's unpenalized score] or 2*[alliance score]
Seeding:
-Winner: own penalized score + 5
-Loser: Winner's unpenalized score
-Tie: alliance score

Winner & Tie get the appropriate coopertition bonus added to their seeding score, then used to break any ties.

BrandonD-1528
14-06-2010, 22:10
Thanks again to all of you. Could someone check here (http://webapps.ipirates1528.com/forums/viewtopic.php?f=59&t=254&p=1190#p1190) to see if I got it right?

EricH
14-06-2010, 22:56
Yep, that's right.

BrandonD-1528
14-06-2010, 23:01
You guys are lifesavers :D

BrandonD-1528
15-06-2010, 15:10
One last question: is the coopertition factored in when ranking teams? What I mean is, if there's a seeding score of 14 and coopertition of 28, is the ranked seed 42 or 14 before tiebreakers?

EricH
15-06-2010, 15:20
Coopertition is included when ranking; for your example, the ranked seed would be 42.

Example: Red wins 5-4 (3 penalties on blue, 1 on red, red hangs). Red gets 5 points for winning, 5 for their own penalized score, and 14 coopertition bonus points for a total of 24 seeding/ranking points. Blue gets 6 points.

The seeding would then go:

Team, seed score, coop bonus, hang
Red 1, 24, 14, 2
(red 2 & 3 same)
Blue 1, 6, 0, 0
(blue 2 & 3 same)

BrandonD-1528
15-06-2010, 15:26
Thanks :)

BrandonD-1528
16-06-2010, 16:32
One more question... when a double penalty is called, does it just count as 2 penalties or does it double the total penalties. I'm assuming the former. More importantly, is that reflected in the penalty count on the projector?

Also, do the penalized and unpenalized scores include the bonuses?

EricH
17-06-2010, 00:50
A double penalty is a 2-point penalty; it's best entered as two penalties (1 point apiece). The total penalties are displayed in the projection; individual penalties are not shown but may be announced.

The hanging bonuses are included in the penalized and unpenalized scores; see the example I posted earlier.

The data entry for that example match would probably be something like:
Red: 4 goals, 2 hang, 1 penalty
Blue: 7 goals, 0 hang, 3 penalty
--which would then go through a calculator for the seeding points and coopertition bonus, then into ranking.

BrandonD-1528
17-06-2010, 11:42
Well... that's perfect then. That means I have the match section done :D