Summary
Generate training pairs for the new SHAP narrator task. Each pair maps a student's SHAP values + profile to an advisor-facing narrative with grounded explanations and interventions.
Depends On
Prerequisites
- SHAP data must be populated in
student_level_with_predictions.shap_explanations (run ML pipeline with SHAP step)
- Readiness scores must exist in
llm_recommendations (run readiness score generator)
Tasks
Acceptance Criteria
-
= 1,200 validated narrator pairs after dedup
- Train/val/test splits at
training_data/bishop-state/final/narrator/{split}.jsonl
- Spot-check confirms narratives cite specific SHAP features by name and magnitude
Summary
Generate training pairs for the new SHAP narrator task. Each pair maps a student's SHAP values + profile to an advisor-facing narrative with grounded explanations and interventions.
Depends On
Prerequisites
student_level_with_predictions.shap_explanations(run ML pipeline with SHAP step)llm_recommendations(run readiness score generator)Tasks
python ai_model/complete_ml_pipeline.pyif needed)python -m training.distill --school bishop-state --task narrator(~1,500 pairs)python -m training.prepare --school bishop-state --task narratortraining_data/bishop-state/Acceptance Criteria
training_data/bishop-state/final/narrator/{split}.jsonl