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.
896d108
James McCoolcommited on
Fix game number indexing in player summary generation in app.py. Updated the dictionary key format to correctly reference game numbers, ensuring accurate data retrieval for player statistics. This change improves the integrity of the player summary during simulations.
a6e2b8d
James McCoolcommited on
Refactor player summary generation in app.py to correctly iterate over results_dict using game number keys. Updated player summary aggregation logic to ensure team names and positions are accurately reflected. This change enhances data accuracy and improves the clarity of player statistics during simulations.
e67403e
James McCoolcommited on
Refactor variable naming in app.py for improved clarity. Changed 'game_num' to 'game_count' in the results dictionary iteration to better reflect its purpose. Minor formatting adjustment to remove unnecessary whitespace, enhancing code readability.
14d978b
James McCoolcommited on
Refactor app.py to enhance data presentation and organization. Introduced a new tabbed layout with three tabs: "Overall Data", "Individual Game Data", and "Opponent Data". Improved the display of overall simulations by adding subheaders and individual player tabs for better clarity. Updated the styling for dataframes to maintain a consistent visual theme using the 'RdYlGn' colormap. These changes enhance user experience and readability of simulation results.
dc7066d
James McCoolcommited on
Enhance data presentation in app.py by updating the background gradient styling for player statistics. The new gradient uses the 'RdYlGn' colormap for improved visual clarity, enhancing the user experience when viewing simulation results.
d2f16b0
James McCoolcommited on
Enhance overall simulation data presentation in app.py. Introduced tabbed layout for displaying player statistics (Kills, Deaths, Assists, CS) to improve user experience. Each tab presents a filtered view of the overall simulation DataFrame, enhancing clarity and readability of performance metrics.
7531a91
James McCoolcommited on
Refactor overall simulation DataFrame in app.py. Updated overall_sim_df to drop duplicates based on 'Player' and 'Stat', simplifying data structure and enhancing clarity. Adjusted data presentation by removing background gradient styling for improved readability of simulation results.
da2fe63
James McCoolcommited on
Refactor overall simulation data handling in app.py. Removed the setting of 'Player' as the index in overall_sim_df to simplify data structure. This change enhances the clarity and usability of the simulation results by maintaining a more straightforward DataFrame format.
9c02fea
James McCoolcommited on
Refactor overall simulation data handling in app.py. Updated overall_sim_df to drop duplicate entries based on 'Player', 'Position', and 'Stat', and set 'Player' as the index for improved data organization. Adjusted the placement of the "Individual Game Simulations" subheader for better clarity in the user interface. These changes enhance the readability and usability of simulation results.
7107abb
James McCoolcommited on
Refactor simulation data handling in app.py. Updated variable names for clarity, changing 'sim_results' to 'individual_sim_results' and added 'overall_sim_results' for aggregated player statistics. Enhanced data presentation by introducing subheaders for individual game simulations and overall simulations, improving user experience and data readability. This change streamlines the simulation process and enhances the clarity of displayed results.
11e981b
James McCoolcommited on
Refactor player data handling in init_team_data function of app.py. Updated results_dict assignment to drop NaN values, ensuring cleaner data output for each game iteration. Adjusted playername indexing to maintain clarity in player statistics during simulations. This change enhances the overall quality and usability of the player summary data.
026f31b
James McCoolcommited on
Refactor player summary generation in app.py to utilize results_dict for improved performance metrics aggregation. Updated the init_team_data function to return results_dict instead of player_summary, and added logic to clean player names for better clarity. This change enhances the overall organization of player statistics and streamlines the data handling process during simulations.
f29027b
James McCoolcommited on
Enhance player summary generation in init_team_data function of app.py. Introduced a results dictionary to aggregate player statistics across multiple games, allowing for a comprehensive summary of performance metrics. Updated the return statement to include the new player summary DataFrame, improving the clarity and usability of simulation results for users.
7e17f0f
James McCoolcommited on
Refactor player data handling in init_team_data function of app.py. Changed variable name from 'player_tables' to 'working_tables' for clarity, and updated the assignment of player statistics to improve readability. Enhanced the 'playername' formatting to include a space before the game iteration number, ensuring better presentation of player data during simulations.