Enhance Planning Context with Progression Gap Snapshot and Start/Target Analysis
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Successful in 1m13s
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Successful in 1m13s
- Introduced `build_progression_gap_snapshot` function to create a compact roadmap context for gap exercises, integrating start situation, target state, and stage specifications. - Updated `build_gap_fill_goal_text` to include roadmap snapshot details, enhancing the context for AI-generated exercises. - Enhanced `ProgressionPathSuggestRequest` and related components to support new structured inputs for start/target analysis, improving user experience and AI suggestions. - Incremented application version to 0.8.212 to reflect these changes.
This commit is contained in:
1 parent
fad1058d54
commit
f2650dac57
11 files changed
+505
-25
No files matched your search
@@ -16,6 +16,7 @@ from planning_progression_roadmap import (
|
||||
resolve_roadmap_structured_input,
|
||||
resolve_step_exercise_kind_filter,
|
||||
run_progression_roadmap_pipeline,
|
||||
run_start_target_resolve_only,
|
||||
stage_spec_exercise_kind_filter,
|
||||
stage_spec_retrieval_query,
|
||||
normalize_major_steps_for_override,
|
||||
@@ -173,6 +174,15 @@ def test_resolve_structured_regex_fallback_without_llm():
|
||||
assert "dynamischen" in (resolved.target_state or "")
|
||||
|
||||
|
||||
def test_run_start_target_resolve_only_no_major_steps():
|
||||
ctx = run_start_target_resolve_only(KUMITE_GOAL, include_llm_start_target=False)
|
||||
assert ctx.pipeline_phase == "start_target_only"
|
||||
assert ctx.roadmap is None
|
||||
assert ctx.goal_analysis is not None
|
||||
assert "Steppbewegung" in ctx.goal_analysis.start_assumption
|
||||
assert ctx.resolved_structured is not None
|
||||
|
||||
|
||||
def test_resolve_structured_merges_user_and_llm_notes():
|
||||
brief = build_semantic_brief("Kumite Beinarbeit")
|
||||
structured = RoadmapStructuredInput(roadmap_notes="Kindergruppe 10–12")
|
||||
|
||||
Reference in new issue
Block a user