Commit History

Update score cutoff in chunk_name_matching function and add PowerShell scripts for instance management
7f942a8

James McCool commited on

Added QB force option for micro
ef06cec

James McCool commited on

Enhance freq_format in app.py to include 'Lineup Edge_Raw', improving data representation for portfolio management.
9a837a1

James McCool commited on

Update excluded_cols in app.py to include 'Lineup Edge_Raw', enhancing the data handling for portfolio management.
505349b

James McCool commited 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 McCool commited 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 McCool commited 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 McCool commited on

Refactor portfolio storage in session state to use compressed format directly
7df001f

James McCool commited on

Add memory optimization functions and implement chunked processing for name matching in app.py
40a0be8

James McCool commited 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 McCool commited on

Refactor session state management by removing unnecessary copy operations for origin and working portfolios.
d4f6599

James McCool commited on

Add smart memory management to optimize session state handling and include psutil in requirements
d5219a8

James McCool commited on

Refine position replacement logic in CSV loading process to apply only when site_var is 'Fanduel'.
c058449

James McCool commited on

ping
8988bbf

James McCool commited on

ping
326fa3b

James McCool commited on

ping
7df7a3b

James McCool commited on

Added replacement for 'D' to 'DST' in Roster Position column of CSV template and included a print statement for verification.
2625c2f

James McCool commited on

finalized dupe math, maintaining on staging
24bf5c9

James McCool commited on

ping
474ac04

James McCool commited 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 McCool commited on

printing a check frame
520ddc7

James McCool commited on

removing Fanduel specific logic from Predict Dupes
5481883

James McCool commited on

checking a debug
144cddf

James McCool commited on

ping
57b2b2b

James McCool commited 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 McCool commited on

extending display frame
fbd7505

James McCool commited 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 McCool commited 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 McCool commited 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 McCool commited 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 McCool commited 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 McCool commited 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 McCool commited 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 McCool commited on

testing exposure management with specific column selections
8913211

James McCool commited 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 McCool commited 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 McCool commited 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 McCool commited on

Add CPT/FLEX selection options in 'Manage Portfolio' section of 'app.py' to enhance player filtering capabilities based on slot type.
9b90f9a

James McCool commited on

Enhance min/max input constraints in 'Manage Portfolio' section of 'app.py' for better user guidance and validation.
4166ef5

James McCool commited on

More fine grained min/max filters in macro
b88e69e

James McCool commited 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 McCool commited 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 McCool commited 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 McCool commited on

ping
409a345

James McCool commited 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 McCool commited on

ping
add3552

James McCool commited on

ping
164ab82

James McCool commited 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 McCool commited on

ping
9251b5c

James McCool commited 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 McCool commited on