Kasper Marinus 3b7aeafe5e fix: correct belief management
There was an issue in how we treated beliefs, specifically with multiple beliefs of the same name but different arguments. This is fixed with this commit.

Also implemented correct updating of the "responded" belief, when the user_said belief is updated (when we get a new user message, we state that we have not yet responded to that message)

ref: N25B-197
2025-10-29 11:23:56 +01:00
2025-10-17 14:35:55 +00:00
2025-10-29 11:23:56 +01:00
2025-10-18 13:48:15 +02:00
2025-10-22 14:05:45 +02:00
2025-10-27 15:10:31 +01:00
2025-10-27 15:10:31 +01:00
2025-10-27 15:10:31 +01:00

Development environment

We begin by installing UV (very nice utility for managing packages and Python version):

# On MacOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Using UV, installing the packages and virtual environment is as simple as typing the following (inside the root directory of this repository):

uv sync

Running

To run the project (development server), execute the following command (while inside the root repository):

uv run fastapi dev src/control_backend/main.py

Testing

Testing happens automatically when opening a merge request to any branch. If you want to manually run the test suite, you can do so by running the following:

uv run --only-group test pytest

GitHooks

To activate automatic commits/branch name checks run:

git config --local core.hooksPath .githooks

If your commit fails its either: branch name != /description-of-branch , commit name != : description of the commit. : N25B-Num's

To add automatic linting and formatting, run:

uv run pre-commit install
Description
No description provided
Readme 3.7 MiB
Languages
Python 98.5%
Shell 1.3%
ASL 0.2%