Commit History

Add debug statements to player filtering logic in app.py to display mask results. This enhancement aids in verifying the accuracy of the include and remove masks during lineup filtering, improving debugging capabilities.
f63390c

James McCool commited on

Update player filtering logic in app.py to change the include mask condition from 'all' to 'any'. This adjustment ensures that lineups are accurately filtered based on user-defined selections, enhancing the functionality of player management.
2d87ddd

James McCool commited on

ping
b7ccdd0

James McCool commited on

Update player filtering logic in app.py to correct the remove mask condition. Changed from using 'all' to 'any' for player removal criteria, ensuring accurate filtering of lineups based on user-defined selections.
a2fa9ef

James McCool commited on

Refactor player filtering logic in app.py to combine include and remove masks into a single operation. This change simplifies the filtering process, improving code efficiency and maintaining accurate lineup management based on user-defined criteria.
71a525a

James McCool commited on

Refactor player filtering logic in app.py to correct mask application for removing players. Updated the remove mask condition to ensure accurate filtering of lineups based on user-defined criteria, enhancing functionality and maintainability.
f70241f

James McCool commited on

Refactor player filtering logic in app.py to consolidate mask creation for including and removing players. This change enhances code readability and maintains the functionality of dynamic player selection based on user-defined criteria.
b2bbd77

James McCool commited on

Refactor player filtering logic in app.py to utilize dynamic player column selection. Updated include and remove masks to improve accuracy in filtering lineups based on user-defined criteria, enhancing overall functionality and maintainability.
40e191a

James McCool commited on

Refactor lineup filtering logic in app.py to streamline player selection process. Updated multiselect options for removing and including players, enhancing clarity and user experience. Improved filtering conditions to ensure accurate lineup management based on user selections.
a7fac7f

James McCool commited on

ping
dbce748

James McCool commited on

Refactor lineup filtering logic in app.py to improve clarity and maintainability. Updated variable names for multiselect options to enhance user understanding when managing player and stack filters, ensuring a more intuitive experience.
95c7789

James McCool commited on

Refactor lineup filtering options in app.py to enhance clarity in user prompts. Updated multiselect labels to provide context based on selected variables, improving the user experience when managing lineups.
4448bfb

James McCool commited on

Enhance user interaction in app.py by implementing a form for selecting variables to remove from lineups. This change allows users to apply their selections more intuitively, improving the overall lineup management experience.
daedb53

James McCool commited on

Update lineup filtering options in app.py to replace multiselect with selectbox for improved user experience
a14517f

James McCool commited on

Add Conditional Manager to app.py for lineup filtering options
55d145d

James McCool commited on

ping
57b18cb

James McCool commited on

Refactor reassess_edge function in reassess_edge.py to improve efficiency by concatenating modified and base frames, simplifying the extraction of updated rows, and enhancing clarity in the logic for processing modified data.
b8a8ac9

James McCool commited on

Refactor app.py to replace predict_dupes calls with reassess_edge for both working and export frames, enhancing the accuracy of edge assessments by utilizing the updated reassess_edge function in reassess_edge.py.
b01e348

James McCool commited on

Replace reassess_edge function calls with predict_dupes in app.py to streamline duplicate prediction logic for working and export frames, enhancing data processing accuracy.
1bb122a

James McCool commited on

Refactor dupe adjustment logic in reassess_dupes function of reassess_edge.py to conditionally apply adjustments based on salary_diff, ensuring accurate calculations for positive salary differences while maintaining original dupes for non-positive differences.
aab46fa

James McCool commited on

Update reassess_finish_percentile calculation in reassess_edge.py to use max() instead of min(), ensuring that the finish_percentile does not fall below the sum of a minimum threshold and 'Win%', thereby enhancing the accuracy of lineup assessments.
d28e504

James McCool commited on

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