Commit History

Update reassess_finish_percentile calculation in reassess_edge.py to ensure it does not exceed the sum of a minimum threshold and 'Win%', enhancing accuracy in lineup assessments.
d3dffbb

James McCool commited on

Update return logic in reassess_lineup_edge function of reassess_edge.py to use 'Lineup Edge' instead of 'Finish_percentile', ensuring accurate calculations of lineup edge assessments.
dc3d201

James McCool commited on

Refactor dupe rate calculation in reassess_lineup_edge function of reassess_edge.py to use min() instead of clip(), improving clarity and ensuring accurate handling of zero previous dupes.
89ebdd0

James McCool commited on

Update reassess_lineup_edge function in reassess_edge.py to handle cases where previous dupes are zero, ensuring robust calculations by clipping the dupe rate. This change enhances the accuracy of lineup edge assessments.
85907dc

James McCool commited on

Enhance reassess_lineup_edge function in reassess_edge.py to incorporate previous finish_percentile and dupes for improved lineup edge calculations. Update the return logic to better reflect the relationship between finish_percentile and lineup edge, ensuring more accurate assessments.
f61c9fc

James McCool commited on

Refactor reassess_lineup_edge function in reassess_edge.py to improve clarity by using local variables for calculations. Update references to 'Edge' to 'Lineup Edge' for consistency, and adjust column drop logic to retain necessary data for further processing.
85afab8

James McCool commited on

Update reassess_finish_percentile calculation in reassess_edge.py to adjust ownership impact by changing the divisor for own_diff from 2 to 200, improving accuracy in finish_percentile adjustments.
456243b

James McCool commited on

Comment out the column drop logic in reassess_edge function to retain additional data for debugging purposes, enhancing flexibility in data handling.
ad0e07a

James McCool commited on

Refactor reassess_finish_percentile function in reassess_edge.py to remove unnecessary parameters, streamlining the calculation of finish_percentile. Update references in reassess_edge function to align with the new function signature, enhancing code clarity and maintainability.
d12afa6

James McCool commited on

Refactor reassess_finish_percentile function in reassess_edge.py to simplify calculations by using ownership and median differences, improving accuracy in finish_percentile adjustments. Update column drop logic to remove unnecessary columns for cleaner data handling.
9fa6f26

James McCool commited on

Implement reassess_finish_percentile function in reassess_edge.py to recalculate finish_percentile based on ownership and contest size, enhancing accuracy in ownership adjustments. Remove debug print statements from app.py for cleaner code.
8833483

James McCool commited on

Refactor final_dupes calculation in reassess_dupes function to use max() for non-negative values, improving clarity and ensuring accurate ownership adjustments.
7c0c068

James McCool commited on

Update final_dupes calculation in reassess_dupes function to ensure non-negative values by applying a lower clip, enhancing accuracy in ownership adjustments.
a0a80d8

James McCool commited on

Refine reassess_dupes function in reassess_edge.py to enhance the threshold crossing logic for salary adjustments, ensuring accurate reduction of dupes when salaries transition from above to below the threshold, while maintaining clarity and readability.
4f1a07c

James McCool commited on

Enhance reassess_dupes function in reassess_edge.py by implementing a threshold-based adjustment mechanism for dupes, improving accuracy in ownership calculations while removing redundant debug statements for cleaner code.
fe4cd6d

James McCool commited on

Refactor reassess_dupes function in reassess_edge.py to improve clarity by introducing local variables for salary, salary_diff, own_diff, and dupes, enhancing readability while maintaining existing logic for ownership adjustments.
24c4247

James McCool commited on

Add additional debug statements in reassess_dupes function to log detailed calculations and type checks for salary adjustments, further enhancing troubleshooting capabilities.
c4b1445

James McCool commited on

more debugging
a1da977

James McCool commited on

Add debug statement in reassess_dupes function to log salary value, enhancing troubleshooting capabilities for ownership adjustments.
1e2e80c

James McCool commited on

ping
b545121

James McCool commited on

Refactor reassess_dupes function in reassess_edge.py to improve readability by restructuring the return statement, while maintaining the existing logic for salary and ownership adjustments.
bd3e305

James McCool commited on

Add debug statement in reassess_dupes function to log salary and ownership differences, enhancing troubleshooting capabilities for ownership adjustments.
817c616

James McCool commited on

Refactor reassess_dupes function in reassess_edge.py to enhance ownership calculation by incorporating a more detailed salary and ownership adjustment mechanism, improving accuracy in metrics.
4b826cf

James McCool commited on

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