MLB_DFS_ROO / app.py

Commit History

Update lineup display in app.py to refine summary row presentation by including only 'Salary', 'Median', and 'Own%' columns. Introduced a two-column layout for displaying player cost per player alongside the updated dataframe, enhancing user experience in lineup management.
6b178bc

James McCool commited on

Refactor player selection logic in app.py to filter eligible players based on their 'Order' value before applying auto-fill options. This change improves the accuracy of selected players for lineup management, ensuring only valid entries are considered.
25c6d27

James McCool commited on

Refactor Quick Fill Options in app.py by simplifying the layout of the auto-fill selections. This change enhances the user interface by removing unnecessary columns, streamlining the quick fill process for better usability in lineup management.
2945395

James McCool commited on

Enhance player selection logic in app.py by adding functionality to automatically fill eligible lineup slots based on selected players. This update improves lineup management by preventing duplicates and ensuring compliance with position limits, while also maintaining the existing quick fill options.
eb50214

James McCool commited on

Refactor Quick Fill Options in app.py by reintroducing the feature with improved layout and logic for auto-filling players based on team selection and size. This enhances user experience in lineup management.
70073ad

James McCool commited on

Add team filter and quick fill options in app.py to enhance lineup management. Introduced UI elements for auto-filling players based on selected team and size, improving user experience and efficiency in lineup building.
63cac6f

James McCool commited on

Refactor lineup display in app.py by removing '2x%' column from background gradient styling, enhancing clarity in player data presentation and maintaining focus on key statistics.
93f2f42

James McCool commited on

Remove '2x%' column from display in Handbuilder tab of app.py to streamline player data presentation and enhance clarity in lineup management.
3f22d0e

James McCool commited on

Remove specific CSS styling for text input height in app.py to streamline the user interface and maintain consistency across components.
0e39456

James McCool commited on

Adjust CSS styling in app.py to set a specific height for text input fields within the Handbuilder tab, enhancing the visual consistency of the user interface.
cfb1602

James McCool commited on

Refactor lineup display logic in app.py to ensure that the player data is only processed when the filled lineup is not empty. This change enhances the efficiency of the display logic and maintains clarity in the representation of player statistics.
8852749

James McCool commited on

Update Handbuilder lineup DataFrame in app.py to include '2x%' column, enhancing player data management and display. Adjust related logic for player selection and summary calculations to ensure accurate representation of player statistics, improving user experience and clarity.
2b2c50a

James McCool commited on

Update subheader in Handbuilder tab of app.py to "Lineup Build" for improved clarity and context in lineup management.
8348fb9

James McCool commited on

Update Handbuilder tab in app.py to replace empty string values with NaN for 'Order', 'Salary', 'Median', and 'Own%' columns in the lineup DataFrame. Adjust background gradient logic for improved visual representation of player data, enhancing clarity and user experience.
3626a1a

James McCool commited on

Enhance DataFrame display in Handbuilder tab of app.py by applying background gradients to player selection and lineup tables. This improves visual clarity and user experience when reviewing player data.
7e14434

James McCool commited on

Implement single-row selection for lineup removal in Handbuilder tab of app.py, allowing users to easily remove players from the lineup. Update DataFrame display logic to enhance user interaction and streamline lineup management.
0720ad1

James McCool commited on

Comment out player eligibility filtering in Handbuilder tab of app.py to temporarily disable player selection logic, allowing for further testing and adjustments without affecting current functionality.
34460c9

James McCool commited on

Update Handbuilder lineup DataFrame in app.py to include 'Order' column for improved player management and display. Adjust related logic to ensure consistent handling of player data across the application, enhancing clarity and user experience.
aa1ddcc

James McCool commited on

Enhance lineup display in Handbuilder tab of app.py by implementing an explicit order for player slots. Update DataFrame to show filled and unfilled slots clearly, and adjust summary calculations to ensure accurate representation of total salary, median, and ownership percentage. This improves user experience and data clarity.
fa0e4a7

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py to improve eligibility checks based on position limits. Update the DataFrame to include a 'Slot' column for better lineup management and ensure players are only added to available positions, enhancing user experience and data integrity.
e32d65b

James McCool commited on

Add 'Position' column to summary row in Handbuilder tab of app.py to provide a comprehensive overview of player data, enhancing clarity and user experience.
4f82cd3

James McCool commited on

Implement position limits and filtering logic in Handbuilder tab of app.py to manage player selection more effectively. This update enhances lineup management by preventing selection of players whose positions have reached their maximum count, improving user experience.
78266ef

James McCool commited on

Add position limits and filtering for player selection in Handbuilder tab of app.py. Implement logic to exclude players whose positions have reached their maximum count, enhancing lineup management and user experience.
1ddfb47

James McCool commited on

Refine player selection DataFrame in Handbuilder tab of app.py by adding duplicate removal based on 'Player' and 'Team', ensuring data integrity and enhancing user experience.
00eff85

