Skip to content
Snippets Groups Projects
  1. Feb 29, 2024
    • Florian Schröder's avatar
      Add Movement class for handling player and counter interactions · ef72806c
      Florian Schröder authored
      This commit introduces a new Movement class which handles player movements, collisions, and interactions with counters in the 'cooperative_cuisine' environment. The commit also includes necessary changes to related configurations and adjustments in the 'environment.py' and 'player.py' files to accommodate the introduction of this new class. This encapsulation enhances readability, promotes code organization, and adheres to the principle of Single Responsibility.
      ef72806c
    • Florian Schröder's avatar
      Update test suite and add coverage configuration · 2aca985b
      Florian Schröder authored
      Extended the test suite by adding new test cases and a new test file for dispensers and serving windows. The CI/CD pipeline was updated to include a coverage configuration file (.coveragerc), ensuring lines not relevant to coverage are excluded. Additionally, minor changes were made to the basic.layout file.
      2aca985b
    • Florian Schröder's avatar
      Update README.md · b0c48b37
      Florian Schröder authored
      b0c48b37
    • Florian Schröder's avatar
      Merge branch '65-more-test-coverage' into 'main' · bb27ed32
      Florian Schröder authored
      Resolve "More test coverage"
      
      Closes #65
      
      See merge request scs/cocosy/overcooked-simulator!31
      bb27ed32
    • Florian Schröder's avatar
      Update coverage badges text in README · 15f1a88f
      Florian Schröder authored
      The labels for the main and development test coverage badges in the README file have been updated. They now specifically say "Main Test Coverage" and "Dev Test Coverage" to provide clearer information about what they represent.
      15f1a88f
    • Florian Schröder's avatar
      Remove links from coverage report badges · 6c02238e
      Florian Schröder authored
      The links from the coverage report badges in the README.md file have been removed. This means the badges are now only displayed as images, but will no longer lead to detailed reports when clicked on.
      6c02238e
    • Florian Schröder's avatar
      Center align images and badges in README · 0554b4a8
      Florian Schröder authored
      The images and badges in the README file have been aligned to the center for aesthetic improvement. Additionally, the width parameters of a couple of badges have been adjusted to fit them perfectly within the newly center-aligned format. A "work in progress" note has also been removed.
      0554b4a8
    • Florian Schröder's avatar
      Adjust key width in README badge links · 37fca0ff
      Florian Schröder authored
      The key width for the Main Pipeline, Main Coverage, and Dev Coverage badge links in the README.md file have been slightly increased. This ensures that the badge text is fully visible and without overlapping adjacent badges or text.
      37fca0ff
    • Florian Schröder's avatar
      Update key width in badge URLs · b5e9bd28
      Florian Schröder authored
      The key width value in the badge URLs was decreased from 130 to 80, resulting in a cleaner presentation of the project README file. The update affects both the main and dev pipelines and coverage report badges.
      b5e9bd28
    • Florian Schröder's avatar
      Update README badges with links · 1b21203c
      Florian Schröder authored
      The commit changes the README file by updating the pipeline and coverage badges. It adds direct links to the main and dev commit history on these badges, improving navigation and making it easier to access the corresponding information.
      1b21203c
    • Florian Schröder's avatar
      Update README badges · 998b328d
      Florian Schröder authored
      The pipeline and coverage badges in the README file have been updated for better clarity. Instead of a single badge for every branch, there are now separate badges for the main and development branches.
      998b328d
    • Florian Schröder's avatar
      Update pytest command in GitLab CI configuration · ec78240d
      Florian Schröder authored
      The pytest command in `.gitlab-ci.yml` file has been updated to include also `term-missing` coverage report and junit report. This configuration outputs which lines were not hit by testing and produces the report in xml format suitable for integration with CI systems.
      ec78240d
    • Florian Schröder's avatar
      Update coverage pattern in .gitlab-ci.yml · dba65271
      Florian Schröder authored
      The commit modifies the regular expression used for coverage reporting in .gitlab-ci.yml. The change ensures correct mapping and accurate percentage capture by controlling the starting point of the coverage line match.
      dba65271
    • Florian Schröder's avatar
      Update regex for coverage report in GitLab CI · ebda2328
      Florian Schröder authored
      The regular expression used to extract the coverage percentage from the coverage report was updated. Due to modified output format of pytest, the regex pattern was not working correctly. It has been changed to ensure accurate extraction.
      ebda2328
    • Florian Schröder's avatar
      Fix regex pattern in .gitlab-ci.yml · 6081f743
      Florian Schröder authored
      The regular expression pattern for the coverage line in the .gitlab-ci.yml file was not properly formatted. It was causing issues in the CI pipeline as it couldn't correctly parse the coverage percentage. This commit wraps the expression in single quotes to correct this issue.
      6081f743
    • Florian Schröder's avatar
      Update coverage pattern in .gitlab-ci.yml file · 093a9b76
      Florian Schröder authored
      The coverage pattern has been updated in the .gitlab-ci.yml file. The change made was to remove the special wildcard characters from the start of the regex pattern. This modification improves pattern recognition for the coverage report.
      093a9b76
    • Florian Schröder's avatar
      .pytest configuration and fix README typo · 6ba547f2
      Florian Schröder authored
      The .gitlab-ci.yml file was updated to change the coverage regex and remove the specific branches that the pytest stage runs on. In the README file, a typo in the coverage badge URL was corrected.
      6ba547f2
    • Florian Schröder's avatar
      Update .gitlab-ci.yml and README.md · 644927ae
      Florian Schröder authored
      The .gitlab-ci.yml file is modified to limit pytest to only 'main' and '65-more-test-coverage' branches. In the README.md, the pipeline and coverage badge URLs have been updated to dynamically reflect the current branch.
      644927ae
    • Florian Schröder's avatar
      Remove test_requirements from setup.py · 8adfb8e9
      Florian Schröder authored
      The setup file has been updated to remove the 'tests_require' attribute. Instead, 'test_requirements' has been added under 'extras_require'. This change allows the flexible installation of test requirements.
      8adfb8e9
    • Florian Schröder's avatar
      Update coverage report path in CI configuration · 153b764d
      Florian Schröder authored
      In the file .gitlab-ci.yml, the path to the coverage report file has been updated. It has been changed from `cooperative_cuisine/coverage.xml` to `coverage.xml`, adjusting the directory where the report file is located.
      153b764d
    • Florian Schröder's avatar
      Refactor pip installation commands in GitLab CI · 50d94284
      Florian Schröder authored
      The two pip installation commands in the .gitlab-ci.yml script have been combined into a single command. This change simplifies the script and ensures all necessary packages, including pytest, are installed correctly for the test environment.
      50d94284
    • Florian Schröder's avatar
      Update coverage path and badge URLs · 3c4a4349
      Florian Schröder authored
      The coverage path in .gitlab-ci.yml has been updated to point to the correct directory within the project structure. Additionally, the badge URLs in the README.md file have been corrected to display the proper pipeline and coverage status for this project.
      3c4a4349
    • Florian Schröder's avatar
      Update pytest command in GitLab CI configuration · 0e7746e9
      Florian Schröder authored
      The pytest command in the .gitlab-ci.yml file has been updated to remove redundant output. Previously, the command specified both `term` and `xml:coverage.xml` for `--cov-report`, but now it only includes `xml:coverage.xml` to simplify the report generation.
      0e7746e9
    • Florian Schröder's avatar
      Update pytest and coverage commands in GitLab CI · 4920a85a
      Florian Schröder authored
      The pytest command in the GitLab CI configuration has been updated to also generate a coverage report. Additionally, the coverage reporting syntax has been altered to specifically target the Cobertura coverage format and specify the path for the coverage.xml file.
      4920a85a
    • Florian Schröder's avatar
      Update GitLab CI configuration and README · 5bf35d63
      Florian Schröder authored
      Removed the coverage line from the .gitlab-ci.yml file. Also, badges for the pipeline status and coverage were added to the README file. The changes improve the information available at a glance on the project's README.
      5bf35d63
    • Florian Schröder's avatar
      Update testing procedures and dependencies · 2eafc355
      Florian Schröder authored
      Changed the testing script in .gitlab-ci.yml to use Pytest's coverage feature instead of the standalone Coverage tool. Also, updated the test_requirements in setup.py to include pytest-cov, eliminating the need for separate coverage version.
      2eafc355
    • Florian Schröder's avatar
      Implement coverage measurement for tests · 035b2a6d
      Florian Schröder authored
      The pytest command in .gitlab-ci.yml has been updated to include code coverage measurements. The "coverage" Python package was added in setup.py under test requirements. Also, small updates were made in tests to reflect changes in the module imports and object comparisons.
      035b2a6d
    • Florian Schröder's avatar
    • Florian Schröder's avatar
      Merge branch '100-player-id-in-hooks-and-in-all-relevant-methods' into 'main' · d6cc42d7
      Florian Schröder authored
      Resolve "player id in hooks and in all relevant methods"
      
      Closes #100
      
      See merge request scs/cocosy/overcooked-simulator!69
      d6cc42d7
  2. Feb 28, 2024
    • Florian Schröder's avatar
      Update meal configurations and add player context to counters · e60d58b0
      Florian Schröder authored
      Meal configurations in the level 1 configuration file are updated, swapping out the previous meals with new ones. Player name has been added as a parameter to the pick_up and drop_off methods in player.py and counters.py. This allows for better tracking of the actions of individual players, which can be useful in cooperative environments where player accountability is imperative. Additionally, served meals now also log the serving player's name, providing additional context during gameplay and post-game analysis.
      e60d58b0
    • Florian Schröder's avatar
      Update README.md and __init__.py with new server instructions and data descriptions · 10291784
      Florian Schröder authored
      Updated instructions on how to start the game and study servers, and run PyGame GUI individually. Now, these can be initiated with specific arguments. Enhanced the data descriptions by adding additional documentation for Study Config and for generating images/videos from recordings. Also, revised the base models and TypedDicts within state representation.
      10291784
    • Florian Schröder's avatar
      Merge branch '71-file-dir-renaming-2' into 'main' · 5cbbe589
      Florian Schröder authored
      Resolve "File, dir renaming"
      
      Closes #71
      
      See merge request scs/cocosy/overcooked-simulator!67
      5cbbe589
    • Florian Schröder's avatar
      Update directory name in installation instructions · 04ac8523
      Florian Schröder authored
      The installation instructions in README.md and __init__.py have been updated to reflect the change in directory name from 'cooperative_cuisine' to 'overcooked-simulator'. This update ensures the correct directory is specified for the 'cd' command post cloning of the repository.
      04ac8523
    • Florian Schröder's avatar
      Update project title in README · 7e1a0ec1
      Florian Schröder authored
      The project title in the README.md file was incorrect. This commit updates it from "Cooperative Cuisine Simulator" to the correct title, "Cooperative Cuisine Environment".
      7e1a0ec1
    • Florian Schröder's avatar
      Update capitalization in README title · 8cac7eb6
      Florian Schröder authored
      The README title has been adjusted to use proper title case. "cooperative_cuisine Simulator" has been corrected to "Cooperative Cuisine Simulator" for better readability and consistency with standard title formatting.
      8cac7eb6
    • Florian Schröder's avatar
      Update package name in installation instructions · 0e80094e
      Florian Schröder authored
      The package name 'overcooked-environment' mentioned in the installation instructions has been updated to 'cooperative_cuisine'. This change has been reflected in both the README.md and __init__.py files to ensure that users install the correct package named 'cooperative_cuisine' from the given repository.
      0e80094e
    • Florian Schröder's avatar
      Update references from Overcooked to Cooperative Cuisine · 71900e2a
      Florian Schröder authored
      This commit updates all references from Overcooked Simulator to Cooperative Cuisine across various titles, descriptions, URL and documentation in the code. Also added an undo dispenser pickup option to level configuration files and changed default server URL to localhost.
      71900e2a
    • Florian Schröder's avatar
      Rename 'order.py' to 'orders.py' and update references · aaba92f5
      Florian Schröder authored
      The 'order.py' module has been renamed to 'orders.py' for consistency and clarity. All references to this file within the code base, including import statements and comments, have been updated to reflect this change. A safer and more coherent codebase enhances readability and maintainability.
      aaba92f5
    • Florian Schröder's avatar
      Move game content configurations to "configs" directory · 87d43f82
      Florian Schröder authored
      All configurations, scripts, and yaml files previously held in "game_content" are now placed in the "configs" directory for logical organization and better visibility. All references within the code that previously pointed to "game_content" have been updated to reflect the new "configs" path.
      87d43f82
    • Florian Schröder's avatar
      Update import statements in documentation · 7f8f3d02
      Florian Schröder authored
      The import statements in the README and __init__.py needed adjustments due to renaming of 'overcooked_environment' to 'environment'. This commit updates the relevant parts in the documentation to prevent any confusion for users of the 'cooperative_cuisine' package.
      7f8f3d02
Loading