Evaluation metrics tracking

has a wide lead for detecting LLM output drift over time.

It depends

For prompt degradation analysis, is also mentioned.

Since Sep 24Data through Nov 21, 2026Based on 11 AI answersAutomated index

How we measure

Brands AI mentions

#BrandMentioned in
Mentioned in, on ChatGPT and Google AI Mode
  • MLflowChatGPTChatGPT 100%Google AI ModeGoogle AI Mode 60%
  • LangSmithChatGPTChatGPT 50%Google AI ModeGoogle AI Mode 60%
  • DVCChatGPTChatGPT 0%Google AI ModeGoogle AI Mode 100%
  • Weights & BiasesChatGPTChatGPT 33%Google AI ModeGoogle AI Mode 60%
  • GPT-4oChatGPTChatGPT 0%Google AI ModeGoogle AI Mode 80%

Questions and answers

  • ChatGPTNov 21, 2026

    1. 1MLflow
    2. 2LangSmith
    3. 3Weights & Biases
    4. 4Promptfoo
    5. 5Python
    6. 6pytest
    7. 7PostgreSQL
    8. 8GitHub Actions
    9. 9Grafana

    How to persistently track and baseline LLM evaluation metrics

    The best approach is to treat LLM evaluation like traditional software performance monitoring: every experiment should produce a versioned, reproducible evaluation record that can be compared against a known baseline.

    Rather than tracking scores in spreadsheets or relying on individual experiment logs, build an evaluation history that captures:

    1. What model or prompt was evaluated.
    2. Which dataset and evaluation criteria were used.
    3. What metrics were produced.
    4. How those metrics compare with previous experiments.
    5. Whether a regression is statistically and practically significant.

    1. Establish a persistent evaluation history

    Create a central evaluation-results store. Each experiment should generate a record with consistent metadata.

    A useful schema:

    FieldExample
    Experiment IDexp-1042
    Timestamp2026-11-21
    Modelgpt-4.1
    Model versionSnapshot or deployment ID
    Prompt versionprompt-v12
    Dataset versionbenchmark-v5
    Evaluator versionjudge-v3
    Temperature0.2
    Accuracy0.91
    Faithfulness0.94
    Hallucination rate0.03
    Latency (p95)1.8s
    Cost per request$0.004

    The important principle is to preserve the raw evaluation results, not just aggregate scores. Individual test-case results let you investigate exactly which examples caused a regression.

    2. Define baseline metrics

    Establish a reference evaluation before making changes.

    I recommend tracking these metric categories:

    CategoryMetrics
    QualityAccuracy, relevance, correctness
    ReliabilityHallucination rate, failure rate
    RetrievalRecall@k, precision@k, MRR
    SafetyPolicy compliance, unsafe response rate
    Performancep50/p95 latency, throughput
    CostTokens per request, cost per evaluation

    Not every application needs every metric. Choose metrics that reflect your actual product requirements.

    Important: Maintain separate baselines for different datasets and evaluation tasks. Otherwise, a change in test-set composition can look like a model improvement or regression.

    3. Use an experiment-tracking platform

    You don't need to build this infrastructure from scratch. Several platforms support persistent evaluation history, run comparisons, and regression detection.

    • Aprende a programar desde tu casa

    1. MLflow

    (Strong open-source choice)

    • Persistent experiment and metric logging.
    • Versioned evaluation datasets.
    • Evaluation run comparisons.
    • Tracing and production monitoring.
    • Supports custom scorers and LLM judges.

    Documentation: MLflow GenAI evaluation · Experiment tracking.


    • Курс по оценке и тестированию ИИ систем (RAG, LLM, AI-агенты)

    2. LangSmith

    • Dataset and experiment management.
    • Compare prompt and model experiments.
    • Set a named baseline.
    • View metric differences across runs.
    • Trace individual failures.

    Particularly useful for LangChain applications.

    Documentation: Analyzing and comparing experiments.


    • Weights & Biases – MLOps Platform – Daidu.ai

    3. Weights & Biases (W&B)

    • Centralized experiment tracking.
    • Metric visualization over time.
    • Run comparisons and dashboards.
    • Artifact and dataset versioning.

    Good for teams already using ML experiment-tracking workflows.

    Website: Weights & Biases.


    • GitHub - promptfoo/promptfoo: Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, Llama, and more. Simple declarative configs with command line and CI/CD integration.  Used by OpenAI and Anthropic. · GitHub

    4. Promptfoo

    • Prompt and model comparisons.
    • Repeatable evaluation suites.
    • Red-team and security testing.
    • CI/CD integration for regression testing.

    Particularly useful for testing prompt changes before deployment.

    Website: Promptfoo.

    My recommendation: Start with MLflow if you want an open-source, centralized experiment history. Consider LangSmith if tracing and debugging LLM application behavior are your primary needs. Promptfoo is a useful complementary testing layer.

    4. Automate baseline comparisons

    This is the most important step for identifying regressions.

    Every new experiment should be compared against a designated baseline using the same evaluation dataset and scoring criteria.

    For example:

    Baseline vs. candidate experiment

    Metric Baseline → Candidate


    Candidate needs review

    Accuracy dropped by 5 percentage points and hallucination rate increased by 3 percentage points. Faster latency does not automatically justify the quality regression.

    For reliable comparisons:

    • Keep the evaluation dataset fixed.
    • Keep the evaluator and scoring rubric fixed.
    • Record model and prompt versions.
    • Compare individual test cases, not just aggregate scores.
    • Track both absolute values and changes from baseline.

    Avoid false regression alerts

    LLM evaluations can be noisy, especially when using LLM-as-a-judge.

    A robust approach is to:

    1. Run the same configuration multiple times to estimate natural variability.
    2. Compare candidate and baseline results on identical examples.
    3. Calculate confidence intervals and effect sizes.
    4. Use paired statistical tests where appropriate.
    5. Set practical regression thresholds, not just statistical significance.

    MLflow's newer evaluation-comparison functionality supports paired comparisons and statistical analysis. Its documentation also recommends A/A testing to understand evaluator noise.

    5. Integrate evaluation into CI/CD

    Don't rely on someone remembering to run evaluations manually.

    Set up an automated pipeline:

    Developer changes prompt, model, or RAG logic

    Run evaluation against versioned golden dataset

    Store metrics, metadata, and per-example results

    Compare with approved baseline

    Pass

    Allow deployment

    Fail

    Block or require review

    For example, define rules such as:

    python
    regression_thresholds = {
        "accuracy": -0.02,
        "faithfulness": -0.03,
        "hallucination_rate": 0.01,
        "p95_latency": 0.20,
    }
    
    def check_regression(baseline, candidate):
        failures = []
    
        if candidate["accuracy"] < baseline["accuracy"] - 0.02:
            failures.append("Accuracy regression")
    
        if candidate["faithfulness"] < baseline["faithfulness"] - 0.03:
            failures.append("Faithfulness regression")
    
        if candidate["hallucination_rate"] > baseline["hallucination_rate"] + 0.01:
            failures.append("Hallucination regression")
    
        return failures

    These are illustrative thresholds; tune them to your application and evaluation noise.

    MLflow also documents regression-testing workflows that can be integrated with pytest and CI pipelines.

    6. Build a historical metrics dashboard

    Once you have persistent evaluation records, visualize trends over time.

    I recommend these four dashboard views:

    A. Quality trends

    Illustrative evaluation scores across experiment versions.

    experimentAccuracyFaithfulness
    v19294
    v29395
    v39196
    v48694
    v59097

    B. Reliability trends

    Illustrative hallucination rate by experiment.

    experimentHallucination rate
    v13%
    v22.5%
    v33%
    v47%
    v53.5%

    C. Operational performance

    Track:

    • P50, P95 and P99 latency.
    • Input/output token consumption.
    • Cost per request.
    • Error and timeout rates.

    D. Regression analysis

    Track:

    • Number of test cases that regressed.
    • Number of test cases that improved.
    • Largest individual score drops.
    • Failure categories and affected dataset slices.

    All chart values above are illustrative, not actual benchmark results.

    7. A practical implementation stack

    Here is the architecture I'd recommend for a team starting from scratch:

    LayerSuggested technology
    Evaluation frameworkPython + custom scorers
    Dataset managementMLflow evaluation datasets
    Experiment trackingMLflow
    Raw result storagePostgreSQL + artifact storage
    Regression testspytest
    CI/CDGitHub Actions
    DashboardsMLflow UI or Grafana
    Production monitoringMLflow tracing

    Useful reading:


    8. Implementation roadmap

    I'd implement this incrementally rather than building everything at once.

    1. Phase 1 — Establish the baseline

      Create a golden dataset, define 3–5 primary evaluation metrics, and run the current production configuration.

    2. Phase 2 — Persist experiment results

      Store run IDs, model versions, prompt versions, dataset versions, metric aggregates, and individual test-case results.

    3. Phase 3 — Enable comparisons

      Compare each new run with the approved baseline. Add statistical checks and configurable regression thresholds.

    4. Phase 4 — Automate regression detection

      Run evaluations on every significant prompt, model, or application change through CI/CD.

    5. Phase 5 — Monitor production

      Evaluate production traces, detect quality drift, and promote newly discovered failures into the golden dataset.

    My key recommendation

    The most important architectural decision is to maintain three separate but connected things:

    • Experiment history: Every run and its configuration.
    • Evaluation dataset history: Every test case, expected result, and dataset version.
    • Baseline history: Which experiment is approved as the reference for a given task and dataset.

    This prevents a common problem: having lots of evaluation scores but no reliable way to determine whether two experiments are actually comparable.

    MLflow is a particularly good starting point because it now supports evaluation datasets, traces, experiment comparisons, and regression-testing workflows in one ecosystem.

    One question to help narrow down the implementation

    Are you primarily evaluating:

    1. What kind of LLM system?

    RAG applications

    LLM agents and tool calling

    Prompt and model comparisons

    Fine-tuned models

    General LLM benchmarks


    2. Preferred implementation language

    Python

    TypeScript

    Other


    3. Deployment preference

    Self-hosted / open source

    Managed SaaS

    Either

    [Design my evaluation architecture]

    Google AI ModeNov 21, 2026

    1. 1DVC
    2. 2MLflow
    3. 3Arize Phoenix
    4. 4LangSmith
    5. 5Langfuse
    6. 6OpenTelemetry
    7. 7OpenInference
    8. 8GPT-4o
    9. 9Git LFS
    10. 10Anthropic

    Tracking and baselining LLM evaluation metrics across experiments requires treating LLMs less like static software and more like stochastic, data-dependent systems. To reliably spot performance regressions, you need a disciplined MLOps stack that couples versioned data, structured tracing, automated grading, and CI/CD gates.

    The 4-Tier Architecture for Persistent Tracking

    1. Immutable Golden Datasets

    Never evaluate against an ad-hoc list of prompts. Your baseline depends on strict data versioning.

    • Version Control: Store your evaluation datasets in Git-LFS, DVC, or a specialized hub alongside your code.
    • Stratification: Tag your golden dataset by intent type, difficulty level , and known historical failure modes (e.g., edge cases, multi-turn quirks, tool-use loops).
    • Drift Protection: Freeze a "v1 baseline" slice of 100–500 canonical test cases that never changes, while maintaining a separate "evolving" slice for new regressions found in production.

    2. Comprehensive Tracing & Artifact Logging

    You cannot baseline what you do not measure end-to-end. Your logging layer must capture the entire execution graph, not just final string outputs.

    • Trace Artifacts to Log: Prompt templates, raw inputs, retrieved RAG context chunks, intermediate agent tool calls/arguments, final generation, token counts, and latency.
    • Tooling Options:
      • Open-source/enterprise experiment trackers with native LLM support like MLflow Tracing, Arize Phoenix , or LangSmith / Langfuse.
      • Standardized open telemetry wrappers (e.g., OpenTelemetry / OpenInference specifications).

    3. Dual-Layer Scoring (Deterministic + LLM-as-a-Judge)

    Relying solely on string-match or BLEU/ROUGE fails for generative tasks. Combine two scoring tiers:

    • Deterministic Checks: Regex matching, JSON schema validation, latency thresholds, token cost caps, and code-based assertions (e.g., "does the output contain the required citation ID?").
    • LLM-as-a-Judge: Use a stronger, pinned model (e.g., gpt-4o or claude-3-5-sonnet with a fixed temperature of 0.0 ) evaluated against explicit rubric prompts.
    • Judge Calibration: Periodically audit your LLM judge against human annotation samples (aim for >85% inter-rater agreement) and cache judge calls to keep metric baselines noise-free.

    4. Automated CI/CD Regression Gates

    Move evaluation out of local notebooks and into your pull request pipeline.

    • The Pull Request Hook: When a prompt, model hyperparameter, or RAG retriever chunk size changes, trigger an offline evaluation run against your frozen golden dataset.
    • Delta Thresholds: Program your CI pipeline to fail the build if aggregate or slice-specific scores drop past a tolerance window (e.g., Fail if Groundedness drops > 2% or Faithfulness drops below 0.85).

    Recommended Implementation Flow

    1. Instrument Your App: Wrap your core generation or agent loop with a tracing decorator so every execution emits a structured trace ID.
    2. Establish the Baseline: Run your current production configuration against your golden dataset once and commit the resulting score ledger (CSV, JSON, or experiment tracker run ID) as the baseline_score.json.
    3. Write a Diff Script: In your CI/CD runner, compare the current experiment run against baseline_score.json and output a markdown summary table directly to the PR comments.
    4. Close the Loop (Production Tracing): Sample 5% to 10% of live production traffic, run the same asynchronous evaluators on them, and mine low-scoring live traces to continuously backport new edge-case tests into your golden dataset.

    If you'd like to narrow this down, tell me:

    • What kind of LLM system are you building (pure completion, RAG, or multi-step agent)?
    • What framework or stack are you currently using for orchestration or logging?
  • The problem is, we don't know if our LLM is drifting over time. What's the best observability tool for detecting LLM output drift?

    Summary

    Braintrust is the usual answer for detecting LLM output drift over time.

