Some checks failed
Test Suite / playwright-tests (push) Waiting to run
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 41s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Has been cancelled
- Added support for section guidance notes and titles in the planning target profile, enabling richer context for exercise suggestions. - Introduced deterministic text-to-catalog signal mapping, allowing for improved integration of planning text signals into the exercise retrieval process. - Implemented a partner-related filter in exercise retrieval, enhancing the relevance of suggested exercises based on user intent. - Updated the retrieval phase to account for text signals, improving the accuracy of exercise recommendations. - Incremented version to 0.8.181 and updated changelog to reflect these significant enhancements in planning AI capabilities.
8 lines
346 B
Python
8 lines
346 B
Python
"""Tests Partner-Filter im Planungs-Retrieval."""
|
|
from planning_exercise_retrieval import _exercise_looks_partner_related
|
|
|
|
|
|
def test_exercise_partner_heuristic():
|
|
assert _exercise_looks_partner_related({"title": "Partner-Fangspiel", "summary": ""})
|
|
assert not _exercise_looks_partner_related({"title": "Kihon Solo", "summary": "Allein"})
|