Commit History

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

Replace dataframe display with table in app.py for improved performance and simplicity. This change enhances the user interface by streamlining the presentation of paginated data.
db75e00

James McCool commited on

Enhance stack summary management in app.py by introducing session state checks for 'origin_stack_exposures'. This update ensures accurate stack statistics are displayed based on user settings and improves data handling for stack summaries during portfolio interactions.
6b711fb

James McCool commited on

Refactor name matching analysis in app.py to streamline the process of matching portfolio and projection names. This update enhances the accuracy of name matching, improves session state management, and ensures proper handling of unmatched names during user interactions.
680a8ac

James McCool commited on

Refactor name matching analysis in app.py to ensure execution only occurs when 'origin_portfolio' is absent. This update improves the accuracy of player name matching and enhances session state management for portfolio and projections, ensuring proper data handling during user interactions.
db65076

James McCool commited on

ping
110d58b

James McCool commited on

Update session state condition in app.py to prevent analysis execution when 'origin_portfolio' is present. This change enhances the accuracy of the name matching analysis by ensuring proper data handling based on user interactions.
bf942c2

James McCool commited on

Update player name lists in app.py to include additional entries for MLB, enhancing accuracy in player identification and lineup generation.
8976120

James McCool commited on

Refactor import statements across multiple files to replace 'fuzzywuzzy' with 'rapidfuzz' for improved performance and consistency in string matching functionality. Additionally, clean up unused imports in app.py and related global functions to enhance code clarity and maintainability.
d9db89f

James McCool commited on

Refine session state condition in app.py to ensure player summary assignment only occurs when the display source is 'Portfolio'. This change enhances the accuracy of player statistics management during user interactions.
29377be

James McCool commited on

Add session state management for 'settings_base' in app.py to improve portfolio handling during user interactions. This change ensures the correct initialization of session state when working with the portfolio, enhancing overall user experience.
ba4c85f

James McCool commited on

Refactor session state management in app.py to enhance portfolio reset functionality and streamline player summary assignment. Introduce logic to toggle 'settings_base' state during form submissions, ensuring accurate handling of player exposures and improving user experience.
379368b

James McCool commited on

Update session state key in app.py from 'origin_player_exposures' to 'player_summary' to improve player statistics management and ensure accurate data handling during lineup generation.
5628499

James McCool commited on

Update player summary management in app.py to ensure accurate session state handling. On portfolio reset, copy player exposures to maintain consistency. Refactor player summary assignment logic to streamline data flow and enhance user experience.
26efe66

James McCool commited on

Refactor player statistics calculation in app.py to streamline logic for 'Showdown' and 'Classic' formats. Introduce session state management for player exposures when the source is 'Portfolio', enhancing lineup generation accuracy and user experience.
e43f97d

James McCool commited on

Enhance preset functions in app.py and related modules to include 'sport' parameter for improved flexibility in lineup management. This update modifies the small_field_preset, large_field_preset, volatility_preset, hedging_preset, and reduce_volatility_preset functions to accommodate sport-specific logic, enhancing user experience and accuracy in lineup strategies.
206da8c

James McCool commited on

Update player name lists in app.py to include 'Joseph Cantillo' and 'Joey Cantillo' for improved accuracy in lineup management. This change ensures correct player identification in the MLB context.
ec67dfb

James McCool commited on

Remove 'Reduce Volatility' option from preset selection in app.py to streamline user choices. This change simplifies the interface for lineup management, focusing on the most relevant presets for users.
eb50f14

James McCool commited on

Add 'Reduce Volatility' preset option in app.py and implement reduce_volatility_preset function. This update enhances user options for lineup management by allowing users to manage volatility in their selections, improving overall portfolio strategy.
1c0e798

James McCool commited on

Similarity Score > Diversity
efb1867

James McCool commited on

Update sorting variable options in app.py to include 'Own' and 'Weighted Own' for enhanced user selection. This change improves the flexibility of variable sorting, allowing for more tailored data analysis.
ff85862

James McCool commited on

Enhance column configuration in app.py by adding 'Similarity Score' for projected lineup diversity. This update includes help text, width specifications, and value constraints to improve user interaction and clarity.
6b15752

