Commit History

Add debug print statements in hedging_preset.py to output player and lineup data during processing. Adjusted lineup target calculations to use list size directly, enhancing clarity in the lineup generation logic.
4ed60b8

James McCool commited on

Remove sorting by 'median' in hedging_preset.py to simplify the return of the top lineups based on the specified target. This change streamlines the output and focuses on the desired number of lineups without additional sorting criteria.
433242b

James McCool commited on

Refactor hedging_preset.py to use a configurable list size for top owned players. This change enhances flexibility in player selection and adjusts lineup target calculations accordingly.
2bbbfdd

James McCool commited on

Update sorting criteria in hedging_preset.py to use 'ownership' instead of 'Own'. This change improves the accuracy of player selection by aligning with the updated data structure.
33beedc

James McCool commited on

Update import statements in hedging_preset.py to reflect new module structure. This change ensures proper access to small_field_preset and large_field_preset functions, enhancing code organization and maintainability.
10c821a

James McCool commited on

Replace distribute_preset with hedging_preset to manage player exposure in lineup generation. Update app.py to reflect the new preset option and remove the obsolete distribute_preset function. This change enhances the flexibility of lineup strategies by allowing users to hedge against high-exposure players while maintaining performance metrics.
119b2bf

James McCool commited on

Refactor player filtering and portfolio distribution logic in distribute_preset.py to streamline the process of removing high-exposure players. This update enhances the accuracy of lineup generation by ensuring that the final portfolio meets the lineup target while maintaining performance metrics, and improves the handling of player selection based on similarity scores.
eb3c53f

James McCool commited on

Limit player removal iterations in distribute_preset.py to a maximum of 10 to prevent infinite loops during portfolio distribution. This change enhances the stability of the player filtering process while maintaining the accuracy of lineup generation.
3a9fcee

James McCool commited on

Refactor player removal and portfolio filtering logic in distribute_preset.py to improve accuracy in lineup generation. This update introduces a mechanism to continuously remove high-exposure players and ensures that the final portfolio meets the lineup target while maintaining performance metrics.
587326c

James McCool commited on

Update portfolio concatenation logic in distribute_preset.py to limit the number of players added based on lineup target. This change improves the accuracy of the distribution process by ensuring that only a calculated subset of players is included in the final portfolio.
beef2ec

James McCool commited on

Update sorting order in distribute_preset.py to prioritize players with the highest median values. This change enhances the accuracy of the portfolio distribution process by ensuring that the top players are selected based on their performance metrics.
dbc0343

James McCool commited on

Fix indentation issue in player removal logic in distribute_preset.py to ensure proper application of the filtering function. This change improves the accuracy of player exclusion during portfolio distribution.
bce15f0

James McCool commited on

Fix player removal logic in distribute_preset.py to correctly filter out players not in the player_out list. This change enhances the accuracy of the portfolio distribution process by ensuring only relevant players are retained.
3df4bec

James McCool commited on

Add debug print statement in distribute_preset.py to display the top 10 rows of the working portfolio. This change aids in verifying the filtering process and ensures the accuracy of player selection during distribution.
717655e

James McCool commited on

Sort working portfolio by 'median' before resetting index in distribute_preset.py to enhance player selection accuracy. This change ensures that the highest median values are prioritized in the distribution process.
2c35cf4

James McCool commited on

Update player column selection logic in distribute_preset.py to reference the correct portfolio DataFrame. This change ensures that the player filtering process accurately reflects the current portfolio structure, enhancing the overall functionality of the distribution process.
8125d78

James McCool commited on

Refactor player removal logic in distribute_preset.py to utilize a list of players with the lowest lineup counts. This change enhances the portfolio distribution process by ensuring that the least favorable players are excluded from the lineup, improving overall selection accuracy.
1bd74a1

James McCool commited on

Refactor player selection logic in distribute_preset.py to improve clarity by explicitly defining columns used for player masking. This change enhances the readability of the code and ensures that only relevant columns are considered during the player filtering process.
698043b

James McCool commited on

Enhance portfolio distribution logic in distribute_preset.py by adding player exposure calculations and refining the handling of 'Similarity Score'. This update improves the accuracy of player selection and provides a summary of player exposure in the final output, ensuring a more comprehensive analysis of the lineup distribution process.
50f79c6

James McCool commited on

Refactor sorting logic in small_field_preset.py to ensure accurate portfolio filtering by utilizing 'Own' for sorting. This change enhances the portfolio distribution process by maintaining consistency in data handling across teams.
d33556d

James McCool commited on

Refactor portfolio distribution logic in distribute_preset.py to group by 'Stack' and update sorting criteria to 'median'. This change improves the accuracy of portfolio filtering by ensuring the correct metrics are used for both selection and final output.
4c00913

James McCool commited on

