Implement Stage Learning Goal Features in Planning Exercise
Deploy Development / deploy (push) Successful in 42s
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 1m13s
Deploy Development / deploy (push) Successful in 42s
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 1m13s
- Added `semantic_brief_for_stage` function to enhance semantic briefs with stage learning goals for improved roadmap matching. - Introduced `exercise_passes_stage_learning_goal_gate` to validate exercises against stage learning goals, enhancing relevance checks. - Updated path retrieval and scoring logic to incorporate stage learning goals, allowing for more nuanced exercise selection. - Enhanced UI to indicate weak matches with stage learning goals, improving user feedback on exercise relevance. - Incremented application version to reflect these updates.
This commit is contained in:
1 parent
48d51c07c5
commit
18547613ea
8 files changed
+339
-44
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Progressionsgraph — KI-Planung (Ist-Stand)
|
||||
|
||||
**Stand:** 2026-05-22 (Dokumentation) · **App-Version:** **0.8.217** · **DB:** Migration **088**
|
||||
**Stand:** 2026-05-22 (Dokumentation) · **App-Version:** **0.8.218** · **DB:** Migration **088**
|
||||
**Maßgeblich für Code:** `backend/version.py` (`APP_VERSION`, `DB_SCHEMA_VERSION`)
|
||||
|
||||
> **Diese Datei ist die zentrale Referenz** für die KI-gestützte Planung im Progressionsgraph.
|
||||
@@ -157,7 +157,21 @@ flowchart TB
|
||||
|
||||
---
|
||||
|
||||
## 5. Rolle des bestehenden Graphs
|
||||
## 5. Roadmap-Match — Stufen-Qualität (0.8.218)
|
||||
|
||||
Pro Major Step gilt:
|
||||
|
||||
1. **Stufen-Brief** — `semantic_brief_for_stage()` ergänzt `must_phrases` um das Stufen-Lernziel.
|
||||
2. **Stufen-Gate** — `exercise_passes_stage_learning_goal_gate()` prüft Lernziel-Text in Titel/Summary/Ziel oder Mindest-`semantic_score`.
|
||||
3. **Kein Fallback** — Bei `roadmap_first` wird **nicht** auf die globale `goal_query` zurückgefallen; passt keine Übung → **Lücke** (`roadmap_unfilled`) statt themenfremder Übung.
|
||||
4. **Retrieval** — Bonus/Strafe im Hybrid-Score je nach Stufen-Passung.
|
||||
5. **QS** — `detect_off_topic_steps` erkennt `stage_mismatch` anhand `roadmap_learning_goal`.
|
||||
|
||||
Tests: `test_planning_roadmap_stage_match.py`
|
||||
|
||||
---
|
||||
|
||||
## 6. Rolle des bestehenden Graphs
|
||||
|
||||
**Wichtig — häufiges Missverständnis:**
|
||||
|
||||
@@ -174,7 +188,7 @@ Code: `planning_exercise_progression.py` → `apply_progression_context_to_pack`
|
||||
|
||||
---
|
||||
|
||||
## 6. Persistenz
|
||||
## 7. Persistenz
|
||||
|
||||
### 6.1 Kanten (`exercise_progression_edges`)
|
||||
|
||||
@@ -211,7 +225,7 @@ Validierung: `progression_graph_planning_artifact.py` · Tests: `test_progressio
|
||||
|
||||
---
|
||||
|
||||
## 7. Fähigkeiten-Scoring-Anbindung
|
||||
## 8. Fähigkeiten-Scoring-Anbindung
|
||||
|
||||
Modul: `planning_skill_expectations.py`
|
||||
|
||||
@@ -231,7 +245,7 @@ Integration:
|
||||
|
||||
---
|
||||
|
||||
## 8. KI-Lücken (Gap-Fill)
|
||||
## 9. KI-Lücken (Gap-Fill)
|
||||
|
||||
Flow:
|
||||
1. `roadmap_unfilled` / QA-Lücken → `gap_fill_offers`
|
||||
@@ -243,7 +257,7 @@ Kontext-Helfer: `frontend/src/utils/planningContextForExerciseAi.js`
|
||||
|
||||
---
|
||||
|
||||
## 9. Implementierungsstände (Phasen)
|
||||
## 10. Implementierungsstände (Phasen)
|
||||
|
||||
| Phase | Inhalt | Status | Version |
|
||||
|-------|--------|--------|---------|
|
||||
@@ -255,12 +269,13 @@ Kontext-Helfer: `frontend/src/utils/planningContextForExerciseAi.js`
|
||||
| F7 | `planning_skill_expectations` (Retrieval + UI + Gap) | ✅ | 0.8.215–216 |
|
||||
| F8 | Editierbare `stage_specs` in UI | ✅ | 0.8.216 |
|
||||
| F9 | `planning_roadmap` Persistenz (Migration **088**) | ✅ | 0.8.217 |
|
||||
| F10 | Stufen-Lernziel-Gate beim Match (kein goal_query-Fallback) | ✅ | 0.8.218 |
|
||||
| **G** | Trainingsplanung eigene Pipeline + Graph-Referenz | 🔲 | — |
|
||||
| **UX** | Wizard/Stepper statt Scroll-Monolith | 🔲 | separater Chat |
|
||||
|
||||
---
|
||||
|
||||
## 10. Offenes Backlog (priorisiert)
|
||||
## 11. Offenes Backlog (priorisiert)
|
||||
|
||||
1. **UI-Überarbeitung** — Wizard mit 4 Schritten, progressive disclosure (Briefing unten)
|
||||
2. **Graph-Erweiterungsmodus** — Start ab gewähltem Knoten / letzter Sequenz
|
||||
@@ -277,7 +292,7 @@ Kern: Wizard ① Ziel & Start/Ziel → ② Roadmap → ③ Match → ④ Lücken
|
||||
|
||||
---
|
||||
|
||||
## 11. Tests
|
||||
## 12. Tests
|
||||
|
||||
| Datei | Abdeckung |
|
||||
|-------|-----------|
|
||||
@@ -291,7 +306,7 @@ Kern: Wizard ① Ziel & Start/Ziel → ② Roadmap → ③ Match → ④ Lücken
|
||||
|
||||
---
|
||||
|
||||
## 12. Dokumenten-Index (Drift vermeiden)
|
||||
## 13. Dokumenten-Index (Drift vermeiden)
|
||||
|
||||
| Frage | Primäre Quelle |
|
||||
|-------|----------------|
|
||||
@@ -307,7 +322,7 @@ Kern: Wizard ① Ziel & Start/Ziel → ② Roadmap → ③ Match → ④ Lücken
|
||||
|
||||
---
|
||||
|
||||
## 13. Changelog (Dokument)
|
||||
## 14. Changelog (Dokument)
|
||||
|
||||
| Datum | Änderung |
|
||||
|-------|----------|
|
||||
|
||||
Reference in new issue
Block a user