DFS_Portfolio_Manager / global_func

Commit History

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

recent changes
ed824ef

James McCool commited on

updating for recent changes
e94d65f

James McCool commited on

Enhance Lineup Edge calculation in predict_dupes.py by normalizing the edge values based on the maximum and minimum edges. This adjustment improves the scaling of the Lineup Edge, leading to more accurate portfolio predictions.
7928ec7

James McCool commited on

ping
b35724d

James McCool commited on

Correct Lineup Edge calculation in predict_dupes.py by changing the adjustment from addition to subtraction based on duplicate ownership. This modification refines the edge computation, improving the accuracy of portfolio predictions.
8c77c6e

James McCool commited on

Update Lineup Edge calculation in predict_dupes.py to include a normalized adjustment based on duplicate ownership. This change improves the accuracy of the edge computation by factoring in the average number of duplicates, enhancing overall portfolio predictions.
6ebe3a4

James McCool commited on

Refactor similarity score calculation in predict_dupes.py by removing the reference to duplicate adjustments. This change clarifies the computation of player selection diversity while preserving the overall prediction model's integrity.
86bfc9c

James McCool commited on

Refactor Lineup Edge calculation in predict_dupes.py by removing the duplicate adjustment and simplifying the formula. This change enhances clarity in the computation while maintaining the integrity of the prediction model.
6fc172b

James McCool commited on

ping
3d3402f

James McCool commited on

Refactor Lineup Edge calculation in predict_dupes.py to incorporate both raw edge and adjusted edge values. This change enhances the accuracy of the prediction model by averaging the adjusted edge with the raw edge, improving overall portfolio predictions.
635a3c6

James McCool commited on

Adjust Lineup Edge_Raw calculation in predict_dupes.py to include a constant offset, enhancing the accuracy of the edge computation for portfolio predictions.
b2eb74d

James McCool commited on

Refactor Lineup Edge calculation in predict_dupes.py to utilize the raw edge value for duplicate adjustment. This change clarifies the computation and maintains the integrity of the prediction model.
a138121

James McCool commited on

Update Lineup Edge calculation in predict_dupes.py to separate raw edge computation. Adjusted the formula to remove the scaling based on duplicates, enhancing clarity and maintaining prediction accuracy.
3770981

James McCool commited on

ping
81544d9

James McCool commited on

Refine Lineup Edge calculation in predict_dupes.py to adjust the edge based on the mean of duplicates. This update improves the accuracy of the prediction model by incorporating a scaling factor related to the average number of duplicates.
6e68ac2

James McCool commited on

Refine Lineup Edge calculation in predict_dupes.py to average the adjusted edge based on the number of duplicates. This update enhances the prediction model's accuracy and performance.
37e16f3

James McCool commited on

diverting
9cd8969

James McCool commited on

Refine Lineup Edge calculation in predict_dupes.py to improve accuracy. Adjusted the formula to incorporate a divisor of (Dupes + 1) and modified the scaling factor, enhancing the prediction model's performance.
98d0f79

James McCool commited on

ping
69d9f12

James McCool commited on

Refine Lineup Edge calculation in predict_dupes.py to enhance accuracy. Updated the formula to adjust the edge based on the number of duplicates, improving the prediction model's performance.
745eb01

James McCool commited on

Refactor Lineup Edge calculation in predict_dupes.py to improve accuracy. Updated the formula to average the adjusted edge based on the number of duplicates, enhancing the overall performance of the prediction model.
7cf4749

James McCool commited on

Implement vectorized calculations for salary, median, and ownership in app.py to enhance performance and memory efficiency. Refactor reassess_edge and stratification_function to minimize DataFrame copies and improve memory management. Update filtering logic to use boolean masks for better efficiency.
7eef51a

James McCool commited on

Add memory-efficient ranking calculation in predict_dupes.py
197d1b2

James McCool commited on

Update diversity score calculation to use chunked processing for improved performance in predict_dupes.py
b4a377f

James McCool commited on