Making sure that contest IDs are only from current day
9ef68b1
James McCoolcommited on
Fixing typeerror
13f323e
James McCoolcommited on
Okay lets try this again
555ed46
James McCoolcommited on
Adding an improved contest ID flow
27154c4
James McCoolcommited on
reverting
440ae44
James McCoolcommited on
Aiming to fix exposure spread which can duplicate in showdown because of the captain flex designation
e425b59
James McCoolcommited on
Okay optimize params added (I think)
8c24a32
James McCoolcommited on
Mismatch in length of optimized and original
e9fcadc
James McCoolcommited on
To add in specific players or specific avoidance for re-optimization
ca4bc86
James McCoolcommited on
Making some adjustments to try to fix column swapping on reoptimization
0255ad7
James McCoolcommited on
fix index sort
0a046e1
James McCoolcommited on
Continuing to improve late swap
7a4ca61
James McCoolcommited 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 McCoolcommited on
Aiming to make sure higher medians are maintained
2079507
James McCoolcommited on
Instead of using the previous lineup, we use if the lineup has been used.
3e1c4b7
James McCoolcommited on
Fixed out, man.
8a893da
James McCoolcommited on
Removing the MIP and cascading logic for a much simpler drop-one insert.
08b8947
James McCoolcommited on
reverting
54f4bd4
James McCoolcommited on
Okay, this should work now.Cascading optimal is implemented.
4522bc0
James McCoolcommited on
Lets see if this works
fdeb24a
James McCoolcommited on
Reverting
3f641a2
James McCoolcommited on
Had to use the arguments
e4c760b
James McCoolcommited on
Introducing ownership optimals
581b527
James McCoolcommited on
Don't return the achieved objective, just the raw.
3de60e1
James McCoolcommited on
I don't know if this will work.
327d8f9
James McCoolcommited on
Just using a basic optimization of lineups.
f197489
James McCoolcommited on
Adding some constraints to double pass optimization
45d181c
James McCoolcommited on
Straight optimization
f4d83dd
James McCoolcommited on
Fixing optimals (revert)
564634a
James McCoolcommited on
Fixing optimizer logic
7113fd3
James McCoolcommited on
Oops, fixing error
b692654
James McCoolcommited on
More adjustments to the reoptimization logic
8890fc3
James McCoolcommited on
Reverting optimization changes
ea9961a
James McCoolcommited on
Aiming to fix re-optimization solution
aa986b9
James McCoolcommited on
Made a mistake in my designations for exposure_spread that I think was not counting any of the columns.
dd9a672
James McCoolcommited on
Add opponent mapping and conflict checks in exposure spread and lineup optimization functions; refactor data loading for MMA projections
4314382
James McCoolcommited 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 McCoolcommited on
Refine dupe calculation for GOLF and CPT by incorporating FLEX1 and CPT ownership percentages, improving accuracy in portfolio predictions.
fb18971
James McCoolcommited on
addressing a reoptimization issue
998e096
James McCoolcommited on
removing captain ownership from dupe calc for PGA showdown
d8888d9
James McCoolcommited on
Refactor ownership baseline calculations in predict_dupes.py to use set for unique team mapping, improving accuracy and performance.
5009816
James McCoolcommited on
more printing
f0be5e9
James McCoolcommited on
printing debug
3d088d5
James McCoolcommited on
fixing predict_dupes
06d7e54
James McCoolcommited 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 McCoolcommited 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 McCoolcommited 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.