Prompt, Config & Dataset Lineage
Cloud AI Evaluation & Azure AI Foundry QE β Day 5
Generate SHA-256 content-addressed manifests across system prompts, model configs, and golden datasets, and run deterministic regression diffing across model version upgrades.
When a model upgrade or prompt edit causes a production regression, teams without cryptographic lineage cannot prove which prompt, temperature, or golden dataset produced last week's evaluation score. Today you will build SHA-256 snapshot manifests and run deterministic per-case regression diffs.
The official reference codebase for Day 5 is hosted in the repository. Clone the repository and navigate to day-5-prompt-lineage/test_prompt_lineage.py to run the working solution.
git clone https://github.com/777abhi/cloud-ai-eval-roadmap.git
cd cloud-ai-eval-roadmap/day-5-prompt-lineage/test_prompt_lineage.pyRun Lineage Manifest & Regression Diff Suite
npm run test:day5manifest = build_snapshot_manifest(system_prompt, model_config, golden_dataset)
diff = diff_eval_runs(baseline_scores, candidate_scores, max_case_drop=0.5, max_avg_drop=0.15)- Generated deterministic SHA-256 content-addressed manifests across prompt, config, and golden dataset.
- Caught silent prompt mutations and unrecorded model-version changes via integrity verification.
- Blocked breaking per-case regressions during model version upgrades even when average scores looked stable.
π§ Knowledge Check
Why should model-upgrade regression diffing check per-case score drops in addition to the overall average score?