Commit History

Refactor salary mapping in app.py to consistently apply salary calculations to the 'flex_working' DataFrame for both NFL and NBA players across DraftKings and FanDuel. This change enhances the accuracy of player salary projections by ensuring the correct mapping logic is applied uniformly, improving overall clarity in the salary calculation process.
5fe0967

James McCool commited on

Refactor salary mapping logic in app.py to differentiate between NFL and NBA players for DraftKings and FanDuel. Updated the salary calculation to apply a specific divisor for NFL while maintaining the original mapping for NBA, enhancing the accuracy of player salary projections based on sport selection.
0608368

James McCool commited on

Refactor salary calculation logic in app.py to apply a specific multiplier for NBA players, ensuring accurate salary projections based on sport selection. This change enhances the clarity and correctness of player salary mappings, particularly for NBA contests.
178e748

James McCool commited on

Refactor salary calculations in app.py to differentiate between NFL and NBA for DraftKings. Updated the salary mapping logic to apply a specific divisor for NFL players while maintaining the original mapping for NBA players. This change enhances the accuracy of player salary projections based on the selected sport.
6a3a743

James McCool commited on

Update app.py to include 'player_id' in ownership calculations, enhancing data accuracy for player projections. This change improves the integrity of the 'raw_display' DataFrame by ensuring all relevant metrics are accounted for, particularly in relation to contest sizes.
211070a

James McCool commited on

Update ownership calculations in app.py to improve accuracy for 'small_CPT_Own' metrics. Adjusted the calculation of 'small_cpt_own_var' from 100 to 200, enhancing consistency in player ownership projections across contest sizes.
14b92ad

James McCool commited on

Enhance ownership calculations in app.py for 'Small' contest size by adding references to 'Small_Field_Own' and 'small_CPT_Own'. This update improves accuracy in player ownership projections, ensuring consistency across contest sizes.
4744b18

James McCool commited on

Fix ownership calculation for 'Small_Field_Own' in app.py by correcting the reference from 'Large_Own' to 'Large_Field_Own'. This change ensures accurate player ownership projections in the context of contest sizes, maintaining consistency across the ownership metrics.
baf6e4b

James McCool commited on

Enhance ownership calculations in app.py by introducing 'Small_Field_Own' and 'small_CPT_Own' metrics. Updated calculations to improve accuracy in player ownership projections for both DraftKings and FanDuel, ensuring consistent handling of contest sizes. This refactor streamlines the logic while maintaining clarity in ownership metrics.
bab4530

James McCool commited on

Refactor contest size handling in app.py by removing redundant ownership calculations for 'Small' and 'Large' contest sizes. This streamlines the logic and improves clarity in the ownership metrics without altering the overall functionality.
58ee5ed

James McCool commited on

Trying this calc again
65a6022

James McCool commited on

Refactor ownership calculations in app.py to improve accuracy for 'CPT_Own_raw' and 'CPT_Own' metrics. Updated the calculation of 'cpt_own_var' to use 'raw_baselines['Own'].sum()' instead of 'raw_baselines['CPT_Own_raw'].sum()' for better alignment with contest size handling.
b1040cd

James McCool commited on

Enhance contest size handling in app.py by adding ownership calculations for 'Small' and 'Large' contest sizes. Updated 'CPT_Own_raw' and 'CPT_Own' metrics to improve accuracy in player ownership projections based on selected contest size.
90ae57e

James McCool commited on

Update 'cpt_Median' calculation in app.py to improve projection accuracy. Adjusted multiplier from 1.5 to 1.25 for both DraftKings and FanDuel dataframes, ensuring more precise ownership metrics in the init_baselines function.
dd11913

James McCool commited on

Refactor 'cpt_STDev' to 'CPT_STDev' in app.py for consistency in projection calculations. Updated variable naming in the init_baselines function to enhance clarity and maintain uniformity across ownership metrics.
d01a961

James McCool commited on

Experiementing with a high cpt stdev
6789cba

James McCool commited on

Update projection calculations in app.py to ensure accurate ownership metrics. Adjusted 'Proj Own' calculations for both 'cpt_working' and 'flex_working' DataFrames by dividing by 100, enhancing the precision of player ownership projections.
1052082

James McCool commited on

Enhance projection calculations by adding 'cpt_Own_map' to mapping logic in app.py. Updated 'Proj Own' calculations for both 'cpt_working' and 'flex_working' DataFrames to utilize the new mapping, improving accuracy in player ownership projections.
a2dd3d5

James McCool commited on

Refactor projection logic in sim_contest function to improve clarity and performance. Updated handling of the first column using 'vec_cpt_projection_map' and adjusted the application of 'vec_projection_map' for remaining columns, ensuring consistent simulation calculations.
9948927

James McCool commited on

Fix typo in vectorization of 'cpt_projection_map' in sim_contest function for consistency in simulation calculations.
e33b3d7

James McCool commited on

Added vectorization for 'cpt_Projection_map' in sim_contest function to enhance performance and maintain consistency in simulation calculations.
fa88775

James McCool commited on

Enhance player median calculations and projections in init_baselines and sim_contest functions. Added 'cpt_Median' field to raw_display DataFrame for both DraftKings and FanDuel, and updated projection logic to utilize 'cpt_projection_map' for improved accuracy in simulations.
e4db190

James McCool commited on

replacing first 7 columns of lineup export with player_ids
711af0e

James McCool commited on

maybe not an array in export L471
1c9fc6e

James McCool commited on

yeah wasn't an array
022b419

James McCool commited on

referenced the wrong frame, this might break if not an array
1042eeb

James McCool commited on

aiming to export player IDs
0afef81

James McCool commited on

removed use of gspread and transferred to mongo
644d661

James McCool commited on

added some keys to variables
57077e4

James McCool commited on

added var for init baselines
317e6a2

James McCool commited on

Aimed to add NBA as an option for the seed frame source
eb25c8a

James McCool commited on

Update app.py
184b936
verified

Multichem commited on

Update app.py
49ee82c
verified

Multichem commited on

Update app.py
d901c93
verified

Multichem commited on

Update app.py
87098bb
verified

Multichem commited on

Update app.py
0a4cccb
verified

Multichem commited on

Update app.py
506d59f
verified

Multichem commited on

Update app.py
42001ae
verified

Multichem commited on

Update app.py
3326c44
verified

Multichem commited on

Update app.py
dd4c4fc
verified

Multichem commited on

Update app.py
e3a6c00
verified

Multichem commited on

Update app.py
9862fc6
verified

Multichem commited on

Update app.py
5f0586f
verified

Multichem commited on

Update app.py
6873828
verified

Multichem commited on

Update app.py
7b1cdc1
verified

Multichem commited on

Update app.py
1a414d9
verified

Multichem commited on

Update app.py
854400b
verified

Multichem commited on

Update app.py
8ad8e4e
verified

Multichem commited on

Update app.py
800aaba
verified

Multichem commited on

Update app.py
dfbf052
verified

Multichem commited on