Also asked as

  • I need to spot regressions in my LLM experiments. What is the process for persistently tracking and baselining evaluation metrics over time?
  • What tools or methods allow for persistent logging and baselining of LLM evaluation metrics to identify performance regressions across experimental runs?
For agents: this page as Markdown, parse.gl/topics/evaluation-metrics-tracking.md.

This page

Reuse: Figures and tables on this page are free to republish with attribution: a link to https://parse.gl/topics/evaluation-metrics-tracking beside them. A standard followed link (dofollow) is preferred.

Read and search

Every brand's share on this topic, with 95% ranges: GET agent.parse.gl/v1/tools/query_metrics?args=%7B%22measures%22%3A%5B%22share_named%22%5D%2C%22by%22%3A%5B%22brand%22%5D%2C%22filter%22%3A%7B%22topic%22%3A%5B%22top_aa2f3a25-ae42-4ce1-a7b2-dac1ccfbe13a%22%5D%7D%7D
Search the index: GET parse.gl/api/public/search?q=<words>

Connect

Connect an assistant: agent.parse.gl/mcp

An agent can save work before signup: POST https://agent.parse.gl/v1/workspaces

What it costs

No account: Public figures and up to 5 examples per list, about 120 brands a day per address.
Free account: 90-day Parse Index reads, your brand's first check (20 buyer questions), and a free weekly check.
Prepaid credits (from $20): Exports, deeper search results, live checks, verified contacts, and daily tracking.
Live checks: $0.01 per question per engine ($0.05 on Gemini and Claude).
Full public answers and pages: 25 free per day, then $0.005 each.
Public answers older than 90 days: $0.001 each the first time your workspace counts or lists one, then yours.