Commit History

Update app.py to implement conditional player ID mapping for Draftkings and Fanduel during data copying. This enhancement ensures that the correct ID mappings are applied based on the selected site, improving data accuracy and handling in contest simulations.
bf59b97
Running

James McCool commited on

Enhance app.py by adding player ID mapping for DK and FD raw data during slate initialization. This update ensures accurate retrieval of player IDs for both Main and Secondary Slate selections, improving data handling and consistency in contest simulations.
0a96877

James McCool commited on

Enhance app.py by initializing DK and FD raw data for both Main and Secondary Slate selections. This update ensures accurate retrieval of baseline data during contest simulations, improving data handling and consistency across different slate scenarios.
86bd9a1

James McCool commited on

Enhance app.py by initializing DK and FD raw data within specific team selection logic. This change ensures that the correct slate data is consistently retrieved for both team and stack size selections, improving data handling and accuracy in contest simulations.
f403274

James McCool commited on

Refactor app.py to streamline DK and FD seed frame initializations by removing redundant code and ensuring player ID mappings are correctly established based on the selected slate. This change enhances clarity and efficiency in contest simulations, improving data handling and accuracy.
bea5321

James McCool commited on

Refactor init_baselines function in app.py to accept a slate variable, allowing dynamic selection of slate data for both DK and FD seed frame initializations. This change enhances flexibility in data retrieval and improves accuracy in contest simulations by ensuring the correct slate is used throughout the application.
e5e3705

James McCool commited on

Update sharp_split values in app.py for strength categories to improve accuracy in contest simulations. Adjusted thresholds for 'Not Very', 'Below Average', 'Average', 'Above Average', and 'Very' to enhance data handling and ensure more precise calculations.
8f23e6e

James McCool commited on

Refactor app.py to update database collection names for DK and FD secondary seed frame initializations. This change improves clarity and consistency in data retrieval by aligning collection names with their respective functionalities, enhancing overall data handling during contest simulations.
9c817f8

James McCool commited on

Enhance app.py by adding name mapping functionality in DK seed frame initialization. This update retrieves player names from the database and maps them to the corresponding columns in the output DataFrame, improving data visibility and accuracy during contest simulations.
c2f15fd

James McCool commited on

Refactor app.py to improve FD seed frame initialization by removing unnecessary table displays and adding a mapping for player names using a dictionary from the database. This enhances data handling and visibility during contest simulations, ensuring player names are correctly represented in the output DataFrame.
0d57fec

James McCool commited on

Refactor FD seed frame initialization in app.py to retrieve all data from the database and construct a names dictionary using key-value pairs. This change enhances data handling and improves the display of player names in the output, ensuring better visibility during contest simulations.
5dc664e

James McCool commited on

Enhance app.py by adding a display of player names in the FD seed frame initialization. This update improves data visibility by presenting the names in a structured format using st.table, facilitating better understanding during contest simulations.
64f87a1

James McCool commited on

Refactor app.py to improve the display of the working seed table by replacing head(100) with a DataFrame constructor that explicitly sets column names. This change enhances data visibility during contest simulations by ensuring the correct structure of the displayed data.
19b6535

James McCool commited on

Limit displayed rows of the working seed table to the first 100 entries in app.py, enhancing data visibility during contest simulations.
2b7fa4c

James McCool commited on

Enhance app.py by adding a display of the working seed table in the simulation section, improving data visibility during contest simulations. Removed commented-out code for better readability.
c652317

James McCool commited on

Update FD seed frame initialization in app.py to exclude the _id field from the database query, improving data handling and readability.
61807b4

James McCool commited on

Enhance FD seed frame initialization in app.py by adding a mapping for player names using a dictionary from the database. This improves data readability and ensures that player names are correctly displayed in the output DataFrame.
e344b74

James McCool commited on

Refactor app.py to remove Google Sheets integration and streamline database connection. The init_conn function now only returns the MongoDB client, simplifying the connection process and enhancing code maintainability.
a6b5d03

James McCool commited on

Refactor seed frame initialization functions in app.py to return the full DK and FD seed arrays instead of a sliced version based on 'sharp_split'. This change simplifies the data handling process and ensures that all relevant data is available for further processing.
04080ce

James McCool commited on

adding query limiting
bc54484

James McCool commited on

Update lineup input constraints in app.py to limit user input for 'sharp_split_var' to a range between 10,000 and 500,000, enhancing data validation and user experience.
0909cb6

James McCool commited on

Refactor seed frame initialization and contest simulation to accept 'sharp_split' parameter, allowing dynamic lineup size input. Update logic to conditionally load seed frames based on user-selected slate and site, enhancing flexibility and user experience.
283dca5

James McCool commited on

Revert
4360759

James McCool commited on

Refactor seed frame initialization functions to accept 'sharp_split' parameter, enhancing flexibility in data handling. Update contest simulation logic to conditionally load seed frames based on selected slate and site, improving user experience and code maintainability.
6f36c66

James McCool commited on

Refactor data export logic to utilize list comprehension for mapping player IDs, improving performance and readability
f69b920

James McCool commited on

Enhance data export functionality by initializing and filtering 'working_seed' based on team and stack variables in session state
8ee5fa8

James McCool commited on

Refactor data export preparation to use correct indexing for DataFrame columns
04606ac

James McCool commited on

fixed ownership in sim
1b7e492

James McCool commited on

replacing player values with ID values
0f68fa6

James McCool commited on

added player IDs to exports
b1009c6

James McCool commited on

Added secondary slates
fac166f

James McCool commited on

added STDev calc
933208f

James McCool commited on

fixed "cei" error
0161a01

James McCool commited on

Removing need for NFL_Data source and using strictly mongo
42e86d5

James McCool commited on

added FD_seed
3ec34fb

James McCool commited on

fixing some initial querying
ce10cb4

James McCool commited on

Fixed removal of DK/FD option for some reason
9b31155

James McCool commited on

Update app.py
586a577
verified

Multichem commited on

Update app.py
7d026b0
verified

Multichem commited on

changed TTL as a test
a054c4f

James McCool commited on

Update app.py
e348da4
verified

Multichem commited on

Update app.py
7ec8f21
verified

Multichem commited on

Update app.py
7367c3c
verified

Multichem commited on

Update app.py
35c297d
verified

Multichem commited on

Update app.py
5adc435
verified

Multichem commited on

Update app.py
e3f8777
verified

Multichem commited on

Update app.py
da5de84
verified

Multichem commited on

Update app.py
8f021e9
verified

Multichem commited on

Update app.py
48528ce
verified

Multichem commited on

Update app.py
bedc7a9
verified

Multichem commited on