James McCool commited on
Commit
2344dbb
·
1 Parent(s): 8913211

Add debug print statements in 'exposure_spread' function to log player exposure and lineup changes for better tracking during testing.

Browse files
Files changed (1) hide show
  1. global_func/exposure_spread.py +4 -0
global_func/exposure_spread.py CHANGED
@@ -214,6 +214,10 @@ def exposure_spread(working_frame, exposure_player, exposure_target, ignore_stac
214
  random.shuffle(random_row_indices_insert)
215
  random.shuffle(random_row_indices_replace)
216
 
 
 
 
 
217
  # for each row to the the number of lineups to remove, replace with random choice from comparable player list if they can be inserted
218
 
219
  # we will need to use two separate functions here, one for an exposure player who has a lineups to remove above 0 and one for below 0
 
214
  random.shuffle(random_row_indices_insert)
215
  random.shuffle(random_row_indices_replace)
216
 
217
+ print(player_exposure)
218
+ print(lineups_to_remove)
219
+ print(lineups_to_add)
220
+
221
  # for each row to the the number of lineups to remove, replace with random choice from comparable player list if they can be inserted
222
 
223
  # we will need to use two separate functions here, one for an exposure player who has a lineups to remove above 0 and one for below 0