48c9746417
style: apply ruff check and format
...
Made sure all ruff checks pass and formatted all files.
ref: N25B-224
2025-11-02 19:45:01 +01:00
Twirre Meulenbelt
a00d7c25db
test: I was forced to do this
...
ref: all
2025-10-29 16:49:00 +01:00
Twirre Meulenbelt
246b2b7ddf
test: I was forced to do this
...
ref: all
2025-10-29 16:47:47 +01:00
Twirre Meulenbelt
696e91a9d3
Merge remote-tracking branch 'origin/dev' into feat/transcription-agent
...
# Conflicts:
# src/control_backend/core/config.py
2025-10-29 15:40:19 +01:00
Pim Hutting
3f7ec071b2
Merge remote-tracking branch 'origin/dev' into feat/belief-collector
2025-10-29 15:14:42 +01:00
Twirre Meulenbelt
155c761daa
Merge remote-tracking branch 'origin/dev' into feat/transcription-agent
...
# Conflicts:
# src/control_backend/core/config.py
2025-10-29 14:00:57 +01:00
814a928ae4
Merge remote-tracking branch 'origin/dev' into fix/bdi-correct-belief-management
2025-10-29 13:25:58 +01:00
Twirre Meulenbelt
bec3e57658
feat: limit transcription output length based on input
...
Using heuristics. Also adds documentation and initial unit tests.
ref: N25B-209
2025-10-29 12:49:24 +01:00
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
Pim Hutting
baeef6142d
fix: beliefs now adhere to expected format
...
[
-before user_said belief was a list of lists of strings, now it's a list of strings
]
[ref]: N25B-206
2025-10-29 11:20:20 +01:00
Pim Hutting
f8dee6d878
test: added tests
...
[
See test_continuous_collect.py
]
[ref]: N25B-206
2025-10-29 09:58:56 +01:00
Twirre Meulenbelt
f73f510608
fix: make VAD unit tests work with minimal dependencies
...
By mocking PyTorch and ZMQ and adding the Numpy dependency.
ref: N25B-213
2025-10-28 18:13:00 +01:00
Pim Hutting
2efce93a37
fix: made beliefs a dict of lists
...
[
Before it was a list of a dict of lists of lists of strings
now it is a dict of lists of lists of strings as prescribed by architecture (knowledge base)
*also added some tests, but will have to add some more
]
[ref]: N25B-206
2025-10-28 14:17:07 +01:00
Twirre Meulenbelt
833dd6c9d4
feat: allow no audio input while robot is speaking
...
The VAD agent will discard its current buffer and retry receiving data.
ref: N25B-213
2025-10-28 10:58:28 +01:00
Twirre Meulenbelt
a44df4781b
Merge remote-tracking branch 'origin/dev' into feat/vad-agent
...
# Conflicts:
# pyproject.toml
# src/control_backend/main.py
# uv.lock
2025-10-28 10:44:03 +01:00
4859c3ac04
style: fix style
2025-10-27 15:10:31 +01:00
Twirre Meulenbelt
d47074d091
test: complete VAD unit and integration tests
...
Including an integration test with real voice audio.
ref: N25B-213
2025-10-23 21:17:41 +02:00
Twirre Meulenbelt
ca5e59d029
test: add first unit test for VAD agent
...
Mocking audio input probabilities, checking whether it publishes audio data on the output socket.
ref: N25B-213
2025-10-23 17:40:47 +02:00
a01b3c3b14
fix: mock correct libraries before tests
2025-10-22 15:21:15 +02:00
675320a051
chore: remove test_tempy.py
2025-10-22 14:54:01 +02:00
e057cf3003
test: add unit tests to BeliefCollector
...
ref: N25B-197
2025-10-22 14:51:20 +02:00
2069ac1a93
feat: automatic testing
...
This commit adds a .gitlab-ci.yml file, which is responsible for
defining jobs to be run (in this case only running the test suite)
ref: N25B-65
2025-10-22 14:05:45 +02:00