Enhance Gap Fill Goal Text and Skill Expectations Integration
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 48s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m22s
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 48s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m22s
- Updated `build_gap_fill_goal_text` to include expected skills in the generated text, improving clarity for users. - Enhanced `_roadmap_gap_snapshot_for_spec` to incorporate skill expectations from the progression stage, enriching the roadmap context. - Modified `_annotate_roadmap_step` to append skill expectations to the step reasons, providing additional insights. - Updated tests to verify the inclusion of expected skills in the gap fill goal text. - Incremented application version to 0.8.215 to reflect these changes.
This commit is contained in:
1 parent
0adf20c9e1
commit
1e7941f57b
7 files changed
+593
-5
No files matched your search
@@ -119,6 +119,23 @@ def test_build_gap_fill_goal_text_includes_roadmap_snapshot():
|
||||
assert "timing" in text
|
||||
|
||||
|
||||
def test_build_gap_fill_goal_text_includes_expected_skills():
|
||||
brief = build_semantic_brief("Kumite Beinarbeit")
|
||||
text = build_gap_fill_goal_text(
|
||||
goal_query="Kumite Beinarbeit",
|
||||
brief=brief,
|
||||
spec={"phase": "vertiefung", "title_hint": "Rhythmen"},
|
||||
roadmap_snapshot={
|
||||
"expected_skills": [
|
||||
{"skill_name": "Timing", "weight": 0.9},
|
||||
{"skill_name": "Distanz", "weight": 0.8},
|
||||
],
|
||||
},
|
||||
)
|
||||
assert "Erwartete Fähigkeiten" in text
|
||||
assert "Timing" in text
|
||||
|
||||
|
||||
def test_build_gap_fill_offer_exposes_context_preview():
|
||||
brief = build_semantic_brief("Kumite Beinarbeit")
|
||||
offer = build_gap_fill_offer(
|
||||
|
||||
Reference in new issue
Block a user