Update OSFT notebook: benchmark evals and MLflow tracking #68
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 321 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.345
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #68"
general
weight: 0.35
RobotSail
Summary
lm-evaluation-harnessfor rigorous knowledge retention measurementChanges
Benchmark Evaluation
lm-evaluation-harnessbased evaluation comparing base model vs OSFT-trained modelMLflow Integration
mlflow_tracking_uri,mlflow_experiment_name,mlflow_run_name) added to theosft()training callUpdated Summary
Dependencies
The notebook now requires:
lm-eval(pip install lm-eval) for benchmark evaluationmlflow(pip install mlflow) for experiment tracking (optional — training works without it)Test plan
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
MLflow experiment tracking added to the notebook with run reporting and checkpoint location output
Benchmark-driven evaluation comparing base vs tuned models on MMLU, IFEval, and GPQA Diamond with per-task deltas and an overall retention verdict (≥95%)
Bug Fixes / Improvements
Training runs capture stdout/stderr to prevent notebook crashes; clearer startup and duration messages
Documentation
* Notebook updated with end-to-end training, MLflow setup, evaluation flow, and JSON-formatted final analysis

<!-- end of auto-generated comment: release notes by coderabbit.ai -->