Commit History

Add FLEX eligibility check in check_golf_position_eligibility function to allow 'G' positions for FLEX columns. This enhances player eligibility logic for golf positions.
f35aa8d

James McCool commited on

Implement error handling in exposure_spread function to ensure robust position extraction. If an error occurs during position parsing, fallback to the original position list, enhancing reliability in player eligibility processing.
c0ae0e3

James McCool commited on

Refactor app.py to enhance user interface by updating form button labels to "Portfolio" and "Export" for clarity. Introduce informative messages to guide users on the functionality of each button, improving overall user experience in data submission processes.
fba063e

James McCool commited on

Update app.py to correct data assignment by replacing 'working_frame' with 'export_base' for parsed_frame. This change ensures accurate filtering based on duplication and salary criteria, enhancing data integrity in the export process.
c618f4d

James McCool commited on

Refactor app.py to streamline data handling by removing 'display_frame_source' checks. Update working_frame and export_merge assignments to ensure consistent data processing across functionalities, including filtering, trimming, and exposure management, enhancing overall code clarity and maintainability.
4f967b3

James McCool commited on

Enhance app.py to differentiate data handling based on 'display_frame_source'. Implement conditional logic for working_frame and export_merge updates in various functionalities, including filtering, trimming, and exposure management, ensuring accurate data processing for both Portfolio and Base sources.
fa35534

James McCool commited on

Refactor display frame handling in app.py to use a unified session state variable. Update references to 'display_frame' to ensure consistency and improve data management across various functionalities, including player and stack analysis.
57d6a24

James McCool commited on

Adjust lineups_to_remove calculation in exposure_spread function to apply a 101% factor, refining accuracy in lineup adjustments based on player exposure and target.
b452fab

James McCool commited on

Update default target exposure value in exposure management form from 0.25 to 0.50 for improved user experience.
d148196

James McCool commited on

Add salary, median, and ownership calculations for Classic and Showdown types in exposure_spread function
1e4e9b8

James McCool commited on

Adjust lineups_to_remove calculation in exposure_spread function to apply a 105% factor, refining accuracy in lineup adjustments based on player exposure and target.
fb33fb9

James McCool commited on

Enhance exposure_spread function by adding salary_max parameter for improved salary filtering and adjusting lineups_to_remove calculation to a 125% factor, refining player selection logic and ensuring existing players are excluded from comparable options.
87bb04e

James McCool commited on

Refactor exposure_spread function to streamline comparable player selection logic, ensuring accurate filtering based on salary, median projections, and position overlap, while maintaining team removal functionality.
38f865e

James McCool commited on

Refine lineups_to_remove calculation in exposure_spread function to ensure accurate adjustment based on player exposure and target, applying a consistent 150% factor for lineup modifications.
0f6f9ba

James McCool commited on

Refactor lineups_to_remove calculation in exposure_spread function to streamline logic, ensuring consistent application of the 150% factor for lineup adjustments.
11220fa

James McCool commited on

Adjust lineups_to_remove calculation in exposure_spread function to apply a 150% factor, enhancing accuracy in lineup adjustments for non-zero target exposure.
45f0bb9

James McCool commited on

Refine lineups_to_remove calculation in exposure_spread function to adjust for non-zero target exposure, improving accuracy in lineup adjustments by applying a 75% reduction factor.
e60e8c4

James McCool commited on

Update lineups_to_remove calculation in exposure_spread function to handle zero target exposure and adjust for non-zero targets, improving accuracy in lineup adjustments.
aa2e7d9

James McCool commited on

Shuffle player rows in exposure_spread function to ensure random selection of players for lineup adjustments, enhancing variability in exposure calculations.
f93672b

James McCool commited on

Refactor exposure_spread function to correctly apply team removal logic to comparable players, ensuring accurate filtering in player comparisons.
54ce19d

James McCool commited on

Enhance exposure_spread function to include an option for removing specified teams, improving flexibility in player comparison and exposure calculations.
1b89d01

James McCool commited on

Enhance dupes calculation in predict_dupes function by adjusting the Finish_percentile formula to include ownership ratio and Contest_Size, improving the accuracy of duplicate predictions.
1046e61

James McCool commited on

Refactor dupes calculation in predict_dupes function to incorporate ownership ratio adjustment based on Contest_Size, enhancing the accuracy of duplicate predictions. Additionally, modify the calculation to use a salary ratio of 50 for improved precision.
70c1c8d

James McCool commited on

Update dupes calculation in predict_dupes function to multiply ownership product by 10, refining the accuracy of duplicate predictions based on ownership metrics and Contest_Size.
4411256

James McCool commited on

Update dupes calculation in predict_dupes function to multiply ownership product by 100, enhancing the accuracy of duplicate predictions based on ownership metrics and Contest_Size.
92c9001

James McCool commited on

Refine dupes calculation in predict_dupes function by adjusting the salary ratio from 100 to 50, enhancing the accuracy of duplicate predictions based on ownership metrics and Contest_Size.
ac3cdbd

James McCool commited on

Adjust dupes calculation in predict_dupes function by modifying the salary ratio from 100 to 50, further refining the accuracy of duplicate predictions based on ownership metrics and Contest_Size.
9b99f7a

James McCool commited on

Refine dupes calculation in predict_dupes function by adjusting the formula to prioritize Contest_Size and ownership metrics, enhancing the accuracy of duplicate predictions.
9324c8a

James McCool commited on

Refine dupes calculation in predict_dupes function by adjusting the salary ratio from 50000 to 49500, improving accuracy in duplicate predictions based on ownership metrics.
bfb331d

James McCool commited on

Refactor dupes calculation in predict_dupes function to correct ownership ratio adjustments, ensuring accurate predictions based on ownership metrics and Contest_Size. This update enhances the overall accuracy of duplicate predictions.
77ebf37

James McCool commited on

Update dupes calculation in predict_dupes function to multiply ownership product by 100, improving accuracy in duplicate predictions based on ownership metrics.
7c9341c

James McCool commited on

Update dupes calculation in predict_dupes function to incorporate ownership ratio adjustment based on Contest_Size, enhancing accuracy in duplicate predictions.
af0c3fb

James McCool commited on

Adjust ownership average calculation in predict_dupes function to a new ratio of 0.33, and add a debug print statement to display key portfolio metrics, enhancing data verification and accuracy in ownership assessments.
6c56d9c

James McCool commited on

Update ownership average calculation in predict_dupes function to reflect a new ratio of 0.66, improving accuracy in ownership metrics for both portfolio and team ownership assessments.
9051c91

James McCool commited on

Refactor captain ownership calculation in app.py to simplify logic by removing unnecessary type variable check, ensuring accurate ownership adjustments when captain ownership data is missing.
61dd8c5

James McCool commited on

Remove type conversion for 'Own' column in predict_dupes function and add debug print statement to display the first 10 rows of the working frame, aiding in data verification.
43f4453

James McCool commited on

Refactor ownership ratio adjustments in predict_dupes function to streamline logic for CS2 and LOL, ensuring consistent application of nerf values based on sport type, which enhances prediction accuracy.
a92df2e

James McCool commited on

Update type conversion in predict_dupes function to conditionally apply float32 conversion based on sport variable, enhancing compatibility for non-LOL sports.
37de66c

James McCool commited on

Update player column selection in predict_dupes function to include an additional player, ensuring compatibility with the updated League of Legends (LOL) logic for enhanced prediction accuracy.
aee7e1d

James McCool commited on

Add support for 7 players in League of Legends (LOL) in predict_dupes function, updating salary cap and player column logic to accommodate sport-specific requirements, enhancing prediction accuracy.
a1db6b9

James McCool commited on

Refactor type conversion in predict_dupes function to handle exceptions gracefully, ensuring robust data processing without interruption.
64064b9

James McCool commited on

Add debug print statements in predict_dupes function to display portfolio columns and the first 10 rows, aiding in troubleshooting and data verification.
64ed14c

James McCool commited on

Refactor predict_dupes function to enhance League of Legends (LOL) support, adding specific calculations for ownership percentages and ranks, while maintaining existing logic for CS2. This improves accuracy in player predictions and ensures consistent handling of duplicate calculations across both sports.
b53e467

James McCool commited on

Enhance predict_dupes function to include League of Legends (LOL) alongside CS2 for sport-specific logic, updating conditions for duplicate count calculations and own ratio nerf adjustments to improve accuracy in player predictions.
17b7fee

James McCool commited on

Add support for LOL in app.py and related functions, updating sport selection and eligibility checks across multiple modules to include League of Legends, enhancing overall functionality and user experience.
05f2b9c

James McCool commited on

Update exposure selection logic in app.py to conditionally display stack maintenance option based on the presence of 'Stack' column in the working frame, defaulting to 'No' if absent.
01c1482

James McCool commited on

ping
ac28920

James McCool commited on

Refactor player statistics calculation in exposure_spread function to handle GOLF sport-specific logic, ensuring accurate lineup counts and averages for players across Captain and FLEX positions.
9682eff

James McCool commited on

ping
72c43b1

James McCool commited on

Update exposure_spread function call in app.py to include type_var parameter, ensuring sport-specific logic is applied during player eligibility checks and enhancing the accuracy of player replacements.
13bd645

James McCool commited on