DFS_Portfolio_Manager / global_func /exposure_spread.py

Commit History

Adding exclusions from exposure management, fixing some database query stuff
67eb3a1

James McCool commited on

adjusting comp_salary_high out of equiation for Exposure Spread
afc2563

James McCool commited on

chaning for to while for lineup add
ff6fb00

James McCool commited on

Update salary field references in exposure_spread.py to ensure consistency in salary eligibility checks for player replacements.
7361afe

James McCool commited on

adjusting salary declaration in exposure increase
c645802

James McCool commited on

Add update-pm-files.ps1 script for EC2 Instance Connect file updates and enhance exposure_spread.py with salary eligibility checks for player replacements
b7931c0

James McCool commited on

Lets try this
b31b495

James McCool commited on

checking again
ba0ffb8

James McCool commited on

checking to see if this fixes the exposure increase issue
286b8a7

James McCool commited on

ping
8d70403

James McCool commited on

Refactor exposure_spread function to improve player replacement logic by implementing a while loop for better handling of row selections and ensuring replacements are made only when necessary. This enhances the clarity and efficiency of the code.
066fad7

James McCool commited on

Enhance exposure_spread function by refining replacement logic for players based on exposure targets. This update improves the handling of player replacements, ensuring that changes are only applied when necessary and maintaining clarity in the code structure.
fca5d51

James McCool commited on

Remove unnecessary break statement in exposure_spread function to enhance lineup modification logic and improve code clarity.
556da92

James McCool commited on

Refactor exposure_spread function to streamline lineup modification logic, ensuring that changes are applied correctly based on the current change counter and improving overall code clarity.
db012c7

James McCool commited on

Refactor exposure_spread function to improve list comparison for comparable_player_list, ensuring clarity and consistency in checks for non-empty lists.
5eac9be

James McCool commited on

fixing exposure management
72d1643

James McCool commited on

removed prints
a870eb6

James McCool commited on

Refactor player comparison logic in 'exposure_spread' function to streamline conditions based on 'type_var', ensuring accurate filtering for Showdown scenarios while maintaining existing functionality.
dc53b72

James McCool commited on

Refactor salary and projection calculations in 'exposure_spread' function to apply conditional logic based on 'type_var', improving accuracy for Showdown scenarios.
f4f6da8

James McCool commited on

Add debug print statements in 'exposure_spread' function to log comparable player lists, aiding in tracking player selection during execution.
41b98e8

James McCool commited on

Remove debug print statements and refine player data retrieval logic in 'exposure_spread' function to improve clarity and maintainability.
8ea397a

James McCool commited on

Add debug print statement for working columns in 'exposure_spread' function to aid in tracking column data during execution.
a0d4812

James McCool commited on

Refactor 'exposure_spread' function to support specific column selections for player data retrieval, enhancing flexibility in player filtering logic.
298e2c8

James McCool commited on

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

James McCool commited on

testing exposure management with specific column selections
8913211

James McCool commited on

Refactor position eligibility check in 'exposure_spread' to improve clarity and maintainability, ensuring proper handling of player positions during lineup generation.
5fe15cf

James McCool commited on

Implement error handling in 'exposure_spread' to ensure comparable player list is generated safely, defaulting to an empty list if an exception occurs, enhancing robustness in player selection logic.
076e322

James McCool commited on

Add debug print statements in 'exposure_spread' to log existing and comparable players, aiding in troubleshooting player selection logic.
251627a

James McCool commited on

ping
28d4fc2

James McCool commited on

Enhance player selection logic in 'exposure_spread' by adding salary constraints for specific replacements, improving accuracy in lineup generation and incorporating error handling for existing players.
9e53f8f

James McCool commited on

Refactor player selection logic in 'exposure_spread' by removing redundant salary constraints for specific replacements, streamlining the lineup generation process.
1a4a0d8

James McCool commited on

Refine player selection in 'exposure_spread' by incorporating salary constraints for specific replacements, enhancing the precision of lineup generation.
f13359a

James McCool commited on

Enhance player filtering in 'exposure_spread' by adding salary constraints for specific replacements, improving accuracy in lineup generation.
bcf121e

James McCool commited on

Refactor exposure_spread function and 'Manage Portfolio' logic to replace stack management with an option to ignore specific stacks, enhancing user control in exposure calculations.
3ff610a

James McCool commited on

Refactor exposure_spread function to improve readability by consolidating conditional checks for stacking sports and comparable players filtering.
ee185e5

James McCool commited on

Add specific replacements feature in 'Manage Portfolio' to enhance player selection options and improve exposure calculations.
3a20f4f

James McCool commited on

Enhance player data handling by updating load functions in load_dk_fd_file, load_file, and load_ss_file to incorporate sport-specific headers, improving CSV and lineup processing for various sports in app.py and global functions.
ad242a2

James McCool commited on

Enhance exposure_spread function to include stacking_sports parameter, improving player selection logic for size 5 lineups in app.py and exposure_spread.py.
1d2969e

James McCool commited on

Add team comparison for filtering comparable players in exposure_spread.py, ensuring accurate player selection for size 5 lineups.
8b34fed

James McCool commited on

Add filtering for comparable players in exposure_spread.py based on team stacking for size 5 lineups, enhancing player selection accuracy.
baf515a

James McCool commited on

Refactor position eligibility checks in exposure_spread.py to use explicit conditionals for each position, improving clarity and maintainability of the code.
bdf6978

James McCool commited on

Refactor position eligibility checks in exposure_spread.py to simplify logic for player positions, enhancing readability and maintainability. Update reassess_dupes function in reassess_edge.py to streamline salary difference calculations for improved performance.
d5f1d98

James McCool commited on

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