Commit History

Refactor ownership calculations in predict_dupes.py: remove redundant ownership columns for CS2, streamlining the duplication prediction logic and enhancing performance in portfolio analysis.
2cde0be

James McCool commited on

Refactor portfolio duplication prediction in predict_dupes.py: enhance the function to accommodate sport-specific logic for CS2, improving ownership calculations and ensuring accurate duplication metrics based on player ownership and salary. Update app.py to pass sport_var to predict_dupes for better context in calculations.
bd90e32

James McCool commited on

Fix typo in geometric mean calculation in predict_dupes: rename 'Goemean' to 'Geomean' for consistency and clarity in portfolio analysis.
50fa4f0

James McCool commited on

Add geometric mean calculation in predict_dupes: introduce a new column 'Goemean' to compute the geometric mean of ownership percentages, enhancing portfolio analysis capabilities.
c7e2afa

James McCool commited on

Enhance trimming options in app.py: add informational prompt for filtering before trimming and update portfolio copy logic to ensure correct data handling during download, improving user guidance and functionality.
330dac8

James McCool commited on

Update 'Weighted Own' calculation in predict_dupes.py: adjust formula to account for the difference between maximum and minimum ownership values for improved accuracy in portfolio analysis.
33b69e6

James McCool commited on

Enhance portfolio reset functionality in app.py: implement comprehensive filtering options for salary, finish percentile, and player selections, and update predict_dupes function to calculate 'Weighted Own' for improved accuracy in portfolio management.
58be65b

James McCool commited on

Enhance portfolio trimming logic in app.py: add comprehensive filtering options based on salary, finish percentile, and player selections, and update predict_dupes function to adjust 'Product Own' calculation for improved accuracy.
11b09bf

James McCool commited on

Remove unused import of gmean from app.py and predict_dupes.py for cleaner code and improved performance.
66905e3

James McCool commited on

Update trimming options in app.py: replace 'Geomean' with 'Product Own' for portfolio calculations, and ensure trimming logic is executed only upon form submission for improved user experience.
20665ec

James McCool commited on

Enhance portfolio filtering and trimming options in app.py: introduce expandable sections for filter and trimming options, update portfolio trimming logic to support geomean calculations, and improve export functionality with stack count adjustments.
25fcef5

James McCool commited on

Add 'Product Own' calculation to portfolio in predict_dupes.py
1afc466

James McCool commited on

Initial Commit
a35b524

James McCool commited on