Skip to content
Snippets Groups Projects
  1. Mar 25, 2024
    • Florian Schröder's avatar
      Add 'game_ended_step' to config files · ed8a0ad8
      Florian Schröder authored
      The 'game_ended_step' has been added to both 'environment_config_no_validation.yaml' and 'environment_config.yaml' files. This state will trigger at the end of each game, and now it'll be recognized by the system.
      ed8a0ad8
    • 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
    • Fabian Heinrich's avatar
      Seed in study config · 500d043e
      Fabian Heinrich authored
      500d043e
  2. Mar 20, 2024
  3. Mar 19, 2024
  4. Mar 18, 2024
  5. Mar 15, 2024
  6. 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
    • Fabian Heinrich's avatar
      3fc8e4e2
  7. Mar 11, 2024
  8. Mar 10, 2024
    • 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
    • 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
  9. 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
  10. Mar 08, 2024
  11. Mar 07, 2024
  12. Mar 06, 2024
  13. Mar 05, 2024
    • 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
    • Florian Schröder's avatar
      Update CI script and game configurations · f536d40e
      Florian Schröder authored
      Changed the pdoc execution command in the .gitlab-ci.yml to fix the link in the footer text. Adjustments were also made to the layout of the game in the basic.layout and __init__.py files, along with the game, player, and effect configurations. The player speed was reduced, the ability to undo dispenser pickup was added, and the effect
      f536d40e
    • Fabian Heinrich's avatar
      Cleaned up HTTPErrors · f0a7150f
      Fabian Heinrich authored
      f0a7150f
Loading