MLB_DFS_ROO / app.py

Commit History

Refactor player data mapping in app.py to improve position-based logic
fe4a9c1

James McCool commited on

Enhance data handling in app.py by expanding player data mapping
4b41aad

James McCool commited on

Comment out redundant player index setting in app.py to prevent potential errors during data display. This change maintains the existing functionality while improving error handling in the data presentation logic.
e091f4e

James McCool commited on

Refactor player count logic in app.py to enhance clarity
8912250

James McCool commited on

Refactor opponent and team total mapping in app.py for improved data handling
67bd128

James McCool commited on

Refactor data mapping in app.py to simplify opponent assignment
68a67eb

James McCool commited on

Remove redundant CSS rule for portal element in app.py to streamline styling
806469b

James McCool commited on

Update CSS in app.py to further adjust font size for portal element
92a38a7

James McCool commited on

Update CSS in app.py to adjust font size for portal element
51177bc

James McCool commited on

Add CSS rule in app.py to set font size for table rows
03c5140

James McCool commited on

Update CSS selector in app.py to simplify box-sizing implementation
2eb1ce8

James McCool commited on

Update CSS selector in app.py to improve layout consistency
21ba2d1

James McCool commited on

Update CSS styles in app.py to enhance layout and box-sizing
00000b9

James McCool commited on

Update font size in app.py for improved readability
894e5c8

James McCool commited on

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