MLB_DFS_ROO / app.py

Commit History

Update app.py to modify column names for DraftKings and FanDuel lineups, enhancing data structure for player positions and improving data retrieval in init_DK_lineups and init_FD_lineups functions.
311d2c7

James McCool commited on

Refactor database collection references in init_DK_lineups and init_FD_lineups functions of app.py to use the main database instance, ensuring consistency in data retrieval across different slate types.
3d56cc9

James McCool commited on

Remove title "Scoring Percentages" from app.py to streamline the user interface and improve layout consistency.
7c0677b

James McCool commited on

Change text color of select dropdown in app.py from black to white for improved readability and visual contrast.
8f07a93

James McCool commited on

Update background color of select dropdown in app.py to enhance visual appeal and user experience.
7c39179

James McCool commited on

Add color styling to select dropdown in app.py for improved visibility and user experience.
9c1b966

James McCool commited on

Implement error handling for dataframe display in Player ROO section of app.py, ensuring fallback to original data in case of column selection failure, thereby enhancing stability and user experience.
8dcbd5a

James McCool commited on

Add error handling for player ROO data assignment in app.py to ensure robustness. If dropping columns fails, fallback to the original data, enhancing stability in data processing.
f5c8a2c

James McCool commited on

Refactor init_DK_lineups and init_FD_lineups functions in app.py to accept type_var and slate_var parameters, enhancing lineup initialization flexibility. Update related function calls throughout the code for consistency and improved user experience.
ebf50e6

James McCool commited on

Update app.py to correct the key for the team selection multiselect in the Player ROO section, ensuring proper state management and enhancing user experience.
3ae795f

James McCool commited on

Enhance app.py by adding a team selection dropdown and multiselect for viewing specific teams in the Player ROO section, improving data filtering options for users.
db1e9fe

James McCool commited on

Update app.py to change the order of options in the slate type radio button for Player ROO, improving user experience by prioritizing 'Showdown' over 'Regular'.
423ffa1

James McCool commited on

Enhance app.py by adding unique keys to radio button selections in Scoring Percentages, Player ROO, and Optimals sections, improving state management and ensuring consistent user interactions across tabs.
69b11f3

James McCool commited on

Remove redundant submit buttons from radio selection forms in app.py, streamlining user interactions and enhancing the overall UI experience.
08d71e4

James McCool commited on

Refactor app.py to adjust column layout for the "Load/Reset Data" button and replace forms with containers for Scoring Percentages, Player ROO, and Optimals sections, improving UI structure and simplifying user interactions.
b206444

James McCool commited on

Refactor app.py to reorganize the layout of the "Load/Reset Data" button and the view selection form, enhancing user interface structure and improving data loading functionality. Introduce a form for site selection to streamline user interactions.
ae5a3d1

James McCool commited on

Update app.py to change the background color of the select dropdown and adjust the column index for the "Load/Reset Data" button, improving UI consistency and layout.
a2b1e06

James McCool commited on

Update app.py to modify the init_DK_lineups and init_FD_lineups functions by adding a slate_var parameter, enhancing flexibility in lineup initialization. Refactor the "Load/Reset Data" button implementation to improve code organization and maintainability within the main container.
e40b70b

James McCool commited on

Enhance app.py by adding a new "Load/Reset Data" button in the main container and forms for Scoring Percentages, Player ROO, and Optimals sections, improving data management and user interaction. Streamline data loading process and session state management across tabs.
041e021

James McCool commited on

Refactor app.py to reintroduce tab definitions for Scoring Percentages, Player ROO, and Optimals, ensuring proper organization and functionality within the container. Update caching for data conversion to enhance performance.
5369656

James McCool commited on

Refactor app.py to remove duplicate tab definitions for Scoring Percentages, Player ROO, and Optimals, ensuring cleaner code organization and preventing potential conflicts in tab functionality.
636dd7e

James McCool commited on

Add initial rerun check in app.py to ensure session state is properly initialized, enhancing app stability and user experience.
5898d60

James McCool commited on

Refactor app.py to reposition tab definitions for Scoring Percentages, Player ROO, and Optimals sections, improving code organization and ensuring proper tab functionality within the container.
1b92d06

James McCool commited on

Refactor app.py to implement tabbed navigation for Scoring Percentages, Player ROO, and Optimals sections, enhancing user experience and organization. Remove unnecessary session state keys for radio button selections, streamlining input handling.
2c53a1d

