Commit History

Enhance name matching process in app.py: streamline the handling of player names by implementing a more efficient matching algorithm, updating session state management, and improving debug output for better traceability of matches.
730a147

James McCool commited on

Refactor name standardization and mapping logic in app.py: introduce functions for creating site mappings and standardizing player names, improving code organization and efficiency in handling name variations across dataframes.
3deb246

James McCool commited on

Refactor name matching logic in app.py: streamline the process of creating the name ID mapping and matching player names, improving efficiency and clarity in data handling.
d209a5b

James McCool commited on

Refactor debug output in app.py: adjust the placement of the export dictionary display statement to ensure it appears after applying matches, improving clarity in data processing verification.
51d04e4

James McCool commited on

Add debug output in app.py: include a statement to display the export dictionary after applying matches, aiding in the verification of data processing.
92753be

James McCool commited on

Refactor filter form keys in app.py: rename filter form keys to 'macro_filter_form' and 'micro_filter_form' for improved clarity and organization in the filtering options.
5244b28

James McCool commited on

Refactor filter options in app.py: rename 'Filter Options' to 'Macro Filter Options' and streamline the filter form by consolidating stack selection logic, enhancing user experience and clarity in filtering functionalities.
d318223

James McCool commited on

Enhance portfolio calculations in app.py: implement sport-specific logic for CS2 to differentiate salary, median, and ownership calculations for Captain and FLEX positions, improving accuracy in player statistics and overall portfolio analysis.
87e0fcb

James McCool commited on

Update sport selection in app.py: add 'CS2' to the sport selection dropdown, expanding user options for game type selection.
46cffe3

James McCool commited on

Update portfolio duplication prediction in app.py: modify predict_dupes call to include sport_var, enhancing the accuracy of duplication metrics based on sport-specific logic.
c8b2207

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

Remove export dictionary display in app.py: eliminate the output of the export dictionary contents to streamline the user interface and focus on essential information during portfolio processing.
d619fee

James McCool commited on

Enhance export file processing in app.py: implement mapping for non-excluded columns in the export file using the export dictionary, ensuring improved data accuracy during portfolio downloads.
ecf059f

James McCool commited on

Enhance export file processing in app.py: add mapping for non-excluded columns in the export file using the export dictionary, improving data accuracy during portfolio downloads.
83df1df

James McCool commited on

Refactor name matching process in app.py: optimize the matching logic by processing names individually with extractOne for improved efficiency, while maintaining the handling of name-to-ID mapping and ensuring consistent debug output for better user feedback.
be8e70e

James McCool commited on

Refactor name matching process in app.py: streamline the handling of name-to-ID mapping and matching logic, ensuring consistent debug output while maintaining clarity in the export dictionary assignment, enhancing overall efficiency and user feedback.
507fe5f

James McCool commited on

Add detailed debug output for name matching process in app.py: include additional print statements to provide insights into the name-to-ID mapping, number of names to match, and results of the matching process, enhancing visibility for debugging and user feedback.
6c65277

James McCool commited on

Refactor name matching and export dictionary handling in app.py: streamline the name-to-ID mapping process by ensuring it only occurs when necessary, and enhance match handling by fixing the conversion to match_dict, improving overall efficiency and user experience during exports.
ce6c2b2

James McCool commited on

Refactor export dictionary handling in app.py: simplify the export dictionary assignment by using match_dict directly and enhance user feedback by displaying the export dictionary in the app interface.
405e093

James McCool commited on

Improve name matching logic in app.py: enhance the match validation by adding a threshold check and retain original names for unmatched entries, along with debug output for better visibility into the matching process.
ee0824a

James McCool commited on

Add debug output for export dictionary in app.py: include a display of the generated export dictionary to enhance user feedback and facilitate debugging during the export process.
9b0d8bc

James McCool commited on

Refactor name-to-ID mapping and matching logic in app.py: streamline the process by consolidating the mapping and matching steps, improving efficiency and maintaining user experience during exports.
d61cf96

James McCool commited on

Enhance export matching functionality in app.py: replace fuzzywuzzy with rapidfuzz for improved performance, and streamline the name-to-ID mapping process by processing all names in a batch, enhancing efficiency and user experience during exports.
1a21253

James McCool commited on

