Skip to content
Snippets Groups Projects
  1. Mar 27, 2024
  2. Mar 10, 2024
    • Florian Schröder's avatar
      Update comparisons and variable types, add tests · 14a081cc
      Florian Schröder authored
      This commit modifies comparison operators for timers to be less than or equal in various scripts. It also changes variable types explicitly in scores.py and adds several new tests for functionalities like effects, scores, information messages, trashing function etc. Additional updates include changes in values for certain default arguments in command line parser for generating images in the script for 2D visualization.
      14a081cc
    • 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
  3. 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
  4. Mar 05, 2024
    • Florian Schröder's avatar
      Add docstrings and minor adjustments to cooperative_cuisine · 5a9b4874
      Florian Schröder authored
      This commit adds detailed docstrings for various methods and classes in the 'cooperative_cuisine' module for enhanced code understanding. Also includes minor changes to the .gitlab-ci.yml and pygame_2d_vis/__init__.py files and adds an image in the docs markdown file. Code readability and maintainability improved with these changes.
      5a9b4874
  5. Feb 28, 2024
    • Florian Schröder's avatar
      Rename project from overcooked_simulator to cooperative_cuisine · 242c9860
      Florian Schröder authored
      All instances of 'overcooked_simulator' have been replaced with 'cooperative_cuisine'. This includes changes in file paths, imports, and script names. The necessary adjustments to reflect this rename have also been made in the documentation, setup files, test scripts, and CI/CD configuration.
      242c9860
    • Florian Schröder's avatar
      Add comprehensive in-line documentation for Overcooked simulator · ba95e751
      Florian Schröder authored
      This commit introduces thorough in-line documentation for different modules in the Overcooked simulator's code. This includes adding descriptions for classes, methods, and attributes across multiple files like recording.py, info_msg.py, hooks.py, effect_manager.py, etc. Additionally, explanations and examples of hooks have been provided where relevant. The overall readability and maintainability of the code is expected to improve with this change.
      ba95e751
  6. Feb 08, 2024
    • Florian Schröder's avatar
      Refactor scoring system and order management · 3c1fda71
      Florian Schröder authored
      The scoring system and order management have been significantly updated. The score calculation has been moved out from 'OrderManager' to external 'ScoreViaHooks' class which works via hooks. The order management updates include separating scoring from orders and removing unused functions. Changes in the configuration file and other related files updated to accommodate these modifications.
      3c1fda71
Loading