Enhance Gap Planning Context with Stage Overrides and Trainer Supplements
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m25s
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m25s
- Added `stage_learning_goal_override` and `gap_trainer_supplements` parameters to `build_progression_path_gap_planning_context`, allowing for customized learning goals and additional trainer notes. - Updated `gapOfferContextDisplayLines` to include trainer supplements in the context display. - Enhanced `ExerciseProgressionPathBuilder` to utilize new parameters for improved gap fill offer handling. - Incremented application version to 0.8.214 to reflect these changes.
This commit is contained in:
1 parent
d4b1780193
commit
0adf20c9e1
6 files changed
+323
-30
No files matched your search
@@ -78,3 +78,14 @@ def test_gap_planning_context_carries_snapshot_fields():
|
||||
)
|
||||
assert ctx["start_situation"] == "Start"
|
||||
assert ctx["stage_learning_goal"] == "Stufenziel"
|
||||
|
||||
|
||||
def test_gap_planning_context_trainer_supplements_and_stage_override():
|
||||
ctx = build_progression_path_gap_planning_context(
|
||||
goal_query="Kumite",
|
||||
stage_spec={"learning_goal": "Original"},
|
||||
stage_learning_goal_override="Angepasstes Stufenziel",
|
||||
gap_trainer_supplements="Nur Partnerübung, Kindergruppe",
|
||||
)
|
||||
assert ctx["stage_learning_goal"] == "Angepasstes Stufenziel"
|
||||
assert ctx["gap_trainer_supplements"] == "Nur Partnerübung, Kindergruppe"
|
||||
Reference in new issue
Block a user