James McCool commited on

Enhance app.py by adding a debug statement to display current session state keys, aiding in troubleshooting and improving visibility of session management.
a7bb74a

James McCool commited on

Enhance app.py by adding unique keys to radio buttons for slate and position group selections across all tabs, improving state management and ensuring consistent user input handling.
b9e2709

James McCool commited on

Refactor app.py to implement a unified selection interface for view, site, and model across all tabs, enhancing user experience and maintaining consistent data handling. Introduce caching for data conversion function to optimize performance.
1e8363d

James McCool commited on

Refactor app.py to streamline the initialization process by moving the page configuration to the top and removing unnecessary global variable deletions, enhancing code clarity and organization.
d077a00

James McCool commited on

Enhance app.py by adding unique keys to selectboxes for view and site selections across all tabs, improving state management and ensuring consistent user input handling.
d386e8e

James McCool commited on

Refactor app.py to standardize variable names for site and view selections across all tabs, ensuring consistent data handling and improving user experience with clearer input options.
c2689e4

James McCool commited on

Refactor app.py to replace radio buttons with selectboxes for view selection and streamline site and slate type inputs across all tabs, enhancing user experience and maintaining consistent data management.
a33b237

James McCool commited on

Refactor app.py to replace session state usage with local variables for site, slate type, and position group selections, improving code clarity and maintaining user input functionality across different views.
efa96d9

James McCool commited on

Update app.py to replace radio buttons with selectboxes for model selection and ensure consistent use of session state for site, slate type, and position group selections, enhancing user experience and data management.
7751c90

James McCool commited on

Refactor app.py to enhance the layout by using containers and columns for user input, allowing for simultaneous selection of view and model types, and improving the organization of the display logic for scoring percentages, player ROO, and optimals.
adbaf0a

James McCool commited on

Update app.py to store filtered player data in session state, ensuring proper data management and enhancing the display logic for the 'Simple' view.
779f835

James McCool commited on

Refactor app.py to replace selectboxes with radio buttons for user input across all tabs, enhancing UI consistency and improving user experience in data selection processes.
a25e372

James McCool commited on

Update app.py to consistently use session_state for display data management, enhancing filtering logic for site and slate types, and ensuring proper data presentation in 'Simple' and 'Advanced' views.
40cfac2

James McCool commited on

Refactor data handling in app.py to store display data in session state, enabling conditional filtering based on site and slate type selections, and improving data presentation for 'Simple' and 'Advanced' views.
436ee56

James McCool commited on

Replace dropdowns with selectboxes for user input in app.py, improving consistency in UI elements across multiple tabs.
066015d

James McCool commited on

Replace radio buttons with dropdowns for site, slate type, and player selection in app.py, enhancing user interface consistency and improving user experience across multiple tabs.
53aa055

James McCool commited on

Refactor Load/Reset Data button functionality in app.py to clear session state and initialize lineups for both Draftkings and Fanduel, improving data management and user experience across multiple tabs.
dcc4ea4

James McCool commited on

Refactor data loading and filtering options in app.py, introducing new radio buttons for site, slate type, and position group selection, enhancing user interaction and data management capabilities.
8d20291

James McCool commited on

Implement conditional display logic in app.py for 'Simple' and 'Advanced' views, allowing users to customize the dataframe output based on their preferences, enhancing data presentation and user experience.
3571793

James McCool commited on

Implement conditional display for scoring percentages in app.py, allowing users to choose between 'Simple' and 'Advanced' views, enhancing data presentation and user experience.
cf9e7c2

James McCool commited on

Update scoring percentages in app.py to convert percentage strings to decimal format for '8+ runs' and 'Win Percentage', enhancing data accuracy and consistency.
6fa8eec

James McCool commited on

Enhance scoring percentages dataframe in app.py by converting percentage strings to float for '8+ runs' and 'Win Percentage', improving data accuracy and usability.
68b8a20

James McCool commited on

Refine dataframe display in app.py by removing unnecessary game_format parameter in formatting function, enhancing clarity and consistency in data presentation.
071f3d9

James McCool commited on

Add game and player ROO formatting options in app.py to enhance dataframe display with percentage formatting, improving data readability and user experience.
0a29ddd

James McCool commited on

Update app.py to hide index in dataframe display, enhancing visual clarity and user experience.
f725d48

James McCool commited on

Add filters and data loading options in app.py with expandable section for improved user interaction and data management.
f6721c0

James McCool commited on