Commit History

Refactor sidebar and container layout in app.py to improve user interface. Moved trimming options to the sidebar and adjusted the export section to use a container with a border. Updated DataFrame display settings for better visibility and reduced height.
57a5f25

James McCool commited on

Add volatility preset option in app.py and implement volatility_preset function. Updated lineup generation logic to include new preset for enhanced lineup edge management.
cc0edce

James McCool commited on

Update preset options in app.py to improve lineup generation accuracy. Changed 'Large Field (Finish Percentile / Edge)' to 'Large Field (Manage Similarity)' and adjusted corresponding logic in the form submission process.
8c81703

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

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

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

James McCool commited on

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

James McCool commited on

Update preset option in app.py to correct wording for 'Distributed' selection
b35b9b7

James McCool commited on

Add distribute_preset function and update app.py for preset selection
5a5c5db

James McCool commited on

Enhance small_field_preset and large_field_preset functions to accept an additional parameter for excluded columns, improving filtering capabilities and lineup accuracy. Update app.py to reflect these changes in preset selections.
1b1db4f

James McCool commited on

Add info message in Presets section of app.py to indicate ongoing testing status, enhancing user awareness of feature readiness.
f591d4e

James McCool commited on

Update preset options in app.py: modify the small field preset selection to include more descriptive labels, enhancing clarity for users when choosing lineup configurations.
c7d3c05

James McCool commited on

Add large field preset functionality in app.py and implement large_field_preset function for improved lineup targeting. Update small_field_preset function to sort by 'Own' for consistency in portfolio adjustments.
936a186

James McCool commited on

Comment out calculations for highest owned teams and pitchers in app.py to streamline functionality and focus on essential features, while maintaining the option for future use.
ab5ff8c

James McCool commited on

Enhance app functionality by adding calculations for the highest owned teams and pitchers based on projections, improving user insights into team ownership trends. Refactor small_field_preset function to ensure consistent DataFrame structure by sorting working portfolio by median before returning results.
4507308

James McCool commited on

Refactor small_field_preset function to ensure consistent DataFrame structure by resetting the index after filtering and sorting the working portfolio by Median before returning results, improving accuracy in lineup selection.
a6d3a93

James McCool commited on

Enhance preset selection in app.py: add a dropdown for choosing presets and update lineup target input label, improving user experience and interaction. Update small_field_preset function to filter working portfolio based on Finish_percentile, ensuring more accurate portfolio adjustments.
82d3e88

James McCool commited on

Implement form submission for small field preset in app.py: add a submit button to apply lineup target changes, enhancing user interaction and ensuring updates to the working frame are only processed upon user confirmation.
737b2a7

James McCool commited on

Add small field preset functionality in app.py: integrate new preset options for lineup targeting, enhancing user experience and providing better control over portfolio management.
43df572

James McCool commited on

Refine custom export row addition in app.py: update logic to use head for selecting rows, ensuring accurate concatenation of selected rows from the merge DataFrame and improving data integrity in the export process.
70d6b20

James McCool commited on

Refine row selection for custom export in app.py: replace selectbox with number input for selecting rows, enhancing user experience and ensuring accurate row addition from the merge DataFrame.
fc2be61

James McCool commited on

Update custom export selection in app.py: replace multiselect with selectbox for row selection, allowing users to select rows from the top of the DataFrame, and adjust concatenation logic to include selected rows more intuitively.
4c4a480

James McCool commited on

Refine custom export logic in app.py: update the condition to check for 'export_merge' in session state, enhancing error handling and ensuring smoother user interactions when selecting rows for custom export.
feaf945

James McCool commited on

Enhance custom export functionality in app.py: add a check for the presence of 'export_merge' before allowing row selection, improving robustness and preventing errors during user interaction.
75451a2

James McCool commited on

Update column layout for export options in app.py: adjust button column widths to improve UI spacing and enhance user experience when downloading portfolios.
34ee0c2

James McCool commited on

Refactor custom export options in app.py: reorganize layout to separate buttons for adding all and selected rows to the custom export, improving user interface clarity and functionality.
90fa87c

James McCool commited on

Add custom export functionality in app.py: introduce options to add all or selected rows from the merge DataFrame to the custom export, enhancing user control over data selection and improving export flexibility.
45bb52c

James McCool commited on

Update stack inclusion logic in app.py: modify condition to check for sport types (NFL, MLB, NHL) instead of 'Stack' column, enhancing stack selection functionality for specific sports.
488d713

James McCool commited on

Update size selection logic in app.py: conditionally include size options based on sport type, ensuring appropriate functionality for NFL, MLB, and NHL while defaulting to an empty selection for others.
69d924b

James McCool commited on

Update excluded columns in app.py: replace 'Dupes' with 'Size' in the list of excluded columns to reflect recent changes in player size selection functionality.
5581d98

James McCool commited on

Add size selection functionality in app.py: introduce options to include player sizes in lineups, enhancing user control over player configurations and improving data representation.
911d70e

James McCool commited on

Update team selection options in app.py: switch from using 'working_frame' to 'projections_df' for team inclusion and removal, ensuring accurate data representation in player configurations.
546a43f

James McCool commited on

Add team selection functionality in app.py: introduce options to include and remove teams from lineups for enhanced user control over player configurations.
646dbbe

James McCool commited on

Enhance stack selection functionality in app.py: update stack inclusion and removal options for improved user control over lineup configurations.
13857b8

James McCool commited on

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