Commit History

Add debug print statement in exposure_spread function to log player assignments, aiding in troubleshooting during player replacement process.
efac5fb

James McCool commited on

Refactor exposure_spread function to simplify player assignment by using the .at method for direct access to player locations, enhancing code readability and performance.
0f7b331

James McCool commited on

Enhance exposure_spread function to assign the selected comparable player to both the player location and a new 'player_change' column, improving tracking of player adjustments in lineups.
c99fc4d

James McCool commited on

Refactor player location retrieval in exposure_spread function to use list index method, improving clarity and ensuring accurate player replacement from the comparable player list.
4e5f9a7

James McCool commited on

Refactor exposure_spread function to improve player replacement logic by directly accessing player locations using column indices, enhancing code clarity and performance.
268badd

James McCool commited on

Update exposure_spread function to ensure the number of lineups to remove is rounded up using math.ceil, enhancing the accuracy of player replacement from the comparable player list.
67af571

James McCool commited on

Refactor exposure_spread function to iterate over the number of lineups to remove, ensuring correct player replacement from the comparable player list. This change improves the logic for player adjustments in lineups.
db663df

James McCool commited on

Add debug print statements in exposure_spread function to log player rows and locations for improved troubleshooting during player replacement process.
3c80a10

James McCool commited on

Update exposure_spread function to utilize numpy for player location identification, enhancing accuracy in lineup adjustments by ensuring the correct player is replaced with a comparable player from the list.
18eaa68

James McCool commited on

Refactor exposure_spread function to access salary and median values directly from the first row of comparable players, improving clarity and ensuring correct data retrieval for player comparisons.
7dd1418

James McCool commited on

Refactor exposure_spread function to use median projections instead of raw projections for better accuracy in player comparisons. Update comparable player list to reference 'player_names' for consistency.
1f65761

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

Refactor predict_dupes.py to implement vectorized calculations for ownership and similarity scores, improving performance. Introduce new functions for weighted ownership and player similarity, while maintaining backward compatibility. Update data type handling for portfolio results to optimize memory usage.
46a28f1

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

Increase the number of top combos analyzed from 50 to 100 in the analyze_player_combos function, enhancing the depth of player combination statistics available for analysis.
d42af28

James McCool commited on

Rename analyze_player_combinations function to analyze_player_combos for consistency and clarity in the player combination analysis module.
e512b33

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

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

Enhance data handling in load_ss_file.py by replacing zeros with NaN and dropping rows with any NaN values. This improves data integrity for CSV and Excel file imports.
fb3a403

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

need matplotlib
ddb9785

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

Update hedging_preset function to double lineup_target when list_size is 5, enhancing lineup generation accuracy by adjusting target values based on portfolio size.
4955178

James McCool commited on

Enhance volatility_preset function to include sport-specific logic for MLB, allowing dynamic adjustments in player selection based on team diversity. This update improves lineup generation accuracy by refining the handling of team constraints and optimizing the portfolio based on lineup edge.
e8898ed

James McCool commited on

Implement sport-specific logic in small_field_preset for MLB, enhancing lineup management by dynamically adjusting player selection based on 'Weighted Own' values. This update improves the function's ability to handle team-specific constraints and ensures more accurate lineup generation.
9e303cb

James McCool commited on

Update hedging_preset function to include 'sport' parameter in small_field_preset and large_field_preset calls for enhanced lineup management flexibility. This change aligns with recent updates to improve sport-specific logic in lineup strategies.
201ffbb

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

Rename function 'volatility_preset' to 'reduce_volatility_preset' for consistency with updated functionality. This change clarifies the purpose of the function in managing portfolio volatility.
053d82e

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