Refactor Player Data Initialization with Consistent Projection Scaling
dd13903
Running
James McCoolcommited on
Align Assist Projection Scaling with Kill Projection Method
2bd68c9
James McCoolcommited on
Modify Kill Scaling Calculation to Remove Minimum Bound
d107b59
James McCoolcommited on
Add Debug Print Statements for Kill, Death, and Assist Scaling
84ba8d9
James McCoolcommited on
Update Player Stats Column Names in Team Data Initialization
a5d3bed
James McCoolcommited on
Simplify Kill, Death, and Assist Projection Scaling
96d48dc
James McCoolcommited on
Improve Kill, Death, and Assist Projection Scaling
1e0aade
James McCoolcommited on
Revert Assist Projection to Weighted Assist Percentage Calculation
f23bbcc
James McCoolcommited on
Fix Assist Projection Calculation with Scaled Base Assists
c61e4e0
James McCoolcommited on
Refine Assist Projection Calculation with Simplified Base Assist Approach
7fc9432
James McCoolcommited on
Modify Assist Projection to Use Weighted Assist Percentage
9abb8d1
James McCoolcommited on
Remove assist projection scaling in player data initialization
93a0ad7
James McCoolcommited on
Refactor assist projection calculation in player data initialization
268b562
James McCoolcommited on
Reorder tabs and adjust Gamelogs display column positioning
656c08a
James McCoolcommited on
Enhance Gamelogs filtering with player toggle and improved display logic
2fef8c4
James McCoolcommited on
Add player and scenario filtering to Gamelogs display
1549530
James McCoolcommited on
Ensure Fantasy column is converted to float and rounded to two decimal places
53b9faf
James McCoolcommited on
Fix column name reference in Gamelogs display filtering
316143c
James McCoolcommited on
Update Gamelogs display with additional performance metrics and refined column presentation
8900bd4
James McCoolcommited on
Enhance Gamelogs display with sorting and column selection
7c053d1
James McCoolcommited on
Add Gamelogs tab to display individual game data in app.py
4894b46
James McCoolcommited on
Refactor database connection and data initialization in app.py
60577ca
James McCoolcommited on
Enhance app.py to include additional display formats for probability percentages. Updated the 'Over %' and 'Under %' calculations to round to two decimal places and modified the display logic to utilize the new formatting. This change improves clarity and consistency in the displayed data during simulations.
39eff33
James McCoolcommited on
Refactor app.py to improve conditional rendering of session state data. Updated checks to ensure player summaries, overall simulations, individual game data, and opponent boosts are displayed only when the corresponding data is available. This change enhances user experience by preventing errors and improving clarity during simulations.
b65158e
James McCoolcommited on
Refactor app.py to improve conditional checks for session state data. Updated rendering logic to ensure that player summaries, overall simulations, individual game data, and opponent boosts are only displayed when the corresponding data is available. This change enhances user experience by preventing errors and improving clarity during simulations.
9c4ce64
James McCoolcommited on
Refactor app.py to improve data display and conditional rendering in simulation tabs. Added checks for session state data before rendering player summaries, overall simulations, individual game data, and opponent boosts. This change enhances user experience by ensuring that only available data is displayed, improving clarity and interaction during simulations.
9caa087
James McCoolcommited on
Refactor app.py to streamline player data processing by utilizing session state for game data and cleaning player names. This change enhances data management and ensures consistent access to player statistics, improving overall performance during simulations.
511fd8d
James McCoolcommited on
Refactor app.py to utilize session state for storing team and player data during simulations. This change enhances data management by ensuring consistent access to initialized data across different parts of the application, improving overall performance and user experience.
392cd38
James McCoolcommited on
Refactor display of probability percentages in app.py to remove percentage sign from 'Over %' and 'Under %' columns. This change improves data formatting for better clarity in the displayed dataframe during simulations.
b93377d
James McCoolcommited on
Add Prop Check feature to app.py for statistical analysis of player performance. Users can input a prop value and select a statistic (Kills, Deaths, Assists, CS) to calculate and display the probabilities of exceeding or falling below the specified prop value. This enhancement improves user interaction and provides deeper insights into player statistics during simulations.
b9557f5
James McCoolcommited on
Update team data processing in init_player_data function to convert unique team names to a list. This change improves compatibility with subsequent database queries, enhancing the accuracy of team statistics retrieval during simulations.
b3a8168
James McCoolcommited on
Enhance team data processing in init_player_data function by adding retrieval of team statistics. Introduced a new query to fetch team data based on unique team names, improving the accuracy of team performance metrics. Updated the logic to conditionally apply team statistics calculations, ensuring proper integration with player data. This change enhances the overall integrity of performance metrics during simulations.
d6b4eb2
James McCoolcommited on
Refactor team data retrieval in init_player_data function to filter by 'position' instead of 'teamname'. This change improves data accuracy for team statistics calculations, enhancing the integrity of player performance metrics during simulations.
b2664c1
James McCoolcommited on
Refactor team data retrieval in init_player_data function to use 'teamname' for filtering. Removed unnecessary st.write() calls for player and team data display to streamline output. This change enhances data integrity and improves the clarity of the application during simulations.
2b6c4f2
James McCoolcommited on
Enhance user feedback by displaying initialized player and team data in app.py. Added st.write() to show player tables and removed redundant team data display, improving visibility of loaded data for better understanding and debugging during simulations.
1b9d1b4
James McCoolcommited on
Add display of team data in app.py for improved user feedback
8bbbd72
James McCoolcommited on
Add data display for team and player initialization in app.py
0c8bae5
James McCoolcommited on
Fix game number indexing in player data initialization to correctly reference current game data. This change ensures accurate retrieval of player statistics by adjusting the conditional check for kill predictions, enhancing the integrity of player performance metrics during simulations.
efb946c
James McCoolcommited on
Refactor assist projection calculations in app.py to improve accuracy by scaling based on total kills instead of kill predictions. This change enhances the integrity of player performance metrics in both team and player data initialization functions, ensuring more reliable projections.
4494b9c
James McCoolcommited on
Refactor assist projection calculations in app.py to improve accuracy. Updated the logic for calculating 'Assist_Proj' to scale based on total kills, ensuring projections do not exceed actual performance metrics. This change enhances the integrity of player performance data in both team and player data initialization functions.
c892df5
James McCoolcommited on
Fix game number indexing in player summary generation to correctly reference previous game data. This change ensures accurate retrieval of player statistics by adjusting the conditional check for kill predictions, enhancing the integrity of player summaries during simulations.
f949718
James McCoolcommited on
Fix game number indexing in player summary generation by removing unnecessary conditional checks. This change simplifies the logic for retrieving game data, ensuring accurate player statistics are generated consistently across simulations.
78bf850
James McCoolcommited on
Fix game number indexing in player summary generation to support data type selection. Updated logic to correctly reference game numbers based on the selected data type ("Team" or "Player"), ensuring accurate retrieval of player statistics. This change enhances data integrity and improves the clarity of player summaries during simulations.
ce11442
James McCoolcommited on
Refactor init_team_data and init_player_data functions in app.py to accept game_count as a parameter. This change improves function clarity and ensures consistent handling of game count across team and player data initialization. Updated function calls in the simulation logic to reflect this modification.
34b8899
James McCoolcommited on
Merge branch 'main' of https://huggingface.co/spaces/Multichem-PD/LOL_Matchups_Model
a9ee089
James McCoolcommited on
Refactor assist projection calculations in app.py to ensure they do not exceed total kills. Introduced scaling for assist projections based on raw assist calculations, improving accuracy in player performance metrics. Additionally, added duplicate removal based on 'position' to enhance data integrity in team data initialization.
Update game simulation settings in app.py to allow selection of the number of games (1-5) instead of match format (BO1, BO3, BO5). Adjusted game count extraction logic to reflect the new selection method, improving user experience and clarity in simulation configurations.
5b0cc81
James McCoolcommited on
Update player data query in app.py to support multiple player names. Changed the query to use the "$in" operator for playername, allowing for more flexible data retrieval across multiple players. This enhancement improves the accuracy of game log data retrieval for player statistics.
66deb94
James McCoolcommited on
Enhance player data handling in app.py by introducing a new data type selection feature. Users can now choose between "Team" and "Player" data types, allowing for more flexible data analysis. Updated the player data initialization function to support player-specific statistics, including average performance metrics based on game outcomes. This change improves the overall functionality and user experience of the application.