Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_llm-eval-pipeline

LLM evaluation pipeline (golden set, LLM-as-judge, release gate)

11 COMPONENTS · 13 FLOWS · UPDATED 2026-11-20
GITHUB README / PR PREVIEW CARD
[![LLM evaluation pipeline (golden set, LLM-as-judge, release gate) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_llm-eval-pipeline/opengraph-image)](https://archos.sageideas.dev/d/dgm_llm-eval-pipeline)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_llm-eval-pipeline)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_llm-eval-pipeline" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="LLM evaluation pipeline (golden set, LLM-as-judge, release gate) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0[("Web Client")]
  cand_1["Inference server"]
  judge_2["Inference server"]
  idp_3[("Identity provider (IdP)")]
  gw_4["API gateway"]
  registry_5[("Prompt and config registry")]
  eval_6[("Evaluation service")]
  pg_7[("PostgreSQL")]
  tsdb_8[("Time-series database (TSDB)")]
  alerting_9[("Alerting")]
  capacity_10["Capacity Estimate"]
  client_0 -->|"1. Calls with JWT · HTTPS"| gw_4
  gw_4 -->|"2. Starts run · HTTP/2"| eval_6
  eval_6 -->|"3a. Reads prompt, cases · HTTP/2"| registry_5
  eval_6 -->|"3b. Generates answers · HTTPS"| cand_1
  cand_1 -->|"4. Answers · HTTPS"| eval_6
  eval_6 -->|"5. Grades answers · HTTPS"| judge_2
  judge_2 -->|"6. Scores · HTTPS"| eval_6
  eval_6 -->|"7a. Saves scores · SQL"| pg_7
  eval_6 -->|"7b. Posts result · HTTP/2"| gw_4
  gw_4 -->|"8. Notifies · HTTPS"| client_0
  idp_3 -->|"Publishes keys (JWKS) · HTTPS"| gw_4
  eval_6 -->|"Exports (OTLP) · OTLP"| tsdb_8
  tsdb_8 -->|"Queried by alerting · HTTP"| alerting_9

COMPONENT STACK (10)

  • Web ClientSTATEFUL
    Engineer who submits a prompt or model change
  • Inference serverSTATELESS
    Model under test, hosted outside our boundary
  • Inference serverSTATELESS
    Judge model, a different model from the one under test
  • Identity provider (IdP)STATEFUL
    Issues the JWT; publishes its signing keys
  • API gatewaySTATELESS
    Checks the JWT, then starts the run
  • Prompt and config registrySTATEFUL
    Versioned prompts, settings and golden cases
  • Evaluation serviceSTATEFUL
    Runs each case, scores it, gates the release
  • PostgreSQLSTATEFUL
    Scores per case and run
  • Time-series database (TSDB)STATEFUL
    Stores pass rate, error share, latency
  • AlertingSTATEFUL
    Pages on-call when the pass rate drops

REQUEST & DATA FLOW (13)

  1. Web Client → API gateway (Calls with JWT)[HTTPS]
  2. API gateway → Evaluation service (Starts run)[HTTP/2]
  3. Evaluation service → Prompt and config registry (Reads prompt, cases)[HTTP/2]
  4. Evaluation service → Inference server (Generates answers)[HTTPS]
  5. Inference server → Evaluation service (Answers)[HTTPS]
  6. Evaluation service → Inference server (Grades answers)[HTTPS]
  7. Inference server → Evaluation service (Scores)[HTTPS]
  8. Evaluation service → PostgreSQL (Saves scores)[SQL]
  9. Evaluation service → API gateway (Posts result)[HTTP/2]
  10. API gateway → Web Client (Notifies)[HTTPS]
  11. Identity provider (IdP) → API gateway (Publishes keys (JWKS))[HTTPS]
  12. Evaluation service → Time-series database (TSDB) (Exports (OTLP))[OTLP]
  13. Time-series database (TSDB) → Alerting (Queried by alerting)[HTTP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →