Commit History

Refactor exposure calculation in app.py: remove percentage formatting from 'Exposure' field to ensure consistent raw value representation across player statistics.
5ed7a1c

James McCool commited on

Refactor exposure calculation in app.py: update 'Exposure' field to store raw percentage values instead of formatted strings for improved data handling and consistency in player statistics.
0abd3e1

James McCool commited on

Refactor player statistics display in app.py: update 'Lineup Count' to show raw counts and add 'Exposure' percentage for enhanced clarity in player usage analysis.
92ae630

James McCool commited on

Update player and stack statistics display in app.py: modify 'Lineup Count' to include percentage of total lineups for improved clarity and insight into player usage.
d5190d7

James McCool commited on

Fix condition for stack statistics display in app.py: update header check to use 'columns' instead of 'headers' for accurate data retrieval.
97529bc

James McCool commited on

Enhance stack summary in app.py: modify sorting to include dropping duplicates for improved data accuracy and clarity in displayed statistics.
6a58427

James McCool commited on

Enhance tab layout for player and stack statistics in app.py: replace column layout with tabs for improved organization and user navigation, and adjust stack statistics condition for better data handling.
e631d8e

James McCool commited on

Refactor player and stack statistics display in app.py: streamline player summary calculations and add stack summary section for enhanced data visualization and user experience.
6c81ee5

James McCool commited on

Adjust column layout in portfolio section of app.py: change from 3 to 2 columns for improved UI in the projections display.
7900a20

James McCool commited on

Refactor contest size and strength input in app.py: replace individual input fields with a form layout for better organization and user experience, and ensure portfolio reset functionality is maintained upon submission.
4088be2

James McCool commited on

Merge branch 'main' of https://huggingface.co/spaces/Multichem-PD/DFS_Portfolio_Manager
25ae890

James McCool commited on

Update sport selection options in app.py: add 'WNBA' to the list of available sports in the dropdown menu, enhancing user choice and application functionality.
913cfd5

James McCool commited on

Update app.py
c1e2fb5
verified

Multichem commited on

Update app.py
3212032
verified

Multichem commited on

Update app.py
33da69b
verified

Multichem commited on

Update app.py
94216f6
verified

Multichem commited on

Update app.py
f396a8d
verified

Multichem commited on

Update app.py
5492e06
verified

Multichem commited on

Update app.py
604e91a
verified

Multichem commited on

Improve error handling for CSV file names in app.py: add a try-except block to ensure robust retrieval of names from session state, enhancing application stability and user experience.
a4e6673

James McCool commited on

Enhance user interface in app.py: add a fourth column for game type selection, reorganize input fields for site, sport, contest size, and field strength, and improve layout for better user interaction and clarity.
cefd40a

James McCool commited on

Add user interface enhancements in app.py: introduce new selection options for site, sport, game type, contest size, and field strength, along with a clear data reset button, improving user experience and interaction within the application.
bbf380a

James McCool commited on

Implement conditional team stacking logic in app.py: add a check to ensure 'Stack' column is created only if it doesn't exist, enhancing the portfolio's team analysis functionality and preventing redundant calculations.
fc490c5

James McCool commited on

Add team stacking logic in app.py: implement a new feature to determine the most common team for players in the portfolio, enhancing team analysis capabilities and improving user insights into player distributions.
40fb788

James McCool commited on

Update score cutoff values in app.py: increase the score_cutoff for name matching from 85 to 87 to enhance matching accuracy for portfolio and projections, ensuring better alignment with user expectations.
3c99d96

James McCool commited on

Update export file assignment logic in app.py: streamline the assignment of export_file by directly referencing display_frame based on user selection, improving clarity and consistency in data handling for export processes.
a4a0f62

James McCool commited on

Refactor download options in app.py: comment out the previous download options logic for clarity, and implement a new selection mechanism for displaying either the portfolio or export base, enhancing user experience and functionality in data export processes.
e39607b

James McCool commited on

Reset index of export base after adding new entries in app.py: ensure the DataFrame maintains a clean index by resetting it following the concatenation and duplicate removal process.
0157a17

James McCool commited on

