MLB_DFS_ROO / app.py

Commit History

Enhance styling in app.py for improved readability
61a27a2

James McCool commited on

Refactor lineup display in app.py to improve styling and readability
e87901e

James McCool commited on

Enhance lineup building logic in app.py to support both Draftkings and Fanduel platforms
2f2fe43

James McCool commited on

Add error handling for opponent and team total mappings in app.py
3e7ecca

James McCool commited on

Adjust player selection logic in app.py for 'Mid' category to correct range calculation, ensuring accurate filtering of players based on updated order parameters. This change enhances the user experience in lineup creation.
ada3119

James McCool commited on

Update player selection logic in app.py to adjust range parameters for 'Mid' and 'Wrap' categories. Enhanced the selection criteria to ensure accurate player filtering based on updated order ranges, improving user experience in lineup creation.
2d30a95

James McCool commited on

Refactor player selection DataFrame in app.py to ensure consistent filtering by salary and position. Updated logic to apply filters correctly, enhancing data integrity and user experience in lineup creation.
2c354dd

James McCool commited on

Refactor player position selection logic in app.py to simplify user experience. Removed conditional check for 'Specific' position selection, allowing direct multiselect input for positions.
53de179

James McCool commited on

Update position selection key in player filters for consistency
0aa6473

James McCool commited on

Add player filters to app.py for enhanced selection options
c6c03f4

James McCool commited on

Update 'Team_Total' and 'Opp_Total' column mappings in app.py to reference RHH_Info instead of RHP_Info, ensuring accurate data retrieval for team and opponent totals and enhancing data integrity in player selection metrics.
ad4de6d

James McCool commited on

Correct 'Team_Total' and 'Opp_Total' column mappings in app.py to accurately reference 'Opp' and 'Team', respectively, ensuring improved data integrity in player selection metrics.
7ff22e0

James McCool commited on

Refactor 'Team_Total' and 'Opp_Total' column mappings in app.py to utilize drop_duplicates() for improved data accuracy and integrity in player selection metrics.
0062b10

James McCool commited on

Refactor 'Team_Total' and 'Opp_Total' column mappings in app.py to utilize the first value from the respective DataFrame, ensuring accurate data retrieval and enhancing the integrity of player selection metrics.
42a9b70

James McCool commited on

Update 'Team_Total' and 'Opp_Total' column mappings in app.py to use the first value from the respective DataFrame, ensuring accurate data retrieval and improving the integrity of player selection metrics.
5a354a6

James McCool commited on

Correct 'Opp_Total' column mapping in app.py to reference 'Opp' instead of 'Team', ensuring accurate data retrieval for opponent totals and improving data integrity in player selection metrics.
ad1bc8e

James McCool commited on

Correct 'Team_Total' column mapping in app.py to reference 'Team' instead of 'Player', ensuring accurate data retrieval for team totals and maintaining data integrity in player selection metrics.
cb50f0b

James McCool commited on

Fix 'Team_Total' column mapping in app.py to correctly reference 'Player' instead of 'Team'. This adjustment ensures accurate data retrieval for team totals, enhancing the integrity of player selection metrics.
7ee83bf

James McCool commited on

Enhance player data management in app.py by adding 'Team_Total' and 'Opp_Total' columns to the lineup. Updated DataFrame structures and quick fill options to incorporate these new metrics, improving the clarity and depth of player selection information.
a924502

James McCool commited on

Handle potential errors when inserting 'Order' column in roo_data within app.py. Added a try-except block to ensure compatibility with non-integer values, enhancing data integrity during player selection.
dbd6109

James McCool commited on

Refactor Handbuilder section in app.py to include a slate selection dropdown, allowing users to filter player data based on slate type. Updated team filtering logic to utilize the filtered handbuild_roo dataset for improved accuracy in player selection.
cb833a2

James McCool commited on

Update quick fill options in app.py to include detailed descriptions for player selection ranges. This change enhances clarity for users by specifying the player order ranges associated with each option.
db04e43

James McCool commited on

Enhance player selection logic in app.py by modifying the wrap option to include the first three and last two players based on order. This change improves the flexibility and efficiency of lineup management.
617129f

James McCool commited on

Add quick fill options in app.py to streamline player selection for lineups. Implemented logic to auto-fill eligible players based on team, size, and order preferences, enhancing user experience and efficiency in lineup management.
f89ff68

James McCool commited on

Add 'Opp' column to roo_data in app.py for enhanced player matchup information. Adjusted column order to improve data organization and clarity in the lineup summary.
83b30d9

James McCool commited on

Refactor salary display logic in app.py by removing JavaScript dependency for screen width and simplifying column layout. This change enhances the user experience by ensuring consistent presentation of salary information across all devices.
ffa571c

James McCool commited on

Refactor mobile layout in app.py to enhance salary display by adjusting column alignment and improving HTML formatting. This change ensures consistent presentation of per player salary and leftover amounts across different screen sizes.
b858a5a

James McCool commited on

Refactor HTML styling in app.py for salary display to improve alignment and visual consistency. Adjusted vertical alignment and margin properties for better presentation of player salary and leftover amounts in the lineup summary.
cd4b2ab

James McCool commited on

Implement responsive column layout in app.py based on screen width to enhance user experience on mobile devices. Default to desktop layout if JavaScript fails to retrieve screen width.
f77a585

James McCool commited on

Limit displayed summary rows to the top 10 in app.py for improved clarity and user experience in the lineup summary. Adjusted labels for better context on salary and leftover amounts.
74d3eb1

James McCool commited on

Implement conditional logic for per player salary display in app.py to handle cases with filled lineups. This enhancement ensures accurate salary calculations and improves user clarity in the lineup summary.
ea83f72

James McCool commited on

Refactor salary display in app.py to utilize HTML for improved formatting and alignment, enhancing visual clarity and user experience in the lineup summary.
8803344

James McCool commited on

Refactor salary display in app.py to use HTML for improved formatting and alignment. This change enhances visual clarity by presenting salary and median values in a more structured manner, contributing to a better user experience in the lineup summary.
ec05986

James McCool commited on

Enhance salary display logic in app.py by introducing conditional formatting for total salary. If the total salary exceeds the limit, it now displays an error message, improving user clarity in the lineup summary.
cf1b155

James McCool commited on

Update label in app.py from "Rem$ Player" to "Per Player" to enhance clarity in the salary display, improving user understanding in the lineup summary.
95360a4

James McCool commited on

Update markdown formatting in app.py to improve the display of remaining salary per player, enhancing visual clarity with a minor adjustment to the label for better user engagement in the lineup summary.
d354695

James McCool commited on

Adjust column layout in app.py to improve the display of player cost per player, enhancing visual clarity with a markdown format for better user engagement in the lineup summary.
dc54118

James McCool commited on

Update markdown formatting in app.py to enhance the display of salary, median, and ownership percentage, improving clarity and user engagement in the lineup summary.
e83065b

James McCool commited on

Update markdown labels in app.py for salary, median, and ownership percentage display to improve clarity and user understanding in the lineup summary.
8a1a164

James McCool commited on

Enhance lineup summary display in app.py by expanding the layout to three columns. Introduced a markdown format for displaying total salary, median, and ownership percentages, improving visual clarity and user engagement.
c1b6b3a

James McCool commited on

Refine totals display in app.py by ensuring consistent rounding for median and ownership values. This update enhances clarity in the lineup summary, improving the overall user experience.
13ab6ca

James McCool commited on

Update player cost display in app.py to round values for clarity and replace dataframe with a summary of total salary and statistics. This change enhances the user experience by providing a more concise overview of lineup performance.
3a837cc

James McCool commited on

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