James McCool commited on

Refactor column configuration in app.py by removing unnecessary dictionary structure for 'Lineup Edge'. This change streamlines the code and enhances readability while maintaining functionality.
8a6a688

James McCool commited on

Add column configurations for 'Finish_percentile' and 'Lineup Edge' in app.py to enhance DataFrame display. This update includes help text, width specifications, and value constraints for improved user interaction and clarity.
c1393ff

James McCool commited on

Update portfolio reset functionality in app.py to restore working frame from base frame. This change ensures that the portfolio resets correctly by copying the base frame, enhancing the user experience during portfolio management.
517ef17

James McCool commited on

Refactor sidebar and container layout in app.py to improve user interface. Moved trimming options to the sidebar and adjusted the export section to use a container with a border. Updated DataFrame display settings for better visibility and reduced height.
57a5f25

James McCool commited on

Add volatility preset option in app.py and implement volatility_preset function. Updated lineup generation logic to include new preset for enhanced lineup edge management.
cc0edce

James McCool commited on

Update preset options in app.py to improve lineup generation accuracy. Changed 'Large Field (Finish Percentile / Edge)' to 'Large Field (Manage Similarity)' and adjusted corresponding logic in the form submission process.
8c81703

James McCool commited on

Replace distribute_preset with hedging_preset to manage player exposure in lineup generation. Update app.py to reflect the new preset option and remove the obsolete distribute_preset function. This change enhances the flexibility of lineup strategies by allowing users to hedge against high-exposure players while maintaining performance metrics.
119b2bf

James McCool commited on

Add 'Similarity Score' to data handling in app.py
0b4291c

James McCool commited on

Enhance trimming variable options in app.py and update portfolio trimming logic in trim_portfolio.py to accommodate 'Similarity Score'. This change allows for more flexible data handling and improves the trimming process based on the selected variable.
91ab4fb

James McCool commited on

Update excluded columns in app.py to include 'Similarity Score' for improved data handling in portfolio processing.
0b88791

James McCool commited on

Update preset label in app.py for clarity and consistency
84a7686

James McCool commited on

Update preset option in app.py to correct wording for 'Distributed' selection
b35b9b7

James McCool commited on

Add distribute_preset function and update app.py for preset selection
5a5c5db

James McCool commited on

Enhance small_field_preset and large_field_preset functions to accept an additional parameter for excluded columns, improving filtering capabilities and lineup accuracy. Update app.py to reflect these changes in preset selections.
1b1db4f

James McCool commited on

Add info message in Presets section of app.py to indicate ongoing testing status, enhancing user awareness of feature readiness.
f591d4e

James McCool commited on

Update preset options in app.py: modify the small field preset selection to include more descriptive labels, enhancing clarity for users when choosing lineup configurations.
c7d3c05

James McCool commited on

Add large field preset functionality in app.py and implement large_field_preset function for improved lineup targeting. Update small_field_preset function to sort by 'Own' for consistency in portfolio adjustments.
936a186

James McCool commited on

Comment out calculations for highest owned teams and pitchers in app.py to streamline functionality and focus on essential features, while maintaining the option for future use.
ab5ff8c

James McCool commited on

Enhance app functionality by adding calculations for the highest owned teams and pitchers based on projections, improving user insights into team ownership trends. Refactor small_field_preset function to ensure consistent DataFrame structure by sorting working portfolio by median before returning results.
4507308

James McCool commited on

Refactor small_field_preset function to ensure consistent DataFrame structure by resetting the index after filtering and sorting the working portfolio by Median before returning results, improving accuracy in lineup selection.
a6d3a93

James McCool commited on

Enhance preset selection in app.py: add a dropdown for choosing presets and update lineup target input label, improving user experience and interaction. Update small_field_preset function to filter working portfolio based on Finish_percentile, ensuring more accurate portfolio adjustments.
82d3e88

James McCool commited on

Implement form submission for small field preset in app.py: add a submit button to apply lineup target changes, enhancing user interaction and ensuring updates to the working frame are only processed upon user confirmation.
737b2a7

James McCool commited on