Remove dead LAST_WEEK_RATIO ternary — both branches are 0.0
#19
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-card-creation#19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
retrosheet_data.py:68—LAST_WEEK_RATIO = 0.0 if PLAYER_DESCRIPTION == 'Live' else 0.0. Both branches evaluate to 0.0. Conditional is dead code.Priority: low | Labels: tech-debt
Fixed in PR #45. Replaced
0.0 if PLAYER_DESCRIPTION == "Live" else 0.0with a directLAST_WEEK_RATIO = 0.0assignment — single-line, no behaviour change.