Refactor export matching logic in app.py: move the name-to-ID mapping and best match application to a dedicated button, improving user interaction and streamlining the export process while removing redundant debug messages.
2e7d951

James McCool commited on

Implement button for export matching in app.py: add a button to initiate the creation of a name-to-ID mapping and apply best match logic, enhancing user interaction and functionality during the export process.
1504942

James McCool commited on

Add debug messages in app.py: include notifications for the start and completion of name matching to enhance user feedback and improve debugging capabilities.
1501d6f

James McCool commited on

Refactor tab structure in app.py: remove the 'Late Swap' tab and adjust related logic to streamline user interface and improve overall functionality in portfolio management.
255a179

James McCool commited on

Add debug messages in app.py: include 'initiated' notifications during portfolio trimming processes to enhance user feedback and improve debugging capabilities.
283a8e1

James McCool commited on

Update trimming variable options in app.py: add 'Geomean' to the selection for trimming variable, enhancing user choice in portfolio analysis.
e599376

James McCool commited on

Enhance export options in app.py: introduce a selection for 'Simple' or 'Advanced' download types, allowing users to choose between direct portfolio export or customized stack adjustments, improving flexibility and user experience during data export.
7a401f2

James McCool commited on

Adjust column widths in filter options of app.py: modify the layout to improve the visual balance and user experience in the filter options section.
2e2f822

James McCool commited on

Update export file handling in app.py: add logic to initialize the export file from the portfolio when no export file exists, enhancing data management and ensuring a seamless user experience during portfolio updates.
4d75bf8

James McCool commited on

Update download button logic in app.py: modify the export file availability check to ensure the download button is only shown when the export file exists, improving user experience and preventing errors during download attempts.
4d2cf7c

James McCool commited on

Refactor portfolio copy handling in app.py: simplify the logic for creating a portfolio copy and streamline export file updates, enhancing data management and user experience during portfolio interactions.
602712b

James McCool commited on

Refactor portfolio export logic in app.py: streamline the concatenation of selected rows and update the export file handling, improving data management and user experience during portfolio updates.
610b496

James McCool commited on

Improve download button error handling in app.py: add try-except block to display an error message when no portfolio is available for download, enhancing user experience and preventing crashes during download attempts.
dd63c0f

James McCool commited on

Update download button logic in app.py: ensure the download button for the portfolio is only displayed when the export file is available, improving user experience and preventing errors during download attempts.
0b16f62

James McCool commited on

Refactor selected rows handling in app.py: streamline the process of selecting and displaying top rows for each stack, enhancing user interaction and visibility of portfolio data.
97f24d7

James McCool commited on

Add table display for combined portfolio in app.py: enhance user experience by showing the combined selected rows in a table format, improving visibility and interaction with the portfolio data.
6b3074f

James McCool commited on

Add table display for portfolio copy in app.py: enhance user experience by showing the portfolio data in a table format, improving visibility and interaction with the portfolio information.
e278952

James McCool commited on

Add table display for updated portfolio in app.py: enhance user feedback by showing the export file after submission, improving visibility of changes made to the portfolio.
821975e

James McCool commited on

Add portfolio download functionality in app.py: store a copy of the sorted portfolio for download, improving user access to portfolio data after updates.
ce79249

James McCool commited on

Refactor portfolio handling in app.py: remove unnecessary portfolio copy logic and streamline download options, enhancing data management and user experience during portfolio updates.
725610e

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

Implement portfolio reset feature in app.py: add functionality to restore the original portfolio state and streamline the reset process for improved user experience in managing projections.
a5888d7

James McCool commited on

Refactor portfolio reset functionality in app.py: streamline the reset process by removing redundant filtering logic, ensuring a more efficient and clearer portfolio management experience.
89a6270

James McCool commited on

Update selectbox labels in app.py: change "Select sort type" to "Select Sorting variable" and "Select trimming variable type" to "Select trimming variable" for improved clarity in user interface.
33fc799

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

Update reset button implementation in app.py: change button to use a unique key for state management, ensuring proper functionality in the trimming options section.
62a44af

James McCool commited on

Add reset functionality for portfolio in app.py: store original portfolio state and implement reset button to restore it, enhancing user experience during trimming options.
14771cd

James McCool commited on