Commit History

Update player data columns in init_baselines function to include additional statistics and rename 'Player' to 'name' for consistency. This enhances data representation and aligns with updated data sources.
8babaae
Running

James McCool commited on

okay?
87cd098

James McCool commited on

Add error handling for slate data loading in streamlit_app.py to ensure graceful degradation when fetching DraftKings and FanDuel slates. This improves robustness by preventing application crashes and providing default values when data is unavailable.
c12cb5f

James McCool commited on

Enhance data mapping for DraftKings and FanDuel in streamlit_app.py by implementing separate mappings for 'Regular' and 'Showdown' slate types. This improves data accuracy during export and ensures correct player IDs are used based on the selected site and slate type.
4a65adc

James McCool commited on

Add error handling for data loading in Player ROO tab to notify users when no data is found. This improves user experience by guiding them to change the data type for successful data retrieval.
5beb5dc

James McCool commited on

Update timestamp display logic in streamlit_app.py to differentiate between 'Regular' and 'Showdown' slate types, ensuring accurate last update information is shown based on the selected type. This enhances user experience and data accuracy in the application.
c3df02a

James McCool commited on

Refactor init_baselines function to accept type_var parameter for improved flexibility in data loading, allowing differentiation between 'Regular' and 'Showdown' slate types. Update UI components to support type selection, enhancing user experience and data accuracy.
1726c68

James McCool commited on

Add duplicate removal for player lineups in init_DK_lineups and init_FD_lineups functions to ensure unique entries based on key positions, enhancing data integrity.
de85679

James McCool commited on

Update collection names in init_FD_lineups function to reflect 'Main Slate', 'Secondary Slate', and 'Late Slate' for improved clarity and consistency in database references.
d73c474

James McCool commited on

Refactor slate data loading logic to differentiate between DraftKings and FanDuel, ensuring the correct slate names are displayed based on the selected site. This improves user experience and data accuracy in slate selection.
5a1c99d

James McCool commited on

Update collection names in init_DK_lineups function to reflect 'Main Slate', 'Secondary Slate', and 'Late Slate' for improved clarity and consistency in database references.
45b38b2

James McCool commited on

Update advanced view in final_stacks to include 'exFPTS' instead of '60+%', enhancing data representation for player performance metrics.
85e7cba

James McCool commited on

Update raw_baselines slicing to exclude the last column instead of the last two, ensuring accurate data representation for DraftKings and FanDuel slate selections.
e2de7d7

James McCool commited on

sigh
c0bd11c

James McCool commited on

reverting
49003d4

James McCool commited on

Remove 'player_id' from raw_display DataFrame in init_baselines function to streamline data handling and improve clarity in player data representation.
1074c62

James McCool commited on

added exFPTS as variable
6d467db

James McCool commited on

Update lineup initialization to use 'Main Slate' for DraftKings and FanDuel, ensuring consistency in slate naming and improving clarity in data handling.
ab74169

James McCool commited on

Add slate definitions for DraftKings and FanDuel in data reset functionality, improving lineup initialization by ensuring correct slate data is loaded upon user action.
29fdb0a

James McCool commited on

Enhance lineup initialization functions for DraftKings and FanDuel by adding support for player filtering, allowing users to specify player selections in lineup queries, improving customization and data retrieval for various slate types.
5ecb342

James McCool commited on

ping
5818ee3

James McCool commited on

Refactor lineup initialization functions for DraftKings and FanDuel to include lineup number parameter, enhancing flexibility in data retrieval and processing for various slate types.
5ea5e3d

James McCool commited on

Enhance FanDuel lineup initialization by adding database translation support for showdown slates and improving player name mapping, ensuring accurate data representation and retrieval.
cb46d4d

James McCool commited on

Increase database query limits in lineup initialization for DraftKings and FanDuel, enhancing data retrieval for player selections across various slate types.
0ff4b2c

James McCool commited on

Add showdown slate selections and update lineup initialization to use new database translations for DraftKings and FanDuel, improving data handling for showdown formats.
f31fe20

James McCool commited on

Fix slate name generation in showdown slate functions to use the first entry of slate data, ensuring accurate team and opponent representation.
90a8778

James McCool commited on

Add functions to define showdown slates for DraftKings and FanDuel, enhancing slate selection in the app.
9f729f4

James McCool commited on

adjusting salary max
104eab2

James McCool commited on

Enhance player name mapping to handle NaN values by filling them with original names, improving data integrity during processing.
ac2e4a5

James McCool commited on

Update player name mapping to ignore NaN values during data processing, ensuring robustness in player data handling.
cb1df57

James McCool commited on

Fix player name mapping in data processing by updating references from 'Team' to 'Player' for accurate data representation.
0079512

James McCool commited on

ping
51df710

James McCool commited on

Add team name mapping for NFL teams in data processing
1f5a76c

James McCool commited on

Remove filtering of 'K' position players in data loading for DraftKings and FanDuel, ensuring all players are included in the analysis.
b7bdec1

James McCool commited on

ping slate
18f28cc

James McCool commited on

ping
0222ec3

James McCool commited on

Update default selected positions in Player ROO multiselect to include 'K', enhancing user options for position selection.
97505cd

James McCool commited on

Adjust salary calculation for Showdown slate in Player ROO by dividing the salary values by 1.5, ensuring accurate representation of player costs.
f000ce0

James McCool commited on

Update salary range slider in Player ROO to extend the maximum limit from 15000 to 20000, enhancing user options for viewing player salaries.
475fe2c

James McCool commited on

adjusted salary threshold floor for ROO
ed1c8ff

James McCool commited on

extending salary ceiling in player ROO
a59d5e4

James McCool commited on

ping
db5da3a

James McCool commited on

Enhance slate selection functionality in Streamlit app by introducing conditional loading of data based on slate type. Users can now choose between 'Regular' and 'Showdown' slates, with corresponding data sources for Draftkings and Fanduel, improving user experience and data management.
b7d52cb

James McCool commited on

ping
69b4090

James McCool commited on

Improve state management in Handbuilder tab of Streamlit app by ensuring 'handbuilder_data' is initialized only once. Update timestamp handling for clarity and consistency during user interactions.
4da6a78

James McCool commited on

Refactor player removal functionality in Handbuilder tab of Streamlit app to support multi-selection for improved user experience. Update feedback messages to reflect multiple players being removed and enhance state management during lineup updates.
3cb74a3

James McCool commited on

Enhance player selection and lineup management in Handbuilder tab of Streamlit app by introducing dedicated buttons for adding and removing players. Update selection mode to 'single' for clarity, and improve feedback messages for user actions. Streamline the process of managing player slots and ensure better state management during updates.
6aa8f95

James McCool commited on

reverting handbuilder adjustments
d48b6df

James McCool commited on

Update selection mode in Handbuilder tab of Streamlit app from "single" to "single-row" for improved clarity in player selection functionality.
c141e28

James McCool commited on

Refactor player selection and lineup management in Handbuilder tab of Streamlit app to streamline the process of adding and removing players. Update selection mode to single row for clarity, and enhance state management by directly using player names for lineup updates.
923ad63

James McCool commited on