Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
4399601
1
Parent(s):
27dc153
Update lineups_to_add calculation in exposure_spread function to increase adjustment factor from 1.05 to 1.10, improving accuracy in player addition logic during exposure evaluations.
Browse files
global_func/exposure_spread.py
CHANGED
|
@@ -260,7 +260,7 @@ def exposure_spread(working_frame, exposure_player, exposure_target, exposure_st
|
|
| 260 |
lineups_to_remove = (player_exposure * len(working_frame))
|
| 261 |
else:
|
| 262 |
lineups_to_remove = ((player_exposure - exposure_target) * len(working_frame)) * 1.01
|
| 263 |
-
lineups_to_add = ((exposure_target - player_exposure) * (len(working_frame) - (player_exposure * len(working_frame)))) * 1.
|
| 264 |
print(player_exposure)
|
| 265 |
print(exposure_target)
|
| 266 |
print(lineups_to_remove)
|
|
|
|
| 260 |
lineups_to_remove = (player_exposure * len(working_frame))
|
| 261 |
else:
|
| 262 |
lineups_to_remove = ((player_exposure - exposure_target) * len(working_frame)) * 1.01
|
| 263 |
+
lineups_to_add = ((exposure_target - player_exposure) * (len(working_frame) - (player_exposure * len(working_frame)))) * 1.10
|
| 264 |
print(player_exposure)
|
| 265 |
print(exposure_target)
|
| 266 |
print(lineups_to_remove)
|