Skip to content
Snippets Groups Projects
  1. Sep 16, 2024
  2. Jul 31, 2024
  3. Jul 30, 2024
  4. Jul 27, 2024
  5. Jul 25, 2024
  6. Jul 19, 2024
  7. Jun 28, 2024
  8. Jun 25, 2024
  9. Jun 18, 2024
  10. Apr 23, 2024
  11. Apr 12, 2024
  12. Apr 08, 2024
    • Florian Schröder's avatar
      Update random parameter in OrderManager initialization · 182a4708
      Florian Schröder authored
      The random parameter in OrderManager's initialization process under cooperative_cuisine/environment.py has been updated. Instead of using an existing random instance, a new one is now created using a specified seed. This allows for more controlled randomness within the system operation.
      182a4708
  13. Apr 04, 2024
  14. Apr 03, 2024
    • Florian Schröder's avatar
      Add type hints and docstrings across multiple modules · 5c100dd0
      Florian Schröder authored
      Added type hints and docstrings throughout the project, notably in the effects, orders, study server, and game server modules. These additions provide better understanding and ease in navigating through the codebase. Minor code reorganization and syntax optimization were also performed.
      5c100dd0
  15. Mar 27, 2024
  16. Mar 25, 2024
    • Florian Schröder's avatar
      Add additional state update hook and functionality · 9e993a13
      Florian Schröder authored
      The code now contains a new hook named "additional_state_update" and accommodates accepting additional state content. This functionality is used to better manage player readiness states in the game_server module and includes updates to the get_state and get_json_state methods in the environment module. New changes also impact the environment configuration files.
      9e993a13
  17. Mar 13, 2024
    • Florian Schröder's avatar
      Update methods and hooks in cooperative_cuisine · 4aecc23e
      Florian Schröder authored
      The main changes include enhancing methods in cooperative_cuisine/hooks.py, cooperative_cuisine/counters.py, and cooperative_cuisine/environment.py, and updating hooks. These changes greatly improve the handling of hooks and calls, provide explicit arguments for actions, and add more comprehensive documentation. This leads to better logging and debugging, higher code readability, and improved overall code structure in the cooperative_cuisine backend.
      4aecc23e
  18. Mar 10, 2024
    • Florian Schröder's avatar
      Refactor recorder and hooks setup in config files · 6a671b9e
      Florian Schröder authored
      This commit refactors the setup of recorders and hooks in several configuration files. It simplifies the YAML structure, renames "extra_setup_functions" to "hook_callbacks", and replaces "log_path" with "record_path". This makes the configurations cleaner and more intuitive. The update also removes the "func" and "kwargs" in the extra setup functions. Now only hooks are registered. This change should not affect functionality, because until now only hooks were registered as extra setup functions.
      6a671b9e
  19. Mar 09, 2024
    • Florian Schröder's avatar
      Add and optimize type hints, refactor functions, improve readability · 0ddb9e04
      Florian Schröder authored
      Various changes have been made in the codebase to improve readability and maintainability. Type hints have been added to the functions and variables for better understanding of the datatypes. Refactoring of some code segments has also been done to make the code more concise and readable. The 'EffectType', 'ItemType' enumerations have been enriched with docstrings for better understanding of the enums. Certain classes have been updated to better follow the single responsibility principle.
      0ddb9e04
    • Florian Schröder's avatar
      Refactor 'player_config' usage and improve typing in 'cooperative_cuisine' · 95500cc8
      Florian Schröder authored
      The 'player_config' dictionary is replaced with the PlayerConfig class to provide type-checking and improve readability. This change is applied across different files in the 'cooperative_cuisine' module. Additionally, this commit improves type hints for several variables and parameters to assist with code interpretation and potential error prevention.
      95500cc8
    • 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
  20. Mar 08, 2024
  21. Mar 07, 2024
  22. Mar 06, 2024
  23. Mar 05, 2024
    • Fabian Heinrich's avatar
      More docstrings · 513c5fdb
      Fabian Heinrich authored
      513c5fdb
    • Florian Schröder's avatar
      Remove unused variable and add docstrings in environment.py · 2e5ef1e2
      Florian Schröder authored
      The PAUSED variable, which was unused, has been removed from the codebase to improve readability. Docstrings were added to multiple existing methods and instance variables in the environment.py file for better understanding of their functionalities. This change will make it easier for developers to understand the purpose and usage of the various methods and variables, ultimately smoothing the development process.
      2e5ef1e2
    • Florian Schröder's avatar
      Update PUT action to PICK_UP_DROP · 7c31d0ac
      Florian Schröder authored
      The ActionType.PUT has been replaced with ActionType.PICK_UP_DROP across all instances in the codebase. This change aligns the action name with its actual function, making the action more intuitive and the code easier to understand. This update also includes minor modifications in comments and function arguments to reflect the new action name.
      7c31d0ac
    • Florian Schröder's avatar
      Update code comments and typespecs across modules · bef24476
      Florian Schröder authored
      Enhanced overall code clarity by adding and revising detailed comments, docstrings, and typespecs in various Python modules. Significant changes include refining functionality of effect management in 'effects.py', modifications to use of 'numpy' arrays and functions in 'movement.py', as well as adjustments to handling hooks. Additionally, minor updates in 'configs/study/level1/level1_config.yaml' and 'counter_factory.py' were made.
      bef24476
    • Fabian Heinrich's avatar
      Cleaned up HTTPErrors · f0a7150f
      Fabian Heinrich authored
      f0a7150f
  24. Mar 04, 2024
  25. Mar 03, 2024
    • Florian Schröder's avatar
      Refactor recipe validation and improve graph generation · 8721e435
      Florian Schröder authored
      The 'recipes.py' module is renamed to 'validation.py' and the 'RecipeValidation' class is renamed to 'Validation'. The code is refactored to use f-strings for better readability. Graph generation has also been improved by simplifying the way edges are added and returning information as a dictionary. An unnecessary png file generation has been removed. Changes have been made where these classes are imported and used.
      8721e435
    • Florian Schröder's avatar
      Fix merge · a737c646
      Florian Schröder authored
      a737c646
  26. Mar 01, 2024
  27. Feb 29, 2024
Loading