Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roster aesthetics roster fixes #124

Open
sharkiteuthis opened this issue Dec 28, 2018 · 2 comments
Open

roster aesthetics roster fixes #124

sharkiteuthis opened this issue Dec 28, 2018 · 2 comments

Comments

@sharkiteuthis
Copy link
Collaborator

fix FLEX ordering in NFL lineups, they currently look like this:

+----------+--------+------+---------+--------+------------+----------+--------+
| Position | Player | Team | Matchup | Salary | Projection | vs. Avg. | Locked |
+----------+--------+------+---------+--------+------------+----------+--------+
| QB       | A2     | Y    | X@Y     |   5500 |         41 |    41.00 |        |
| RB       | A8     | X    | X@Y     |   5500 |         47 |    47.00 |        |
| RB       | A81    | X    | X@Y     |   5500 |         47 |    47.00 |        |
| WR       | A11    | X    | X@Y     |   5500 |         50 |    50.00 |        |
| WR       | A111   | X    | X@Y     |   5500 |         50 |    50.00 |        |
| WR       | A41    | X    | X@Y     |   5500 |         62 |    62.00 |        |
| WR       | A51    | Y    | X@Y     |   5500 |         63 |    63.00 |        |
| TE       | A10    | Y    | X@Y     |   5500 |         49 |    49.00 |        |
| DST      | A13    | Y    | X@Y     |   5500 |        500 |   500.00 |        |
+----------+--------+------+---------+--------+------------+----------+--------+
  • round/truncate to 2 decimal places, currently looks like this for the FD projections:
+----------+----------------------+------+---------+--------+--------------------+----------+--------+
| Position | Player               | Team | Matchup | Salary |         Projection | vs. Avg. | Locked |
+----------+----------------------+------+---------+--------+--------------------+----------+--------+
| QB       | Ryan Fitzpatrick     | TB   | CAR@TB  |   6000 | 22.229999542236328 |     0.00 |        |
| RB       | Todd Gurley II       | LAR  | LAR@DET |   9800 | 25.081817626953125 |     0.00 |        |
| RB       | James White          | NE   | MIN@NE  |   6800 |  16.40909090909091 |     0.00 |        |
| RB       | T.J. Yeldon          | JAC  | IND@JAC |   4800 |  11.98181845925071 |     0.00 |        |
| WR       | Tyreek Hill          | KC   | KC@OAK  |   8400 | 20.290908813476562 |     0.00 |        |
| WR       | Adam Thielen         | MIN  | MIN@NE  |   8100 | 19.118182095614348 |     0.00 |        |
| WR       | Geronimo Allison     | GB   | ARI@GB  |   4500 |  10.45999984741211 |     0.00 |        |
| TE       | Travis Kelce         | KC   | KC@OAK  |   7800 | 15.172726717862217 |     0.00 |        |
| D        | Jacksonville Jaguars | JAC  | IND@JAC |   3700 | 5.2727272727272725 |     0.00 | LOCK   |
+----------+----------------------+------+---------+--------+--------------------+----------+--------+

@BenBrostoff this is pretty low priority

@BenBrostoff
Copy link
Owner

@sharkiteuthis If you work on this the coloring versus the average doesn't work on Windows I think. If it's hard to adapt I vote no colors; if it's easy then do it. A library like crayons may be the way to go.

@BenBrostoff
Copy link
Owner

Also the FLEX problem impacts all sports with a flex. Re: how this should work, I think the worst projection should go to flex. So if you play an RB in the flex, the worst projected of the three RBs should be there. As an aside, I had a buddy of me complain to me a few seasons ago since I always played David Johnson in the flex when he was the best fantasy player in the league 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants