Commit History

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

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

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

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

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

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

Refactor salary, median, and ownership calculations in app.py to use parsed_frame instead of session state, improving data handling consistency and clarity in exposure evaluations.
b42fc89

James McCool commited on

Refactor exposure_player handling in app.py to use session state for consistent data access during exposure evaluations.
67223dc

James McCool commited on

Update working_frame and export_base assignments in exposure_spread function to ensure consistent data handling and improve clarity in exposure evaluations.
f548d53

James McCool commited on

Enhance app.py to include F1 in sport selection and implement position and team variable assignments based on selected sport. Update projections to reflect these variables for GOLF, TENNIS, MMA, NASCAR, and F1, improving data handling for player eligibility.
b9049ff

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

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

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

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

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

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

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

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

Enhance exposure_spread function to include sport-specific position eligibility checks, ensuring accurate player replacements based on their eligible positions across various sports.
8e462c9

James McCool commited on

fixed exposure_player default var
7716142

James McCool commited on

Add exposure management feature in app.py and implement exposure_spread function
158eaa8

James McCool commited on

Add stratification functionality and enhance portfolio handling in app.py
2e3cd9d

James McCool commited on

Update MLB player name mappings in app.py to include 'Temi Fágbénlé' and 'Temi Fagbenle', improving accuracy in player recognition.
dd94c84

James McCool commited on

Add player combination analysis feature in app.py and implement analyze_player_combos function. This update introduces a new tab for analyzing player combinations, allowing users to select combo sizes and view statistics on the most common player pairings or triplets, enhancing the analytical capabilities of the application.
68208b0

James McCool commited on

Update player name mappings in app.py for MLB to include 'Jakob Bauers' and 'Jake Bauers', enhancing accuracy in name recognition.
9cec9e7

James McCool commited on

Remove NASCAR table display from app.py to streamline portfolio presentation and improve user experience. Update name mapping logic in load_dk_fd_file.py to enhance ID handling and ensure cleaner data output.
b6cd6af

James McCool commited on

Add table display for NASCAR portfolios in app.py to enhance data visibility for NASCAR users.
5a83748

James McCool commited on

Update sport selection in app.py to include 'NASCAR' in the options, enhancing user choice for sports selection.
ad9faf9

James McCool commited on

Change dataframe display from table to interactive dataframe in app.py for enhanced user experience and improved data visualization. This update maintains the existing styled formatting and background gradients.
23ffbed

James McCool commited on

Enhance dataframe display in app.py by applying styled formatting and column configurations for improved visual representation. This update includes background gradients and custom number columns to better convey statistical data in the user interface.
85260c1

James McCool commited on