James McCool commited on

Update player selection DataFrame in Handbuilder tab of app.py to remove duplicate entries based on 'Player' and 'Team', enhancing data integrity and improving user experience.
99cdacb

James McCool commited on

Sort player selection DataFrame by 'Order' in Handbuilder tab of app.py to enhance display clarity and ensure consistent ordering of players based on their designated order, improving user experience.
52fbe00

James McCool commited on

Add session state management for player selection in Handbuilder tab of app.py by introducing a unique key to reset selection upon player choice. This enhancement improves user experience by ensuring accurate player selection and preventing stale selections during interactions.
ed2145b

James McCool commited on

Implement lineup management in Handbuilder tab of app.py by introducing a session state for the lineup, allowing players to be added without duplicates. Update summary calculations to reflect the current lineup and add a "Clear Lineup" button for user convenience, enhancing overall functionality and user experience.
9274561

James McCool commited on

Refactor player selection handling in Handbuilder tab of app.py by removing unnecessary session state variables and simplifying the selection logic. Update the display of selected players to directly reflect current selections, enhancing clarity and user experience.
633710b

James McCool commited on

Enhance player selection state management in Handbuilder tab of app.py by initializing and maintaining a session state for selected indices. Implement logic to handle out-of-range selections and update the display based on current selections, improving user experience and selection accuracy.
263e733

James McCool commited on

Refactor player selection display in Handbuilder tab of app.py to utilize a dataframe for selected players, improving selection accuracy and user experience. Update summary row calculation to align with new selection method, ensuring accurate display of total salary, median, and ownership percentage.
4263647

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py to initialize session state DataFrame for player selections, ensuring all players are included when teams change. Update filtering mechanism to improve selection accuracy and user experience.
88a871a

James McCool commited on

Add summary row to player selection display in Handbuilder tab of app.py, calculating total salary, median, and ownership percentage, and displaying the most common team for improved data insight and user experience.
a5d3c74

James McCool commited on

Adjust team filter UI in Handbuilder tab of app.py to spread toggle switches across fewer columns, improving layout and user experience.
82356a0

James McCool commited on

Add team filter UI in Handbuilder tab of app.py to allow users to toggle team selections, enhancing player selection flexibility and improving user experience.
45ce301

James McCool commited on

Enhance "Clear Data" button functionality in Handbuilder tab of app.py by introducing a session state variable to control the key, ensuring a proper reset of the player selection editor on each rerun, thereby improving user interactivity and experience.
8fb51c2

James McCool commited on

Refactor "Clear Data" button functionality in Handbuilder tab of app.py to ensure proper data reset on rerun, enhancing user interactivity and maintaining a clean state for player selections.
d98390d

James McCool commited on

Update "Clear Data" button functionality in Handbuilder tab of app.py to trigger a rerun, improving data refresh behavior and enhancing user interactivity.
89fbc24

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py by removing the "Clear All Selections" button and simplifying the state management. Introduce a "Clear Data" button to reset selections, enhancing user experience and interactivity.
94b6cea

James McCool commited on

Implement "Clear All Selections" button in Handbuilder tab of app.py to reset player selections, enhancing user interactivity. Update session state management to preserve user selections across reruns, improving overall functionality.
d7f15e0

James McCool commited on

Enhance Handbuilder tab in app.py by increasing the height of the player selection display for better visibility and adding a "Clear Data" button to reset player selections, improving user experience and interactivity.
e9c95d8

James McCool commited on

Update player selection display in Handbuilder tab of app.py to remove unnecessary columns from the DataFrame, enhancing clarity and maintaining the overall functionality of the lineup presentation.
38618a0

James McCool commited on

Refactor selected players DataFrame in Handbuilder tab of app.py to simplify the structure by removing unnecessary columns, enhancing clarity in player selection display.
90c3e80

James McCool commited on

Refactor lineup display in Handbuilder tab of app.py to use a separate DataFrame for selected players, enhancing clarity and maintaining functionality in the user interface.
27a8dc0

James McCool commited on

Update player selection DataFrame in Handbuilder tab of app.py to include 'Order' and 'Hand' columns, and adjust lineup display settings for improved user experience and clarity.
cc2af39

James McCool commited on

Refactor player selection logic in Handbuilder tab of app.py to streamline DataFrame handling and improve user experience by ensuring fresh data on each rerun, while maintaining lineup display functionality.
6362b12

James McCool commited on

Refactor player selection handling in Handbuilder tab of app.py to improve session state management and enhance user experience by separating lineup display and player selection editor.
cd79eb2

James McCool commited on

Add Handbuilder tab in app.py to allow user selection of players for lineup creation, enhancing user interactivity and lineup management capabilities.
87b7422

James McCool commited on

ping
07a4d86

James McCool commited on

Add Pitcher_Info integration in app.py to enhance player data processing by including LHH and RHH attributes, improving data analysis capabilities for hitters.
185a85c

James McCool commited on