Refactor position eligibility check in 'exposure_spread' to improve clarity and maintainability, ensuring proper handling of player positions during lineup generation.
5fe15cf
James McCoolcommited on
Implement error handling in 'exposure_spread' to ensure comparable player list is generated safely, defaulting to an empty list if an exception occurs, enhancing robustness in player selection logic.
076e322
James McCoolcommited on
Add debug print statements in 'exposure_spread' to log existing and comparable players, aiding in troubleshooting player selection logic.
251627a
James McCoolcommited on
ping
28d4fc2
James McCoolcommited on
Enhance player selection logic in 'exposure_spread' by adding salary constraints for specific replacements, improving accuracy in lineup generation and incorporating error handling for existing players.
9e53f8f
James McCoolcommited on
Refactor player selection logic in 'exposure_spread' by removing redundant salary constraints for specific replacements, streamlining the lineup generation process.
1a4a0d8
James McCoolcommited on
Refine player selection in 'exposure_spread' by incorporating salary constraints for specific replacements, enhancing the precision of lineup generation.
f13359a
James McCoolcommited on
Enhance player filtering in 'exposure_spread' by adding salary constraints for specific replacements, improving accuracy in lineup generation.
bcf121e
James McCoolcommited on
Update player position retrieval in 'Manage Portfolio' to use mapping from 'map_dict' instead of the display frame, improving accuracy in player statistics.
65b348b
James McCoolcommited on
add position to player analysis
cfe1ed8
James McCoolcommited on
Add default handling for 'Ignore Specific Stacks' in 'Manage Portfolio', ensuring an empty list is set when no stacks are selected, improving user experience and preventing errors.
dd1aa56
James McCoolcommited on
Refactor player filtering logic in 'Manage Portfolio' to streamline beta condition application, ensuring it only processes rows that meet the alpha condition, enhancing efficiency in lineup management.
da65172
James McCoolcommited on
Add Conditionals Manager for player filtering in 'Manage Portfolio', allowing users to keep or remove lineups based on selected player conditions, enhancing lineup management capabilities.
a281a4f
James McCoolcommited on
Update captain salary and projection calculations to apply a multiplier of 1.5, enhancing the accuracy of player data in the 'Data Load' tab.
ad14b7e
James McCoolcommited on
Enhance column exclusion handling in 'Manage Portfolio' by adding error handling for multiselect options, ensuring robustness when columns are missing.
c4992bf
James McCoolcommited on
Fix key in position export dictionary to use 'Id' instead of 'ID', ensuring consistency in data handling.
d884d9a
James McCoolcommited on
Refactor position export dictionary logic to remove dynamic column renaming, simplifying the handling of player names and IDs for Draftkings and other sites.
52391b5
James McCoolcommited on
Add dynamic column renaming for player data in position export dictionary, improving flexibility in handling varying column names for 'Name' and 'ID'.
e1d2eb8
James McCoolcommited on
selectbox to multiselect
b2bcefd
James McCoolcommited on
Refactor exposure_spread function and 'Manage Portfolio' logic to replace stack management with an option to ignore specific stacks, enhancing user control in exposure calculations.
3ff610a
James McCoolcommited on
Rename 'Diversity' to 'Avg Diversity' in analysis tables for clarity and consistency in 'Manage Portfolio'.
b7746b2
James McCoolcommited on
adding diversity to analysis tables
d23b397
James McCoolcommited on
Refactor combo analysis controls in 'Manage Portfolio' to use a form for submission, improving user interaction and streamlining the analysis process.
9c68c67
James McCoolcommited on
Update column exclusion logic in 'Manage Portfolio' to correctly reflect excluded columns in the multiselect options, enhancing user experience in combo analysis.
ffc75f9
James McCoolcommited on
Update column exclusion logic in 'Manage Portfolio' to allow for dynamic exclusion of selected columns, enhancing user control in combo analysis.
4e93c74
James McCoolcommited on
Enhance combo analysis controls in 'Manage Portfolio' by adding options to exclude additional columns, improving user flexibility in player combination analysis.
423134d
James McCoolcommited on
Refactor exposure_spread function to improve readability by consolidating conditional checks for stacking sports and comparable players filtering.
ee185e5
James McCoolcommited on
Add specific replacements feature in 'Manage Portfolio' to enhance player selection options and improve exposure calculations.
3a20f4f
James McCoolcommited on
Refactor 'Manage Portfolio' logic to directly use reassess_edge for both working and export frames, streamlining data processing and enhancing efficiency.
0543ffc
James McCoolcommited on
Refactor combined frame creation in 'Manage Portfolio' to exclude unnecessary columns, enhancing data processing efficiency and consistency.
0327da6
James McCoolcommited on
catch for HF version of segmented_control
2022d2c
James McCoolcommited on
Update streamlit version in requirements.txt to 1.48.0 for improved features and performance.
282bc3d
James McCoolcommited on
Add debug print statements in app.py to track the number of modified rows and the length of combined frames during 'Manage Portfolio' processing, aiding in troubleshooting and data validation.
fad0da8
James McCoolcommited on
Refactor reassessment logic in app.py to utilize combined frames for 'Manage Portfolio' and 'Export Base', improving data processing and consistency in predictions.
d503c02
James McCoolcommited on
Update column widths in app.py for improved layout consistency and responsiveness in the UI.
50ce3f6
James McCoolcommited on
Remove width property from segmented control in app.py to streamline layout and improve responsiveness in tab selection.
2c73efa
James McCoolcommited on
Update segmented control in app.py to include width property for improved layout and consistency in tab selection between 'Data Load' and 'Manage Portfolio'.
e354cc6
James McCoolcommited on
Add segmented control for tab selection in app.py to enhance navigation between 'Data Load' and 'Manage Portfolio' sections.
a700b26
James McCoolcommited on
Enhance UI by adding custom styles for segmented controls and select elements in app.py, improving user experience and visual consistency.
82d70c9
James McCoolcommited on
Refactor position filtering logic in create_position_export_dict to use DataFrame indexing for improved clarity and performance in filtering positions across various sports.
044bb1e
James McCoolcommited on
Refactor position filtering logic in create_position_export_dict to use str.contains for NCAAF, improving flexibility in position matching.
97d02d3
James McCoolcommited on
Enhance position filtering in create_position_export_dict to include 'QB' for NCAAF, and streamline sorting logic for Draftkings and other sites.
6a84d90
James McCoolcommited on
restructuring of own_rank mapping
2d5437b
James McCoolcommited on
Add FLEX5 ownership calculations in predict_dupes.py to enhance ownership metrics and improve portfolio analysis.
b8a4bc2
James McCoolcommited on
Refactor predict_dupes.py to remove FLEX5 ownership calculations, simplifying the ownership metrics and improving code clarity.
c8b11e9
James McCoolcommited on
Add debug print statement for flex rank in predict_dupes.py to enhance troubleshooting capabilities.
059dd01
James McCoolcommited on
Add debug print statement for flex ownerships in predict_dupes.py to assist with troubleshooting
1c18539
James McCoolcommited on
print some debug for showdown
3ba7628
James McCoolcommited on
Update sport selection options in app.py to remove duplicate 'NBA' entry, ensuring clarity and consistency in user choices.