Update sorting logic in distribute_preset.py to prioritize 'Finish_percentile' over 'median' for improved portfolio filtering accuracy. This change enhances the effectiveness of the distribution process by ensuring the correct metric is used for sorting.
29a9f26

James McCool commited on

Update portfolio distribution logic in distribute_preset.py to utilize 'Similarity Score' for maximum ownership type calculations. This change improves the accuracy of portfolio filtering by ensuring the correct comparison metric is applied, enhancing the overall trimming process.
588f515

James McCool commited on

Enhance portfolio trimming logic in trim_portfolio.py by adding calculation for maximum ownership type value when conditions are not met. This adjustment improves the accuracy of the trimming process by ensuring all relevant ownership metrics are considered.
06c4d25

James McCool commited on

Fix logic for 'Similarity Score' comparison in trim_portfolio.py to ensure correct filtering of portfolios based on performance thresholds. This change enhances the accuracy of the trimming process.
8a560d8

James McCool commited on

Add 'Similarity Score' to data handling in app.py
0b4291c

James McCool commited on

Enhance trimming variable options in app.py and update portfolio trimming logic in trim_portfolio.py to accommodate 'Similarity Score'. This change allows for more flexible data handling and improves the trimming process based on the selected variable.
91ab4fb

James McCool commited on

Optimize player similarity score calculation in predict_dupes function
039bb05

James McCool commited on

Refactor player similarity score calculation in predict_dupes function
1fe4ec0

James McCool commited on

Update excluded columns in app.py to include 'Similarity Score' for improved data handling in portfolio processing.
0b88791

James McCool commited on

Refactor player similarity score calculation in predict_dupes function
4390bf0

James McCool commited on

Enhance player selection handling in predict_dupes function
c283108

James McCool commited on

Add player similarity score calculation to predict_dupes function
dd908a8

James McCool commited on

Limit concatenation in distribute_preset function to the top 10 entries of the working portfolio, removing debug print statements for cleaner output and improved performance in portfolio processing.
42199ca

James McCool commited on

Refactor handling of working portfolio in distribute_preset function to ensure proper checks for empty portfolios and maintain accurate filtering logic. This change improves robustness and clarity in the portfolio processing flow.
22483d5

James McCool commited on

Fix lower threshold calculation in distribute_preset function to ensure accurate filtering based on finishing range. This change enhances the clarity and correctness of the threshold logic.
9387594

James McCool commited on

Update debug print statements in distribute_preset function to include finish and lower threshold values, and sort the top 10 entries by 'Finish_percentile' for enhanced traceability and clarity during execution.
0aa6048

James McCool commited on

Refactor threshold logic in distribute_preset function to improve clarity and accuracy in filtering. Introduced a lower threshold variable for better readability and consistency in handling 'Finish_percentile' across all finishing ranges.
b071238

James McCool commited on

Add debug print statement in distribute_preset function to display the top 10 entries of the working portfolio for improved traceability during execution.
09fca6e

James McCool commited on

Remove limit on concatenation in distribute_preset function to include all entries of the working portfolio, enhancing data completeness while maintaining sorting by 'Finish_percentile'.
6fa0eb5

James McCool commited on

Limit concatenation in distribute_preset function to the top 5 entries of the working portfolio to enhance performance and maintain focus on the most relevant data.
0808078

James McCool commited on

Enhance portfolio concatenation in distribute_preset function by increasing the limit to the top 10 entries and adding a step to remove duplicates based on 'median', 'salary', and 'Own' for improved data relevance and accuracy.
efe0fbf

James McCool commited on

Limit concatenation in distribute_preset function to the top 5 entries of the working portfolio to further enhance performance and focus on the most relevant data.
47d93c4

James McCool commited on

Limit concatenation in distribute_preset function to the top 10 entries of the working portfolio to enhance performance and maintain focus on the most relevant data.
b3ed56e

James McCool commited on

Update preset label in app.py for clarity and consistency
84a7686

James McCool commited on

Update debug print statement in distribute_preset function to display only the top 10 entries of the working portfolio for improved clarity during execution.
f054296

James McCool commited on

Add debug print statement in distribute_preset function to output working portfolio for better traceability during execution.
3a91762

James McCool commited on

Refactor filtering logic in distribute_preset function to improve handling of 'Finish_percentile' thresholds. Introduced a variable for finish threshold to enhance code readability and maintain accurate portfolio selection across all finishing ranges.
f0036dd

James McCool commited on

Fix variable reference in distribute_preset function to correctly use 'Weighted Own' for filtering logic, ensuring accurate portfolio selection based on ownership thresholds.
b529706

James McCool commited on

Refactor distribute_preset function to improve filtering logic for 'Finish_percentile' by handling edge cases for the first and last finishing ranges, ensuring accurate portfolio selection and maintaining sorting by 'median' in descending order.
746f258

James McCool commited on