Commit History

ping
51fef7b

James McCool commited on

Add debug print statement in reassess_dupes function to log detailed calculations for ownership adjustments, aiding in troubleshooting and validation of metrics.
e4d54f2

James McCool commited on

Update data type handling for salary, median, and ownership difference calculations in reassess_edge.py to improve memory efficiency and precision.
229b9de

James McCool commited on

Refactor salary, median, and ownership calculations in app.py to handle GOLF sport variable separately, improving clarity and accuracy in data processing.
e8c9dac

James McCool commited on

Update reassess_dupes function in reassess_edge.py to adjust ownership calculation by modifying the salary adjustment factor, enhancing accuracy in ownership metrics.
5b719f3

James McCool commited on

Remove debug print statement from calculate_weighted_ownership_single_row and fix geomean calculation in reassess_edge function for improved accuracy in ownership metrics.
28ad089

James McCool commited on

Add debug print statement for ownership values in calculate_weighted_ownership_single_row to aid in troubleshooting and validation of ownership calculations.
0af5d59

James McCool commited on

Refactor ownership value calculation in calculate_weighted_ownership_single_row to use pd.to_numeric for better handling of non-numeric values, improving robustness in edge reassessment logic.
eba4421

James McCool commited on

Refactor calculate_weighted_ownership function to operate on a single row of ownership values, improving clarity and performance in the reassess_edge function.
a9507f6

James McCool commited on

Optimize ownership calculation in reassess_edge function by directly applying calculate_weighted_ownership_wrapper to selected lineups, improving performance and readability.
07db08b

James McCool commited on

Fix off-by-one error in own_columns generation in reassess_edge function to ensure correct player ownership mapping.
f10f2f5

James McCool commited on

Update reassess_edge function to include maps_dict parameter for improved player ownership mapping in app.py, enhancing edge reassessment logic.
3b360d8

James McCool commited on

Update num_players calculation in reassess_edge function to use salary column index, improving accuracy in player data processing.
88cab61

James McCool commited on

Refactor reassess_lineup_edge function in global_func/reassess_edge.py to simplify the calculation of 'Lineup Edge' by removing unnecessary lambda application, improving code readability and performance.
f9b3b85

James McCool commited on

Refactor reassess_edge function signature in global_func/reassess_edge.py to simplify parameters and update app.py to utilize the new signature, enhancing edge reassessment logic for player data processing.
860cdc8

James McCool commited on

function correction
7a46be2

James McCool commited on

Replace exposure_spread function call with reassess_edge in app.py to improve edge reassessment logic for player exposure handling during lineup processing.
60f791f

James McCool commited on

Update position filtering in create_position_export_dict to include 'C/1B' and modify sport headers for WNBA and MLB across load functions, enhancing player data handling for CSV exports.
bfa4569

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

Refactor logic to set 'Position' and 'Team' as 'FLEX' for specific sports in app.py, ensuring proper handling of player data when a CSV file is loaded.
0c21721

James McCool commited on

Implement logic to set 'Position' and 'Team' as 'FLEX' for specific sports in app.py, enhancing player data handling for GOLF, TENNIS, MMA, NASCAR, and F1.
2d3f164

James McCool commited on

Update position filtering logic in create_position_export_dict function in app.py to handle specific 'SP' position filtering, improving accuracy in player data exports.
cf0e214

James McCool commited on

Refine position filtering logic in create_position_export_dict function in app.py to remove trailing digits from column names, and update debug print statements to log structured output of filtered DataFrames for better data validation.
449ebce

James McCool commited on

Add debug print statements in create_position_export_dict function in app.py to log position filters and filtered DataFrames, aiding in troubleshooting and data validation during export dictionary generation.
4162581

James McCool commited on

Add create_position_export_dict function in app.py to generate position-specific export dictionaries from CSV files, enhancing player data handling and mapping in export functionality.
f8485d4

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

Replace reassess_edge function calls with predict_dupes in app.py for both working_frame and export_base, improving clarity and consistency in player lineup predictions.
fc194d7

James McCool commited on

Refactor reassess_lineup_edge function in reassess_edge.py to simplify the application of lineup edge calculations, enhancing code clarity and maintainability.
4edaf5f

James McCool commited on

Rename reassess_edge function to reassess_lineup_edge in reassess_edge.py for clarity, and update references accordingly to improve code readability and maintainability.
b6825dd

James McCool commited on

Fix reassess_dupes function in reassess_edge.py to remove clipping on calculated values, ensuring accurate salary difference assessments for player lineups.
e228296

James McCool commited on

Update app.py to utilize prior_frame for reassessing edges in both working_frame and export_base, enhancing accuracy in player lineup metrics.
58b86c3

James McCool commited on

Refactor change_mask logic in reassess_edge.py to filter based solely on median differences, improving accuracy in edge assessments for player lineups.
30c8de0

James McCool commited on

Add reassess_edge function in reassess_edge.py for recalculating lineup metrics based on player performance, and update app.py to utilize this function for improved edge assessments in player lineups.
d015d8c

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

Refactor predict_dupes function call in app.py to use parsed_frame and salary_max, and add reassess_edge function in reassess_edge.py for recalculating metrics based on differences in salary, median, and ownership.
f51c772

James McCool commited on

Update exposure_spread function call in app.py to use export_base instead of working_frame, ensuring correct data handling for exposure calculations.
977b318

James McCool commited on

Refactor similarity score calculations in stratification_function to use quantiles instead of min/max thresholds, improving accuracy in target similarity score generation.
8b50a4a

James McCool commited on

Update stratification sample range slider in app.py to allow a range input from 0.0 to 100.0, enhancing user control over sample selection.
66b96f5

James McCool commited on

Add stratification sample range slider to app.py and update stratification_function to accept threshold parameters for improved player selection control.
99b9aa9

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

Add app.py to implement a Streamlit application for player analysis and portfolio management, featuring data loading, name matching, and exposure management functionalities.
24c170e

James McCool commited on

Add application.py to implement Streamlit app for player analysis and portfolio management, including data loading, name matching, and exposure management features.
473d541

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

Update exposure_player selection in app.py to use unique player names from projections_df, ensuring accurate data representation in exposure management.
d918500

James McCool commited on

Reinstate settings_base assignment in app.py after exposure_player debug print statement to ensure session state integrity during exposure evaluations.
cc4f407

James McCool commited on

Reinstate settings_base assignment in app.py after exposure_player debug print statement to maintain session state integrity during exposure evaluations.
9fdaa32

James McCool commited on

Add debug print statement for exposure_player in app.py to assist with tracking state during exposure evaluations.
8038664

James McCool commited on