DFS_Portfolio_Manager / global_func /exposure_spread.py

Commit History

Remove docstrings from position eligibility functions in exposure_spread.py to streamline code and improve readability.
0512365

James McCool commited on

Remove debug print statements from app.py and exposure_spread.py to clean up code and improve performance during exposure evaluations.
26e1ce5

James McCool commited on

check export_splayer
f883776

James McCool commited on

Remove redundant condition in exposure_spread function to streamline player comparison logic, enhancing clarity in exposure evaluations.
3ffd739

James McCool commited on

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.
4399601

James McCool commited on

Update lineups_to_add calculation in exposure_spread function to increase adjustment factor from 1.01 to 1.05, enhancing accuracy in player addition logic during exposure evaluations.
27dc153

James McCool commited on

Enhance change tracking in exposure_spread function by incrementing change_counter upon player assignment, improving accuracy in player adjustments during exposure evaluations.
ce96fd8

James McCool commited on

Refactor lineups_to_add calculation in exposure_spread function to ensure accurate adjustments by using player_exposure instead of replace_mask, enhancing clarity in player addition logic during exposure evaluations.
5e2defb

James McCool commited on

Remove unnecessary decrement of change_counter in exposure_spread function to streamline logic for player adjustments during exposure evaluations.
0d45c04

James McCool commited on

Refactor lineups_to_add calculation in exposure_spread function to use player_exposure instead of replace_exposure, ensuring accurate adjustments for player additions during exposure evaluations.
e91a3ef

James McCool commited on

Add additional debug print statements in exposure_spread function to display player_exposure and replace_exposure values, enhancing visibility into player adjustments during exposure evaluations.
2713a4c

James McCool commited on

Add debug print statements in exposure_spread function to display calculated lineups_to_remove and lineups_to_add, improving visibility into player adjustments during exposure evaluations.
3076618

James McCool commited on

Add debug print statement in exposure_spread function to display the difference between lineups_to_add and change_counter, enhancing visibility into player adjustments during exposure evaluations.
cda93c5

James McCool commited on

Update lineups_to_add calculation in exposure_spread function to use replace_exposure, ensuring accurate adjustments for player additions during exposure evaluations.
0a58221

James McCool commited on

Adjust lineups_to_add calculation in exposure_spread function to ensure accurate player addition logic during exposure evaluations, enhancing clarity in exposure adjustments.
df9baf3

James McCool commited on

Remove unnecessary negation of lineups_to_add in exposure_spread function to streamline logic for player adjustments during exposure evaluations.
dcd8d99

James McCool commited on

Update exposure_spread function to introduce lineups_to_add calculation, ensuring accurate adjustments for player additions during exposure evaluations. Modify related logic to reflect this change and enhance debugging output for lineups_to_add.
2fd6d6d

James McCool commited on

Update salary calculation in exposure_spread function to reflect accurate adjustments for replacement players, ensuring compliance with salary constraints during exposure evaluations.
3820d21

James McCool commited on

Add debug print statement to exposure_spread function to display combined salary of selected players, aiding in tracking salary constraints during exposure calculations.
0e7b119

James McCool commited on

Improve player eligibility check in exposure_spread function by adding salary constraint for replacement players, ensuring accurate exposure adjustments while maintaining clarity in player selection logic.
583a033

James McCool commited on

Enhance player replacement logic in exposure_spread function by separating random row selection for insertion and replacement. This improves clarity and ensures accurate handling of lineups during exposure adjustments.
efbfb51

James McCool commited on

Refactor player filtering logic in exposure_spread function to directly apply a mask for removing rows without the exposure_player, enhancing clarity and ensuring accurate player selection during exposure calculations.
a768a6b

James McCool commited on

Correct player filtering logic in exposure_spread function by changing equality check to inequality for exposure_player, improving accuracy in player selection during exposure calculations.
c5323ea

James McCool commited on

Refine player filtering logic in exposure_spread function by replacing existing_players check with a direct comparison to exposure_player, enhancing clarity and accuracy in player selection during exposure calculations.
5fdf496

James McCool commited on

Fix comparison logic in exposure_spread function by replacing isin() with direct membership check for comparable_player_list, improving clarity and performance in player selection.
bce8275

James McCool commited on

Add debug print statement for lineups_to_remove in exposure_spread function to assist in tracking player removal logic during exposure calculations.
7f4d26e

