DFS_Portfolio_Manager / global_func

Commit History

Fixing expired IDs bug
50daa3e

James McCool commited on

Instituting a cache for the contest IDs
212b005

James McCool commited on

Making sure that contest IDs are only from current day
9ef68b1

James McCool commited on

Fixing typeerror
13f323e

James McCool commited on

Okay lets try this again
555ed46

James McCool commited on

Adding an improved contest ID flow
27154c4

James McCool commited on

reverting
440ae44

James McCool commited on

Aiming to fix exposure spread which can duplicate in showdown because of the captain flex designation
e425b59

James McCool commited on

Okay optimize params added (I think)
8c24a32

James McCool commited on

Mismatch in length of optimized and original
e9fcadc

James McCool commited on

To add in specific players or specific avoidance for re-optimization
ca4bc86

James McCool commited on

Making some adjustments to try to fix column swapping on reoptimization
0255ad7

James McCool commited on

fix index sort
0a046e1

James McCool commited on

Continuing to improve late swap
7a4ca61

James McCool commited on

Updaing for Cause: row comes from replace_rows.index and player_rows.index, so it’s a index label (e.g. 10, 11, 12 after a slice), not a positional index 0..n-1. The code was using working_frame.iloc[row], which is positional. If working_frame had a non‑contiguous or offset index (e.g. from a slice or after optimize_lineups), a label like 12 could be valid while iloc[12] was out of bounds for a shorter frame.
62d6c64

James McCool commited on

Aiming to make sure higher medians are maintained
2079507

James McCool commited on

Instead of using the previous lineup, we use if the lineup has been used.
3e1c4b7

James McCool commited on

Fixed out, man.
8a893da

James McCool commited on

Removing the MIP and cascading logic for a much simpler drop-one insert.
08b8947

James McCool commited on

reverting
54f4bd4

James McCool commited on

Okay, this should work now.Cascading optimal is implemented.
4522bc0

James McCool commited on

Lets see if this works
fdeb24a

James McCool commited on

Reverting
3f641a2

James McCool commited on

Had to use the arguments
e4c760b

James McCool commited on

Introducing ownership optimals
581b527

James McCool commited on

Don't return the achieved objective, just the raw.
3de60e1

James McCool commited on

I don't know if this will work.
327d8f9

James McCool commited on

Just using a basic optimization of lineups.
f197489

James McCool commited on

Adding some constraints to double pass optimization
45d181c

James McCool commited on

Straight optimization
f4d83dd

James McCool commited on

Fixing optimals (revert)
564634a

James McCool commited on

Fixing optimizer logic
7113fd3

James McCool commited on

Oops, fixing error
b692654

James McCool commited on

More adjustments to the reoptimization logic
8890fc3

James McCool commited on

Reverting optimization changes
ea9961a

James McCool commited on

Aiming to fix re-optimization solution
aa986b9

James McCool commited on

Made a mistake in my designations for exposure_spread that I think was not counting any of the columns.
dd9a672

James McCool commited on

Add opponent mapping and conflict checks in exposure spread and lineup optimization functions; refactor data loading for MMA projections
4314382

James McCool commited on

Add data load tab functions to app.py and adjust GOLF flex rank calculation in predict_dupes.py for accurate portfolio predictions.
4b49951

James McCool commited on

Refine dupe calculation for GOLF and CPT by incorporating FLEX1 and CPT ownership percentages, improving accuracy in portfolio predictions.
fb18971

James McCool commited on

addressing a reoptimization issue
998e096

James McCool commited on

removing captain ownership from dupe calc for PGA showdown
d8888d9

James McCool commited on

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