Refactor stacking logic in app.py to conditionally apply calculations for 'Stack' and 'Size' columns based on their existence in the DataFrame. This change improves code robustness and prevents potential errors during data processing.
a20fb3f
James McCoolcommited on
Add MMA stacking configuration and enhance error handling in position export logic in app.py. This update introduces new player positions for MMA and improves the robustness of the data processing by adding exception handling for sorting and deduplication operations.
5dedddf
James McCoolcommited on
recent changes
ed824ef
James McCoolcommited on
Update NHL stacking configurations in app.py to include detailed player positions for Draftkings and Fanduel. This change enhances lineup flexibility and aligns with current game strategies.
e6db8f6
James McCoolcommited on
updating for recent changes
e94d65f
James McCoolcommited on
Refactor stacking logic in app.py to streamline team assignment calculations for player lineups. This update removes legacy stacking code and optimizes the application of team data, enhancing performance and maintainability.
8d876b3
James McCoolcommited on
Refactor portfolio filtering in app.py to convert entries to string and remove invalid values before saving to compressed format. This update enhances data integrity and ensures only valid entries are retained.
d94819e
James McCoolcommited on
Remove debug print statements from app.py that were used for validating the working frame structure and content. This cleanup enhances code readability and maintains focus on core functionality.
e0bd286
James McCoolcommited on
Add debug prints for working frame in app.py to assist with data validation. This change helps verify the structure and content of the working frame after applying salary cap filtering.
8155124
James McCoolcommited on
Reintroduce salary cap filtering for working frame in app.py to ensure only eligible players are loaded. This update enhances data integrity and aligns with previous optimizations for memory efficiency.
2eb6ff3
James McCoolcommited on
Update portfolio management in app.py to reintroduce salary cap filtering for working frame. This change ensures that only eligible players are loaded into the working frame, enhancing data integrity and memory efficiency.
d864275
James McCoolcommited on
Refactor portfolio storage in app.py to filter by salary cap before saving to compressed format. This change optimizes memory usage and ensures only eligible entries are retained.
e66d221
James McCoolcommited on
Update score cutoff in chunk_name_matching function and add PowerShell scripts for instance management
7f942a8
James McCoolcommited on
Added QB force option for micro
ef06cec
James McCoolcommited on
Enhance freq_format in app.py to include 'Lineup Edge_Raw', improving data representation for portfolio management.
9a837a1
James McCoolcommited on
Update excluded_cols in app.py to include 'Lineup Edge_Raw', enhancing the data handling for portfolio management.
505349b
James McCoolcommited on
Refactor DataFrame optimization in app.py to enhance memory efficiency. Disable categorical conversion for specific columns to avoid issues with exposure_spread, while implementing smarter handling for numeric types. Introduce a new function to prepare DataFrames for exposure_spread, ensuring compatibility and improved performance during calculations.
3cfe4c4
James McCoolcommited on
Enhance DataFrame optimization and vectorized calculations in app.py. Refine category conversion logic to exclude specific player columns and improve memory efficiency. Introduce a safe mapping function to handle NaN values for salary, median, and ownership calculations, ensuring better performance across various scenarios.
579a535
James McCoolcommited on
Implement vectorized calculations for salary, median, and ownership in app.py to enhance performance and memory efficiency. Refactor reassess_edge and stratification_function to minimize DataFrame copies and improve memory management. Update filtering logic to use boolean masks for better efficiency.
7eef51a
James McCoolcommited on
Refactor portfolio storage in session state to use compressed format directly
7df001f
James McCoolcommited on
Add memory optimization functions and implement chunked processing for name matching in app.py
40a0be8
James McCoolcommited on
Add error handling for position replacement in CSV loading process for Fanduel site. This ensures that any exceptions during the replacement of 'D' with 'DST' are gracefully handled without interrupting the flow.
34bba3a
James McCoolcommited on
Refactor session state management by removing unnecessary copy operations for origin and working portfolios.
d4f6599
James McCoolcommited on
Add smart memory management to optimize session state handling and include psutil in requirements
d5219a8
James McCoolcommited on
Refine position replacement logic in CSV loading process to apply only when site_var is 'Fanduel'.
c058449
James McCoolcommited on
ping
8988bbf
James McCoolcommited on
ping
326fa3b
James McCoolcommited on
ping
7df7a3b
James McCoolcommited on
Added replacement for 'D' to 'DST' in Roster Position column of CSV template and included a print statement for verification.
2625c2f
James McCoolcommited on
finalized dupe math, maintaining on staging
24bf5c9
James McCoolcommited on
ping
474ac04
James McCoolcommited on
Remove table display in 'app.py' and adjust dupes calculation in 'predict_dupes.py' to include a new scaling factor for CPT_Own_percent_rank, enhancing prediction accuracy.
eaaec23
James McCoolcommited on
printing a check frame
520ddc7
James McCoolcommited on
removing Fanduel specific logic from Predict Dupes
5481883
James McCoolcommited on
checking a debug
144cddf
James McCoolcommited on
ping
57b2b2b
James McCoolcommited on
Refactor multiselect options in 'Manage Portfolio' section of 'app.py' to remove unnecessary sorting, improving performance and clarity in player and team selection.
15b2912
James McCoolcommited on
extending display frame
fbd7505
James McCoolcommited on
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
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
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.