Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-eval-service

AI Evaluation Service Internals (Golden Sets, LLM-as-Judge & CI Gates)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![AI Evaluation Service Internals (Golden Sets, LLM-as-Judge & CI Gates) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-eval-service/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-eval-service)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-eval-service)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-eval-service" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="AI Evaluation Service Internals (Golden Sets, LLM-as-Judge & CI Gates) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["CI PR / Prompt Change"]
  n1_1["Eval Runner Matrix"]
  n2a_2["Deterministic Graders"]
  n2b_3["Calibrated LLM Judge"]
  n3_4[("Regression Gate & DB")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Replay set · Async"| n1_1
  n1_1 -->|"2a. Assert · Code"| n2a_2
  n1_1 -.->|"2b. Score 1..5 · HTTPS"| n2b_3
  n2a_2 -->|"3a. Verdict/Lo · SQL"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • CI PR / Prompt ChangeSTATELESS
    Prompt + Model Diff
  • Eval Runner MatrixSTATELESS
    Parallel replay over 500 goldens
  • Deterministic GradersSTATELESS
    JSON schema, regex, SQL & unit
  • Calibrated LLM JudgeSTATELESS
    Rubric faithfulness & groundedness
  • Regression Gate & DBSTATEFUL
    Blocks merge if drop > 2% CI
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. CI PR / Prompt Change → Eval Runner Matrix (Replay set)[Async]
  2. Eval Runner Matrix → Deterministic Graders (Assert)[Code]
  3. Eval Runner Matrix → Calibrated LLM Judge (Score 1..5)[HTTPS]
  4. Deterministic Graders → Regression Gate & DB (Verdict/Lo)[SQL]
  5. Calibrated LLM Judge → Regression Gate & DB (Sync)[Control]
  6. Regression Gate & DB → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →