DFS_Portfolio_Manager / global_func

Commit History

Refactor ownership baseline calculations in predict_dupes.py to use set for unique team mapping, improving accuracy and performance.
5009816

James McCool commited on

more printing
f0be5e9

James McCool commited on

printing debug
3d088d5

James McCool commited on

fixing predict_dupes
06d7e54

James McCool commited on

Refactor player update logic in projections management by removing redundant comments and enhancing ownership baseline calculations for NFL, NBA, and NHL sports. Adjusted baseline formulas to improve accuracy based on team mapping.
474a28d

James McCool commited on

Enhance lineup optimization by adding cascading constraints and new parameters for objective value tracking. The optimize_single_lineup function now returns both the optimized row and the achieved objective value, allowing for more refined control over lineup adjustments. Additionally, the optimize_lineup function incorporates cascading optimization logic to ensure each row's objective is constrained by the previous row's performance.
211cc48

James McCool commited on

Refactor projections management to use 'portfolio_inc_proj' for editing and optimize lineup filtering by excluding locked players. Cleaned up player pool logic to prevent duplicates.
ad7b76c

James McCool commited on

ping
87ed105

James McCool commited on

ping
8e112a6

James McCool commited on

ping
47189b9

James McCool commited on

Enhance lineup optimization by tracking all players in the row and updating player pool filtering to exclude them. Adjusted constraints for player usage across open columns.
136dc86

James McCool commited on

Update portfolio management to include player names from projections; fix lineup optimization constraint to use correct player column count.
fdea99f

James McCool commited on

Adding optimization
21b08b7

James McCool commited on

pulling the number up a bit
8de9d92

James McCool commited on

more adjustments to the way finishing percentiles are handled
64aecc7

James McCool commited on

adjusting own_baseline into finish_percentile calc
182bd5f

James McCool commited on

had to add the used of the ownership baseline into the reg dupe predictions
82ea96b

James McCool commited on

wrote the wrong min/max function
a147b3a

James McCool commited on

printing
df8ee3a

James McCool commited on

Trying to do some team len scaling on ownership baselines
05f95af

James McCool commited on

Update baseline logic in predict_dupes function to adjust own_baseline based on team count for NFL Classic type
85e31c9

James McCool commited on

adjusting finish percentile to scale
afd608a

James McCool commited on

Refactor stratification logic to ensure proper selection of indices by adding break statements for clarity and control flow.
3ca2ebf

James McCool commited on

had to designate a maliable target
521dad6

James McCool commited on

printing some lens
7ba4f09

James McCool commited on

more strat testing
0b924a0

James McCool commited on

the while loop broke things, doing a range instead
a8635e8

James McCool commited on

Testing some new logic around stratification
47fd581

James McCool commited on

Trying to fix the rerun of diversity score
fa7b819

James McCool commited on

Refactor 'Lineup Edge' calculation in predict_dupes.py to scale by Contest_Size for improved accuracy in contest performance metrics and apply clipping to ensure values remain within a specified range.
fe3dc6e

James McCool commited on

Update calculation of 'Lineup Edge' in predict_dupes.py to scale by 10000 for improved accuracy in contest performance metrics.
b3b1967

James McCool commited on

Adding exclusions from exposure management, fixing some database query stuff
67eb3a1

James McCool commited on

ping
9326be6

James McCool commited on

fixing the get_portfolio_names call
449b18d

James McCool commited on

adjusting comp_salary_high out of equiation for Exposure Spread
afc2563

James McCool commited on

aiming to fix dupes dropping while increasing size
9ac0434

James McCool commited on

almost ready
5b70f05

James McCool commited on

fixing load_csv
a202d46

James McCool commited on

Add debug print statement to load_file function
c443fd6

James McCool commited on

updating load_csv to handle dataframes
1c84812

James McCool commited on

ping
44c87c6

James McCool commited on

Enhance load_file function to ensure proper handling of unnamed columns by checking if the column name is a string before dropping. This improves data integrity during file uploads.
b8a722a

James McCool commited on

Enhance load_file function to check if the upload is already a DataFrame, improving handling of file uploads. This change simplifies the logic for processing uploaded data and ensures compatibility with existing DataFrame objects.
8781f64

James McCool commited on

Refactor portfolio file loading to streamline assignment of DataFrames. The load_file function now returns both export and portfolio DataFrames in a single call, improving code clarity and efficiency.
e887235

James McCool commited on

chaning for to while for lineup add
ff6fb00

James McCool commited on

Update salary field references in exposure_spread.py to ensure consistency in salary eligibility checks for player replacements.
7361afe

James McCool commited on

adjusting salary declaration in exposure increase
c645802

James McCool commited on

Add update-pm-files.ps1 script for EC2 Instance Connect file updates and enhance exposure_spread.py with salary eligibility checks for player replacements
b7931c0

James McCool commited on

Lets try this
b31b495

James McCool commited on

checking again
ba0ffb8

James McCool commited on