Refactor app.py: Improve tab layout and statistics display for simulation results
32f717b
James McCoolcommited on
Add custom tab styling and layout improvements to Streamlit app
e2120eb
James McCoolcommited on
Refactor app.py: Update sharp_split values based on contest field strength. Adjusted thresholds for contest strength categories to improve accuracy in contest simulations and data handling.
fec28b8
James McCoolcommited on
Enhance app.py: Introduce name mapping for player positions in DraftKings and FanDuel seed frame functions. Added functionality to convert player names using dedicated name maps for both main and secondary seed frames, improving data clarity and consistency in player representation.
2615945
James McCoolcommited on
Refactor app.py: Simplify data export handling by removing unnecessary DataFrame conversion for session state display. This change enhances performance and maintains consistency in data representation across player selections.
202a844
James McCoolcommited on
Enhance data export functionality in app.py: Introduced export_column_var to dynamically set export column indices for specific player selections in both DraftKings and FanDuel contexts. This change improves the flexibility of data handling in session state management.
bf45afd
James McCoolcommited on
Refactor app.py: Update player ID dictionary assignments for DraftKings and FanDuel to use raw data sources. Adjusted baseline data and column names for both main and secondary slates, improving data integrity and consistency in session state management.
8a37697
James McCoolcommited on
Refactor app.py: Update seed frame assignments to store working seeds in session state. Introduced dictionaries for player and player ID mapping for both DraftKings and FanDuel, enhancing data management and accessibility during simulations.
6334faa
James McCoolcommited on
Refactor app.py: Rename variables for clarity in seed frame functions. Updated 'DK_secondary' to 'DK_seed' and 'FD_secondary' to 'FD_seed' to better reflect their purpose. This change improves code readability and maintains consistency across the application.
cc8e2a2
James McCoolcommited on
Refactor app.py: Update seed frame initialization functions to accept a load size parameter, limiting the number of records fetched from the database. This change enhances performance by allowing for more controlled data retrieval in DraftKings and FanDuel seed frame functions.
bea4631
James McCoolcommited on
Refactor app.py: Remove Google Sheets integration, simplify connection initialization, and optimize caching. Adjusted data frame initialization and improved contest simulation logic. Updated cache timeouts and enhanced player ID handling for DraftKings and FanDuel. Cleaned up unused variables and streamlined data export functionality.