James McCool commited on

Add debug print statement for comparable player list in exposure_spread function to assist in tracking player selection during exposure calculations.
d3f7f76

James McCool commited on

Refactor exposure_spread function to remove filtering of comparable players based on existing_players, simplifying player comparison logic and improving clarity in exposure calculations.
7f46c53

James McCool commited on

Update exposure_spread function to filter comparable players based on exposure_player instead of existing_players, ensuring accurate player comparisons during exposure calculations.
5c4006a

James McCool commited on

Adjust lineups_to_remove calculation in exposure_spread function to negate its value before processing, ensuring correct handling of player exposure adjustments based on lineup changes.
319e5aa

James McCool commited on

Refactor exposure_spread function to handle player replacement logic based on lineups_to_remove value. Separate logic for positive and negative adjustments to ensure accurate player exposure management and enhance lineup flexibility.
9034a8a

James McCool commited on

Update lineups_to_remove calculation in exposure_spread function to handle cases where exposure_target is zero, ensuring accurate lineup adjustments based on player exposure.
2371c4f

James McCool commited on

Enhance app.py to include F1 in sport selection and implement position and team variable assignments based on selected sport. Update projections to reflect these variables for GOLF, TENNIS, MMA, NASCAR, and F1, improving data handling for player eligibility.
b9049ff

James McCool commited on

Update position eligibility checks in check_position_eligibility function to correct sport name cases for MMA, Golf, and Tennis. This ensures consistent handling of player positions across different sports.
7f0bbb5

James McCool commited on

Add FLEX eligibility check in check_golf_position_eligibility function to allow 'G' positions for FLEX columns. This enhances player eligibility logic for golf positions.
f35aa8d

James McCool commited on

Implement error handling in exposure_spread function to ensure robust position extraction. If an error occurs during position parsing, fallback to the original position list, enhancing reliability in player eligibility processing.
c0ae0e3

James McCool commited on

Adjust lineups_to_remove calculation in exposure_spread function to apply a 101% factor, refining accuracy in lineup adjustments based on player exposure and target.
b452fab

James McCool commited on

Adjust lineups_to_remove calculation in exposure_spread function to apply a 105% factor, refining accuracy in lineup adjustments based on player exposure and target.
fb33fb9

James McCool commited on

Enhance exposure_spread function by adding salary_max parameter for improved salary filtering and adjusting lineups_to_remove calculation to a 125% factor, refining player selection logic and ensuring existing players are excluded from comparable options.
87bb04e

James McCool commited on

Refactor exposure_spread function to streamline comparable player selection logic, ensuring accurate filtering based on salary, median projections, and position overlap, while maintaining team removal functionality.
38f865e

James McCool commited on

Refine lineups_to_remove calculation in exposure_spread function to ensure accurate adjustment based on player exposure and target, applying a consistent 150% factor for lineup modifications.
0f6f9ba

James McCool commited on

Refactor lineups_to_remove calculation in exposure_spread function to streamline logic, ensuring consistent application of the 150% factor for lineup adjustments.
11220fa

James McCool commited on

Adjust lineups_to_remove calculation in exposure_spread function to apply a 150% factor, enhancing accuracy in lineup adjustments for non-zero target exposure.
45f0bb9

James McCool commited on

Refine lineups_to_remove calculation in exposure_spread function to adjust for non-zero target exposure, improving accuracy in lineup adjustments by applying a 75% reduction factor.
e60e8c4

James McCool commited on

Update lineups_to_remove calculation in exposure_spread function to handle zero target exposure and adjust for non-zero targets, improving accuracy in lineup adjustments.
aa2e7d9

James McCool commited on

Shuffle player rows in exposure_spread function to ensure random selection of players for lineup adjustments, enhancing variability in exposure calculations.
f93672b

James McCool commited on

Refactor exposure_spread function to correctly apply team removal logic to comparable players, ensuring accurate filtering in player comparisons.
54ce19d

James McCool commited on

Enhance exposure_spread function to include an option for removing specified teams, improving flexibility in player comparison and exposure calculations.
1b89d01

James McCool commited on

Add support for LOL in app.py and related functions, updating sport selection and eligibility checks across multiple modules to include League of Legends, enhancing overall functionality and user experience.
05f2b9c

James McCool commited on

ping
72c43b1

James McCool commited on