DFS_Portfolio_Manager / global_func

Commit History

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

checking to see if this fixes the exposure increase issue
286b8a7

James McCool commited on

Refactor SE Score calculation in predict_dupes function to adjust the order of operations, ensuring player diversity is factored in after the score computation. This change enhances the accuracy of the SE Score while maintaining code clarity.
4bde0fc

James McCool commited on

Refactor SE Score calculation in predict_dupes function to incorporate player diversity, enhancing the accuracy of the score. Removed redundant print statement for cleaner output.
d2deb1d

James McCool commited on

Add print statement to display the top 10 SE Scores in predict_dupes function for debugging purposes
2650424

James McCool commited on

Adding SE score
a1c389d

James McCool commited on

ping
8d70403

James McCool commited on

Refactor exposure_spread function to improve player replacement logic by implementing a while loop for better handling of row selections and ensuring replacements are made only when necessary. This enhances the clarity and efficiency of the code.
066fad7

James McCool commited on

Enhance exposure_spread function by refining replacement logic for players based on exposure targets. This update improves the handling of player replacements, ensuring that changes are only applied when necessary and maintaining clarity in the code structure.
fca5d51

James McCool commited on

Remove unnecessary break statement in exposure_spread function to enhance lineup modification logic and improve code clarity.
556da92

James McCool commited on

Refactor exposure_spread function to streamline lineup modification logic, ensuring that changes are applied correctly based on the current change counter and improving overall code clarity.
db012c7

James McCool commited on

Refactor exposure_spread function to improve list comparison for comparable_player_list, ensuring clarity and consistency in checks for non-empty lists.
5eac9be

James McCool commited on

fixing exposure management
72d1643

James McCool commited on