Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ggez44 committed Apr 11, 2024
1 parent a0c3dfb commit c6962a0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ Assuming at the end of this iteration, the points are as follows:
- **Team2** receives \(30/(35+30+20)\) of the 90 points.
- **Team3** receives \(20/(35+30+20)\) of the 90 points.

##### Third Iteration:
- **Team1** receives \(34/(34+31+21)\) of the 90 points from Match 1.
- **Team2** receives \(31/(34+31+21)\) of the 90 points.
- **Team3** receives \(21/(34+31+21)\) of the 90 points.

#### Stabilization:
We iterate this process 50 times. After multiple iterations, the percentage shares of points among the teams will stabilize.


## rankings.rb
updated version that uses TBA's api instead, and uses the same algorithm as the \_old version
i left my TBA api key is in the file, better if you go get your own (it's free),
- updated version that uses TBA's api instead, and uses the same algorithm as the \_old version
- i left my TBA api key is in the file, better if you go get your own (it's free),

### Usage
- ruby rankings.rb 2024cabe
Expand All @@ -52,7 +57,7 @@ This version has 3 options..
1. **Points Share** - This is able to subtract out penalty points to be more accurate.
- This is mostly aligned with OPR, but much better at dealing with fewer matches played.
- This is mostly aligned with EPA in terms of results.
2. **Foul Points Contributed** - Same algorithm but looking at how many points the opposing alliance received. So if a team got a "6.4", it means that on average, they gave up 6.4 points worth of penalties to the other alliance.
2. **Foul Points Contributed** - Same algorithm but looking at how many foul points the opposing alliance received. So if a team got a "6.4", it means that on average, they gave up 6.4 points worth of penalties to the other alliance.
- Note: The Blue Alliance insights tab has foul points, but it's based on what your own alliance received for points which is meaningless.
3. **Climb Percentage** - The TBA API gives us who climbed, so this is not an approximation, but rather an exact percentage of how often a team successfully climbed. This ignores "park".

Expand Down

0 comments on commit c6962a0

Please sign in to comment.