Skip to content
Snippets Groups Projects
  1. Mar 27, 2024
    • Florian Schröder's avatar
      Update SSL usage and enhance argument parsing · 843b145f
      Florian Schröder authored
      With this commit, the game now supports SSL connections. In addition, the argument parsing workflow was fundamentally improved to provide a clearer, better-structured usage of command line arguments for different functionalities. It also includes updates to the help documentations - now, each of these functionalities are accessible as subcommands with their own help messages. A minor update was also made to the test suite to reflect these changes.
      843b145f
  2. Mar 26, 2024
    • Florian Schröder's avatar
      Extract argument parser creation into separate file · 27389f93
      Florian Schröder authored
      Moved the creation of argparse.ArgumentParser objects used to parse command line arguments into a separate module, `argument_parser.py`. This includes organizing all the add_argument calls into specific functions within this new module, in order to increase code readability, reusability and organization within the argument parsing codebase. All existing usages have been updated accordingly.
      27389f93
  3. Mar 25, 2024
    • Florian Schröder's avatar
      Handle None client in game connection request · bf70afdc
      Florian Schröder authored
      The update modifies the get_participant_game_connection method in the study server. Now, the method uses "Test" as the default host if the request client is None. This ensures that the functionality will not break when dealing with test or invalid client requests.
      bf70afdc
    • Florian Schröder's avatar
      Add logging for participant connections · 4b7855cc
      Florian Schröder authored
      A logging functionality has been added to record participant connections in the study_server.py. The logs, which include the participant's IP, environment ID, level info, and player info, are stored in the directory specified in the study_config.yaml file. Moreover, the participant's host IP is now provided when retrieving their game connection.
      4b7855cc
    • Fabian Heinrich's avatar
      Seed in study config · 500d043e
      Fabian Heinrich authored
      500d043e
  4. Mar 20, 2024
  5. Mar 13, 2024
  6. Mar 10, 2024
    • Florian Schröder's avatar
      Remove redundant pprint statements in study_server · b3dd5d57
      Florian Schröder authored
      The pprint import and its instances were removed from study_server.py to clean up the code. The change will not affect the functionality, as the pprint statements were only used for debugging and are not necessary for the server's operations.
      b3dd5d57
    • Florian Schröder's avatar
      Remove level specific config and item info files · 080bf359
      Florian Schröder authored
      This commit removes the level specific configuration and item information files for 'level1' and 'level2' under the cooperative_cuisine project. Changes have been made to consolidate the configurations into a single file, which improves the maintainability and organization of the application.
      080bf359
  7. Mar 09, 2024
    • Florian Schröder's avatar
      Refactor docstrings for consistency and update environment name · 2bd77a93
      Florian Schröder authored
      Docstrings across classes and functions in different modules have been adjusted for consistency, specifically in how Return and Raise explanations are formatted. This makes the code more readable and uniform. Additionally, the environment name in 'environment.py' has been updated from "overcooked_sim" to "cooperative_cuisine_1".
      2bd77a93
  8. Mar 08, 2024
    • Florian Schröder's avatar
      Refactor game and study server scripts, update tests, improve error handling · cd3e27da
      Florian Schröder authored
      The refactoring involved creating a new function to handle game server requests for cleaner and more concise code. Changes were also made to the formatting of commit messages for better readability. Invalid game environment configurations are now dealt with accordingly to prevent game errors. Several updates were made to the tests to ensure they accurately measure the performance and functionality of the game.
      cd3e27da
  9. Mar 07, 2024
    • Florian Schröder's avatar
      Add constructor docstrings and type hints in classes · 20006ed9
      Florian Schröder authored
      Added docstrings to constructors of several classes in various modules to improve code readability and maintainability. Also, explicit type hints were provided for the fields in these classes aiding in better understanding of the data types used across the codebase.
      20006ed9
  10. Mar 06, 2024
  11. Mar 05, 2024
  12. Mar 04, 2024
  13. Feb 29, 2024
    • Florian Schröder's avatar
      Update configurations, path handling, and study server logic · 19a9fc30
      Florian Schröder authored
      Made updates across multiple files targeting the usage and setting of configuration files. Several path settings have been altered, and the logic in the study server has been revised. Changes were also made in the file imports and other operations related to configurations and paths. Additionally, a validation check is added to warn if a player with the same name already exists in the environment.
      19a9fc30
  14. Feb 28, 2024
  15. Feb 27, 2024
  16. Feb 23, 2024
Loading