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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited on
ping
dbce748
James McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited on
Update lineup filtering options in app.py to replace multiselect with selectbox for improved user experience
a14517f
James McCoolcommited on
Add Conditional Manager to app.py for lineup filtering options
55d145d
James McCoolcommited on
ping
57b18cb
James McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited on
more debugging
a1da977
James McCoolcommited on
Add debug statement in reassess_dupes function to log salary value, enhancing troubleshooting capabilities for ownership adjustments.
1e2e80c
James McCoolcommited on
ping
b545121
James McCoolcommited 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 McCoolcommited on
Add debug statement in reassess_dupes function to log salary and ownership differences, enhancing troubleshooting capabilities for ownership adjustments.
817c616
James McCoolcommited 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 McCoolcommited on
ping
51fef7b
James McCoolcommited 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 McCoolcommited on
Update data type handling for salary, median, and ownership difference calculations in reassess_edge.py to improve memory efficiency and precision.
229b9de
James McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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 McCoolcommited 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.