Fix variable naming in simulation initialization for DraftKings and FanDuel
38baa2d
Running
James McCoolcommited on
Implement comprehensive contest simulation functionality with dynamic sport, site, and slate selection
ceb1f25
James McCoolcommited on
Enhance UI/UX with custom Streamlit tab styling and reorganize Data Export tab layout
2b28c7d
James McCoolcommited on
Handle initialization of baselines in app.py with error handling. Added a try-except block to fallback to 'NBA' data if 'NFL' initialization fails, improving robustness of the simulation setup.
cc728bf
James McCoolcommited on
Refactor data loading in app.py to improve clarity and maintainability. Renamed variable from 'raw_display' to 'load_display' for better context. Streamlined filtering for DraftKings and FanDuel sites by reusing the loaded DataFrame. Removed redundant database queries to enhance performance.
2dacd0e
James McCoolcommited on
Refactor app.py to streamline database connections and enhance data retrieval methods. Removed hardcoded credentials and replaced them with environment variables. Updated functions to include a 'split' parameter for limiting data fetched from MongoDB. Added auxiliary seed frame functions for both DraftKings and FanDuel. Improved simulation logic for contest entries and ownership calculations. Cleaned up unused variables and optimized data handling for better performance.