Remove debug print statements from 'app.py' to streamline data loading process and enhance code clarity, while retaining essential data validation steps in 'load_ss_file.py'.
d6a9410
James McCoolcommited on
Add debug print statements in 'load_ss_file.py' to log NaN counts after replacing 0 with NaN, enhancing data validation during file loading.
8ee4831
James McCoolcommited on
Remove redundant NaN logging from 'Data Load' section of 'app.py' and add initial data load debug statements in 'load_ss_file.py' to enhance data validation and transparency during file loading.
067a5e7
James McCoolcommited on
Add additional logging in 'Data Load' section of 'app.py' to display total rows, NaN counts per column, and samples of rows with NaN values, enhancing data validation during file loading.
baba885
James McCoolcommited on
Add debug print statements in 'Data Load' section of 'app.py' to log the count of missing values in the portfolio for improved data validation during file loading.
aef84d9
James McCoolcommited on
Add debug print statement in 'Data Load' section of 'app.py' to log the count of missing values in the portfolio, aiding in data validation during file loading.
42ebd1d
James McCoolcommited on
Add comment in 'Manage Portfolio' section of 'app.py' regarding potential changes to Showdown position handling, indicating future considerations for CPT/FLEX options.
388f2db
James McCoolcommited on
Update 'Manage Portfolio' section in 'app.py' to source specific positions from 'player_columns' instead of 'working_frame', improving data accuracy for user selections.
84f3f0b
James McCoolcommited 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 McCoolcommited 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 McCoolcommited on
Add debug print statements in 'exposure_spread' function to log comparable player lists, aiding in tracking player selection during execution.
41b98e8
James McCoolcommited on
Remove debug print statements and refine player data retrieval logic in 'exposure_spread' function to improve clarity and maintainability.
8ea397a
James McCoolcommited on
Add debug print statement for working columns in 'exposure_spread' function to aid in tracking column data during execution.
a0d4812
James McCoolcommited on
Refactor 'exposure_spread' function to support specific column selections for player data retrieval, enhancing flexibility in player filtering logic.
298e2c8
James McCoolcommited on
Add debug print statements in 'exposure_spread' function to log player exposure and lineup changes for better tracking during testing.
2344dbb
James McCoolcommited on
testing exposure management with specific column selections
8913211
James McCoolcommited on
Enhance player filtering logic in 'Manage Portfolio' section of 'app.py' by implementing conditional checks for both alpha and beta players, improving the accuracy of row selection based on user-defined criteria.
dce062f
James McCoolcommited on
Refactor player presence logic in 'Manage Portfolio' section of 'app.py' to improve clarity by using direct row value checks instead of row values array, enhancing code readability.
439e0ac
James McCoolcommited on
Update 'Manage Portfolio' section in 'app.py' to include unique keys for CPT/FLEX selection boxes, enhancing state management and user experience.
e7a0def
James McCoolcommited on
Add CPT/FLEX selection options in 'Manage Portfolio' section of 'app.py' to enhance player filtering capabilities based on slot type.
9b90f9a
James McCoolcommited on
Enhance min/max input constraints in 'Manage Portfolio' section of 'app.py' for better user guidance and validation.
4166ef5
James McCoolcommited on
More fine grained min/max filters in macro
b88e69e
James McCoolcommited on
Adjust column widths in 'Manage Portfolio' section of 'app.py' to improve layout and enhance user interaction with the reset portfolio button.
851f97e
James McCoolcommited on
Update row selection logic in 'Manage Portfolio' section of 'app.py' to use 'display_frame' for adding selected rows to custom export, improving data handling and user experience.
11d73be
James McCoolcommited on
Refactor column layout in 'Manage Portfolio' section of 'app.py' to enhance user interface by adjusting column definitions and improving button placements for better functionality.
8ae5fd1
James McCoolcommited on
ping
409a345
James McCoolcommited on
Refactor 'Manage Portfolio' section in 'app.py' to improve layout and functionality by adding buttons for recalculating diversity, adding/removing rows from custom export, and adjusting column configurations for better user interaction.
a589040
James McCoolcommited on
ping
add3552
James McCoolcommited on
ping
164ab82
James McCoolcommited on
Update row selection method in 'app.py' for custom export by replacing number input with multiselect, enhancing user experience and flexibility in managing portfolio exports.
1fe7139
James McCoolcommited on
ping
9251b5c
James McCoolcommited on
Enhance player and team filtering logic in 'app.py' for Showdown mode by implementing CPT/FLEX/Overall focus handling, improving clarity and consistency while maintaining performance.
7ac9771
James McCoolcommited on
Refactor team filtering logic in 'app.py' to utilize mapping for team names, improving clarity and consistency in Showdown mode while maintaining performance.
fa47128
James McCoolcommited on
Refactor player and team filtering logic in 'app.py' to use iloc for row selection, enhancing code clarity and maintaining performance in Showdown mode.
6a37505
James McCoolcommited on
Refactor player filtering logic in 'app.py' to use direct row slicing instead of session state columns, improving performance and simplifying code for player and team management in Showdown mode.
ad29ee6
James McCoolcommited on
Add CPT/FLEX/Overall focus selection for player locking and removal in Showdown mode in 'app.py', enhancing lineup customization options.
3daeb17
James McCoolcommited on
Initialize player columns in session state upon loading working frame in 'app.py', ensuring consistent player filtering and enhancing overall functionality.
642b27d
James McCoolcommited on
Refactor player column handling in 'app.py' to utilize session state for dynamic column management, improving consistency in player filtering and analysis across various operations.
00b2e24
James McCoolcommited on
introduced a button to recalculate diversity
872a007
James McCoolcommited on
ping
d01aca2
James McCoolcommited on
Enhance stacking column dictionary in 'app.py' to include 'Classic' and 'Showdown' formats for Draftkings and Fanduel, improving flexibility in player stacking calculations across multiple sports.
291f3d7
James McCoolcommited on
Refactor stack column dictionary in 'app.py' to support multiple sites, enhancing flexibility in player stacking calculations for Draftkings and Fanduel.
d1401a0
James McCoolcommited on
Update NFL stacking positions in 'app.py' to include additional player roles, enhancing the accuracy of player stacking calculations for lineup generation.
92176ea
James McCoolcommited on
Refactor stacking logic in 'app.py' by replacing hardcoded exclusions with a dynamic stack column dictionary for various sports, improving maintainability and clarity in player stacking calculations.
69a388c
James McCoolcommited on
ping
9803c42
James McCoolcommited on
adjusting stacking sports logic
265891c
James McCoolcommited on
Refactor position eligibility check in 'exposure_spread' to improve clarity and maintainability, ensuring proper handling of player positions during lineup generation.
5fe15cf
James McCoolcommited 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 McCoolcommited on
Add debug print statements in 'exposure_spread' to log existing and comparable players, aiding in troubleshooting player selection logic.