Enhance Planning Catalog Context Integration in Progression Path
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 43s
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 1m15s
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 43s
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 1m15s
- Updated `PROJECT_STATUS.md` to reflect the addition of the Planning AI Progression Graph and its context in the roadmap. - Enhanced `DOMAIN_MODEL.md` with details on the new `planning_catalog_context` features, allowing trainers to manage curriculum stages and context. - Added tests in `test_planning_catalog_context.py` to validate the separation of LLM highlights from fix hints during QA processes. - Updated `HANDOVER.md` and `PLANNING_KI_ROADMAP.md` to reflect the latest app version and improvements in the planning context. - Enhanced frontend components to support the new planning catalog context, including updates to `ExerciseProgressionPathBuilder` and `ProgressionGraphEditor`. - Bumped version to 0.8.233 to reflect the new features and improvements.
This commit is contained in:
1 parent
6ab2f20f08
commit
f3710ac0a1
11 files changed
+643
-198
No files matched your search
@@ -45,3 +45,34 @@ def test_normalize_planning_roadmap_with_catalog_context():
|
||||
}
|
||||
)
|
||||
assert out["planning_catalog_context"]["focus_areas"][0]["id"] == 4
|
||||
|
||||
|
||||
def test_multistage_qa_splits_llm_highlights_from_fix_hints():
|
||||
from planning_path_qa_pipeline import run_multistage_path_qa
|
||||
|
||||
result = run_multistage_path_qa(
|
||||
off_topic_steps=[],
|
||||
stripped_off_topic=[
|
||||
{
|
||||
"issue": "roadmap_unfilled",
|
||||
"step_index": 1,
|
||||
"reasons": ["Keine passende Übung"],
|
||||
}
|
||||
],
|
||||
gaps=[],
|
||||
llm_qa={
|
||||
"overall_ok": True,
|
||||
"quality_score": 0.88,
|
||||
"recommendations": [
|
||||
"Gute didaktische Progression",
|
||||
"Optional: Vertiefung Koordination",
|
||||
],
|
||||
},
|
||||
llm_applied=True,
|
||||
)
|
||||
hints = result["optimization_hints"]
|
||||
llm_hints = [h for h in hints if h.get("issue") == "llm_recommendation"]
|
||||
fix_hints = [h for h in hints if h.get("issue") != "llm_recommendation"]
|
||||
assert len(llm_hints) >= 2
|
||||
assert any(h.get("issue") == "roadmap_unfilled" for h in fix_hints)
|
||||
assert result["qa_tiers"][2]["recommendations"][0].startswith("Gute didaktische")
|
||||
Reference in new issue
Block a user