Skip to content

Commit

Permalink
Fixing dumb issue with upset_factors
Browse files Browse the repository at this point in the history
  • Loading branch information
tefirman committed Feb 24, 2025
1 parent c75a115 commit 0bfb7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bigdance/bigdance_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def simulate_bracket_pool(standings: Standings,
# Generate upset factors if not provided
if upset_factors is None:
# upset_factors = [0.1 + (i/num_entries)*0.3 for i in range(num_entries)]
upset_factors = [0.1]*len(num_entries)
upset_factors = [0.1]*num_entries
elif len(upset_factors) != num_entries:
raise ValueError("Number of upset factors must match number of entries")

Expand Down

0 comments on commit 0bfb7b7

Please sign in to comment.