evaluate-fine-tuning-workflow — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited evaluate-fine-tuning-workflow (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
| Metric | Target | How to Measure |
|---|---|---|
| Task accuracy improvement | ≥ 10% over base | Side-by-side eval on test set |
| Training loss | Decreasing | Training logs |
| Validation loss | Decreasing (not diverging) | Training logs |
| Overfitting gap | < 0.1 (train_loss - val_loss) | Loss curve analysis |
| Format compliance | ≥ 98% | Output matches expected schema |
| Hallucination rate | ≤ base model | Factual accuracy test |
| Latency | ≤ base model + 10% | Inference timing |
| Cost per 1K tokens | Documented | Token pricing comparison |
python evaluation/analyze_training.py --job-id $JOB_IDCreate test samples NOT in training data:
{"messages": [{"role": "user", "content": "What is the return window?"}], "expected": "30 days from purchase date", "category": "policy"}
{"messages": [{"role": "user", "content": "Can I get a refund for digital items?"}], "expected": "Digital items are non-refundable", "category": "policy"}Minimum: 50 test samples, diverse across categories.
python evaluation/eval.py --test-set evaluation/test-set.jsonl \
--models base:gpt-4o-mini ft:$FINE_TUNED_MODEL \
--metrics accuracy,format_compliance,hallucinationDepending on fine-tuning use case:
| Use Case | Key Metric | Test Method |
|---|---|---|
| Classification | F1, precision, recall | Labeled test set |
| Extraction | Field accuracy | Ground truth comparison |
| Style transfer | Consistency score | Style classifier |
| Code generation | Pass@1 | Unit test execution |
| Summarization | ROUGE-L, BERTScore | Reference summaries |
| Q&A | Exact match, F1 | Ground truth answers |
python evaluation/eval.py --full-report --output evaluation/report.json| Result | Action |
|---|---|
| ≥10% improvement, no overfitting | Deploy to production |
| 5-10% improvement | Deploy with monitoring, plan more data |
| <5% improvement | Fine-tuning not justified — use prompt engineering |
| Overfitting detected | Reduce epochs, increase training data |
| Regression on general tasks | Reduce LoRA rank, add general data to mix |
| Pitfall | Why Wrong | Fix |
|---|---|---|
| Test set overlaps training | Inflated metrics | Verify no duplicates between sets |
| Only testing happy path | Misses edge cases | Include adversarial and edge test cases |
| No base model comparison | Can't prove improvement | Always compare to base model baseline |
| Single-metric evaluation | Misses regressions | Use multiple metrics across dimensions |
| No human evaluation | Automated may miss quality issues | Spot-check 20+ samples manually |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.