Refactor player statistics calculation in app.py: update references from working_frame to display_frame for improved clarity and consistency in player data processing, and add logic to drop duplicate entries in the export base upon addition.
9fdec5f

James McCool commited on

Remove redundant assignment of display_frame in app.py: eliminate unnecessary line that sets display_frame to working_frame, streamlining the logic for frame selection based on user input.
e5cc656

James McCool commited on

Refactor trimming logic in app.py: streamline the portfolio trimming process by creating a copy of the working_frame before applying the trim function, and restore the display frame selection functionality for improved user experience.
b3c964e

James McCool commited on

Add info_columns_dict initialization in app.py: implement logic to store key metrics from working_frame in session state for improved data tracking, and refactor filtering logic to enhance clarity and maintainability of lineup processing.
20a3bf0

James McCool commited on

Enhance name matching logic in app.py: improve clarity of output messages by specifying the source of matches for both portfolio and projections, and update projections DataFrame in session state with matched names for better data consistency.
14ac337

James McCool commited on

Refactor portfolio reset functionality in app.py: modify the reset button logic to delete the working_frame from session state, ensuring a clearer reset process, and update working_frame initialization to consistently reference the origin_portfolio.
b60e0d6

James McCool commited on

Adjust score cutoff values in app.py: lower the score_cutoff for name matching from 90 to 85 to improve matching flexibility, and update working_frame assignment in session state for clarity in portfolio reset functionality.
a4d375f

James McCool commited on

Add export dictionary initialization in app.py: implement logic to create an export_dict from csv_file, enhancing data handling for export operations while ensuring fallback for missing keys.
d5e058d

James McCool commited on

Update projection names handling in app.py: replace direct reference to projections DataFrame with session state for improved data consistency and clarity in name matching logic.
95ffa8b

James McCool commited on

Refactor name matching logic in app.py: streamline the process of matching portfolio names to projection names by utilizing session state for improved clarity and efficiency, while enhancing the output messages for better user feedback.
f5bf222

James McCool commited on

Refactor map_dict handling in app.py: replace local map_dict variable with session state reference for improved consistency and clarity in data processing across various operations.
fdf735a

James McCool commited on

Enhance working_frame processing in app.py: add prediction and trimming logic to session state, ensuring maximum values are tracked for key metrics, improving data handling and analysis capabilities.
7a8cb18

James McCool commited on

Add working_frame initialization in app.py: create a copy of the portfolio in session state to ensure consistent data handling across operations, enhancing clarity and maintainability.
7157836

James McCool commited on

Refactor portfolio handling in app.py: replace direct references to the portfolio with a working_frame variable for improved clarity and maintainability, ensuring consistent data processing across various operations.
37c59a0

James McCool commited on

Update app.py: temporarily add an info message for ongoing work on the export feature, and simplify display logic by directly using the portfolio state while commenting out the selectbox for display options.
c300f43

James McCool commited on

Refactor export handling in app.py: simplify the initialization of the export_merge session state variable by removing the conditional check, ensuring it always reflects the current portfolio state for accurate export operations.
51b03c3

James McCool commited on

Improve export handling in app.py: add a conditional check to initialize the export_merge session state variable only if it doesn't already exist, ensuring data integrity during portfolio export operations.
f0e4b10

James McCool commited on

Update export logic in app.py: introduce a new session state variable to store a copy of the portfolio for export, ensuring accurate data handling when adding to the export base and improving display options for paginated data.
ab4dc7d

James McCool commited on

Fix export logic in app.py: update the export base to concatenate the current portfolio instead of the export file, ensuring accurate data representation when adding to the export.
95b2e04

James McCool commited on

Refactor portfolio calculation logic in app.py: streamline salary, median, and ownership computations for Classic and Showdown types, ensuring accurate data handling and improved clarity in the code structure.
e16cb76

James McCool commited on

Enhance portfolio calculations in app.py: implement conditional logic for salary, median, and ownership calculations based on portfolio type and sport, ensuring accurate data handling for both Classic and Showdown formats.
2a79e13

James McCool commited on

Refactor export button logic in app.py: streamline the addition of portfolios to the export base by replacing the button context with a conditional check, enhancing user interaction and code clarity.
5a791bd

James McCool commited on