James McCool
commited on
Commit
·
dcd8d99
1
Parent(s):
2fd6d6d
Remove unnecessary negation of lineups_to_add in exposure_spread function to streamline logic for player adjustments during exposure evaluations.
Browse files
global_func/exposure_spread.py
CHANGED
|
@@ -327,7 +327,6 @@ def exposure_spread(working_frame, exposure_player, exposure_target, exposure_st
|
|
| 327 |
break
|
| 328 |
change_counter += 1
|
| 329 |
else:
|
| 330 |
-
lineups_to_add = lineups_to_add * -1
|
| 331 |
for row in random_row_indices_replace:
|
| 332 |
if change_counter < math.ceil(lineups_to_add):
|
| 333 |
comparable_players = projections_df[
|
|
|
|
| 327 |
break
|
| 328 |
change_counter += 1
|
| 329 |
else:
|
|
|
|
| 330 |
for row in random_row_indices_replace:
|
| 331 |
if change_counter < math.ceil(lineups_to_add):
|
| 332 |
comparable_players = projections_df[
|