Skip to content

Commit

Permalink
fix: Luck index fix
Browse files Browse the repository at this point in the history
One factor was erroneously made negative.
  • Loading branch information
DesiPilla committed Oct 29, 2024
1 parent 9150250 commit f7fea18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "doritostats"
version = "3.4.21"
version = "3.4.22"
description = "This project aims to make ESPN Fantasy Football statistics easily available. With the introduction of version 3 of the ESPN's API, this structure creates leagues, teams, and player classes that allow for advanced data analytics and the potential for many new features to be added."
authors = ["Desi Pilla <[email protected]>"]
license = "https://github.com/DesiPilla/espn-api-v3/blob/master/LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion src/doritostats/luck_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def get_weekly_luck_index(
opp_lineup = get_lineup(league=league, team=opp, week=week, box_scores=box_scores)

# Calculate the performance vs projection factor
projection_factor = -1 * get_performance_vs_projection_factor(team_lineup)
projection_factor = get_performance_vs_projection_factor(team_lineup)

# Calculate the injury/bye factor
max_roster_size = sum(
Expand Down

0 comments on commit f7fea18

Please sign in to comment.