API & MCP

Everything a person can do on Model Behavior Regression Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Model Behavior Regression Explorer

Paste eval results for two model versions on the same items (CSV or JSONL with id, input, expected, output_a, output_b and optional category). Each output is scored with your metric – exact, normalised exact, contains, numeric tolerance or regex – then accuracy is compared per version and category, regressions and improvements are listed, an exact McNemar test tells whether the difference is more than noise, and flaky (inconsistent repeated runs) or ambiguous items are flagged.

Inputs of Model Behavior Regression Explorer
FieldTypeDefaultDescription
data (required)textarea—Eval results (CSV or JSONL). Columns: id, input, expected, output_a, output_b, category (optional). Repeated ids = repeated runs.
metricselect (exact, normalized, contains, numeric, regex)"normalized"Scoring metric
tolerancenumber0.01Numeric tolerance (absolute)
labelAtext"A"Name of version A
labelBtext"B"Name of version B
maxListedinteger50Maximum items listed per table

Example request

Prompt v1 vs v2 on 12 QA/math items (CSV)

curl -X POST https://modelbehaviorregressionexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"labelA":"prompt-v1","labelB":"prompt-v2","data":"id,category,input,expected,output_a,output_b\nq1,geo,Capital of France?,Paris,Paris,Paris.\nq2,geo,Capital of Australia?,Canberra,Sydney,Canberra\nq3,geo,Longest river in Europe?,Volga,The Volga,Danube\nq4,geo,Capital of Canada?,Ottawa,Ottawa,Ottawa\nq5,geo,Highest mountain in Africa?,Kilimanjaro,Kilimanjaro,Mount Kilimanjaro\nm1,math,12*7,84,84,84\nm2,math,15% of 240,36,36,36.0\nm3,math,sqrt(144),12,12,11\nm4,math,2^10,1024,1024,1024\nm5,math,100/8,12.5,12,12.5\nm6,math,17+26,43,43,43\nm7,math,9*9,81,81,81\nm7,math,9*9,81,81,18"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "model-behavior-regression-explorer": { "type": "http", "url": "https://modelbehaviorregressionexplorer.usefulweb.site/mcp" }
  }
}