- Sep 16, 2024
-
-
Christoph Kowalski authored
-
- Jul 31, 2024
-
-
Christoph Kowalski authored
-
- Jul 30, 2024
-
-
Florian Schröder authored
Removed unnecessary debug print statements from environment and orders modules. Refined test cases in test_order_manager.py to add clarity and coverage without redundant checks.
-
- Jul 27, 2024
-
-
Florian Schröder authored
Rearranged the plate configuration setup in `environment.py` and centralized its initialization. Added logging functionality to `validation.py` for better debugging and issue tracking.
-
- Jul 25, 2024
-
-
Christoph Kowalski authored
Fixed a bug with the training configs.
-
- Jul 19, 2024
-
-
Christoph Kowalski authored
-
- Jun 28, 2024
-
-
Christoph Kowalski authored
Adapted config files to have one study with deterministic order and one with random order. In the argument_parser.py there is one argument to switch between both variants. Inserted a Study Config paragraph in the readme about that.
-
- Jun 25, 2024
-
-
Christoph Kowalski authored
Adapted Deterministic OrderGeneration to use the **kwargs. Additionally, changed the indexing of the loop. The problem with the config is still existing even after reinstall the enironment
-
- Jun 18, 2024
-
-
Christoph Kowalski authored
Addedd a DeterministicOrderGeneration. Within the config you can now specify a list of meals, their start time and their duration and then the orders will be always given at the same time with the same duration. This is beneficial for studies.
-
- Apr 23, 2024
-
-
Fabian Heinrich authored
Updated Args in docstrings.
-
- Apr 12, 2024
-
-
Florian Schröder authored
This commit changes all the URLs across the project, switching from the 'overcooked-simulator' slug to 'cooperative-cuisine'. All files were affected, specifically ones including metadata, documentation links, and setup configurations.
-
- Apr 08, 2024
-
-
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.
-
- Apr 04, 2024
-
-
Fabian Heinrich authored
-
- Apr 03, 2024
-
-
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.
-
- Mar 27, 2024
-
-
Fabian Heinrich authored
-
- Mar 25, 2024
-
-
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.
-
- Mar 13, 2024
-
-
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.
-
- Mar 10, 2024
-
-
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.
-
- Mar 09, 2024
-
-
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.
-
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.
-
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".
-
- Mar 08, 2024
-
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 07, 2024
-
-
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.
-
Fabian Heinrich authored
-
Florian Schröder authored
The classes across several files have been modified to improve clarity, provide better comments, and refine attribute representations. This commit involves refactoring the item, effect, and player classes to include more detailed descriptions and user-friendly outputs. The change also simplifies some methods and eliminates redundancies for cleaner and more efficient code.
-
- Mar 06, 2024
-
-
Fabian Heinrich authored
-
- Mar 05, 2024
-
-
Fabian Heinrich authored
-
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.
-
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.
-
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.
-
Fabian Heinrich authored
-
- Mar 04, 2024
-
-
Fabian Heinrich authored
-
Florian Schröder authored
The updates address issues with empty meal lists during order creation. When no meals are available, no orders will be created, returning empty lists instead. Furthermore, the mandatory meal assertion in the environment's validate_environment method has been commented out. The meal list in the level1 config has been updated to only include 'Burger'.
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Mar 03, 2024
-
-
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.
-
Florian Schröder authored
-
- Mar 01, 2024
-
-
- Feb 29, 2024
-
-
Florian Schröder authored
The module 'game_items' was renamed to 'items'. Every reference to this module across different source code files was consequently updated to reflect this change.
-