Skip to main content
GET
Compare two calibration fits on the same outcomes

Authorizations

Authorization
string
header
required

An organization API key. Keys carry a role (read_write or read_only) and may be restricted to a namespace prefix such as acme/*, or to one namespace such as acme/prod/tenant_1. A prefix matches on a / boundary: acme/prod/tenant_1* covers acme/prod/tenant_1 and everything under acme/prod/tenant_1/, never acme/prod/tenant_12.

Path Parameters

ns
string
required

A namespace name, or a template prefix ending in /*, with any / sent as %2F: acme%2Fprod%2Ftenant_123 or acme%2Fprod%2F*.

A namespace name, or a template prefix: a namespace path ending in /*, such as acme/prod/*, which every namespace under acme/prod/ inherits judgments from. Up to 256 bytes. Never exactly . or .., which a URL path can't carry.

Required string length: 1 - 256
Pattern: ^(?!\.\.?$)[A-Za-z0-9._:/-]+(/\*)?$
name
string
required

A judgment, attribute or threshold name. Names are path segments in field references, so they never contain ..

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_-]+$
fit
string
required

A fit's id, as answers and GET .../calibration/fits show it.

Pattern: ^fit_[0-9a-f]{16}$

Query Parameters

with
string
required

The other fit's id.

Pattern: ^fit_[0-9a-f]{16}$

Response

Both fits on the same outcomes.

Two fits of one version and epoch, scored on the same outcomes.

version
integer<int32>
required
Required range: x >= 1
engine
string
required
engine_version
string
required
outcomes
integer<int64>
required

The outcomes both were scored on.

Required range: x >= 0
fitted_on
enum<string>
required

queue when the epoch's labelling-queue labels alone meet the minimums: both are scored on them, weighted back to real traffic.

Available options:
all,
queue
a
object
required
b
object
required
difference
object | null
required

The mean per-outcome log loss of a minus b (positive favours b), with its standard error. Null with fewer than two outcomes.