CICD-432 · LLM evaluation pipeline
Encyclopedia · AI and LLM application pipelines · All snippets
Previous · CICD-431 · Next · CICD-433
1. Where it fits
- Placement CI evaluation gate.
- Prerequisites approved synthetic evaluation data, authorized model artifacts and pinned runtime tools.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
jq -e '.scored >= 30 and .passed/.scored >= 0.9 and .invalid == 0' reports/eval.json3. How it works
The gate requires a minimum evaluated sample, a quality threshold and zero invalid responses. Keep scorer, model and dataset revisions with the evidence.
The release candidate has to satisfy all evaluation gates.
flowchart TD
N1["Evaluation report"]
N2{"Count quality and format pass"}
N1 --> N2
N3["Gate passes"]
N2 -->|Yes| N3
N4["Hold candidate"]
N2 -->|No| N4
classDef trigger fill:#EFF6FF,stroke:#0540F2,color:#0A0A0A
classDef build fill:#CCFBF1,stroke:#0D9488,color:#0A0A0A
classDef test fill:#EEF2FF,stroke:#4F46E5,color:#0A0A0A
classDef gate fill:#FEF3C7,stroke:#D97706,color:#0A0A0A
classDef security fill:#EDE9FE,stroke:#7C3AED,color:#0A0A0A
classDef deploy fill:#D1FAE5,stroke:#059669,color:#0A0A0A
classDef fail fill:#FEE2E2,stroke:#DC2626,color:#0A0A0A
class N1 test
class N2 gate
class N3 deploy
class N4 fail
4. Verify the result
Populate evidence from a pinned eval dataset and reviewed scorer. Use representative examples and manually inspect failures.
Validation syntax-validated (Bash parse). Status definitions.