Skip to content

A run's results: a one-sentence verdict, then the typed evidence

GET
/v1/runs/{run_id}/results
curl --request GET \
--url https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/results
run_id
required
Run Id
string format: uuid

Successful Response

Media typeapplication/json
Results

A run’s results. summary is the verdict in one sentence; the typed body is under the run’s type.

object
run_id
required
Run Id
string format: uuid
type
required
Type
string
Allowed value: ranking
final
required
Final

False while the run is still going; results will change.

boolean
summary
required
Summary
string
ranking
required
RankingResults
object
leaderboard
required
Leaderboard

Ranked without any excluded items.

Array<object>
LeaderboardEntry
object
item_id
required
Item Id
string format: uuid
title
required
Title
Any of:
string
source_id
required
Source Id
Any of:
string
selected
required
Selected

The committee’s final choice (a person’s mark, not the judge’s).

boolean
selected_by
required
Selected By
Any of:
string
selected_at
required
Selected At
Any of:
string format: date-time
note
required
Note

The committee’s note on this item in this run.

Any of:
string
note_by
required
Note By
Any of:
string
n_words
required
N Words
Any of:
integer
rating
required
Rating

Elo-scale strength; only differences matter.

number
rating_lo
required
Rating Lo
number
rating_hi
required
Rating Hi
number
rank
required
Rank
integer
rank_lo
required
Rank Lo

Best rank inside the interval.

integer
rank_hi
required
Rank Hi

Worst rank inside the interval.

integer
wins
required
Wins
integer
losses
required
Losses
integer
p_top_n
required
P Top N

Chance the item is in the top_n (goal top_n only).

Any of:
number
groups
required
Groups

The engine’s display groups (supposing.display_groups), best first; every surface draws these.

Array<object>
DisplayGroup

How the ranking is drawn: settled / close calls / out for top-N runs, else one group per clear tier.

object
key
required
Key
string
label
required
Label
string
tier
required
Tier

Colour step, 1 (best) to 4.

integer
close
required
Close

The contested group, drawn askew.

boolean
item_ids
required
Item Ids
Array<string>
excluded
required
Excluded

Taken out by people, with why.

Array<object>
ExcludedItem

An item a person took out of the ranking. Reversible; its comparisons are kept but not counted.

object
item_id
required
Item Id
string format: uuid
title
required
Title
Any of:
string
source_id
required
Source Id
Any of:
string
reason
required
Reason
string
Allowed values: ineligible conflict withdrawn other
detail
required
Detail
Any of:
string
by_name
required
By Name
Any of:
string
created_at
required
Created At
Any of:
string format: date-time
note
required
Note
Any of:
string
diagnostics
required
Diagnostics

How far the judge can be trusted. Null means not enough calls yet to tell.

object
decided
required
Decided

Calls with a verdict.

integer
n_items
required
N Items
Any of:
integer
first_position_win_rate
required
First Position Win Rate

Share of calls won by the item shown first. 0.5 is unbiased.

Any of:
number
order_consistency
required
Order Consistency

Share of pairs judged in both orders that got the same winner both times.

Any of:
number
pairs_both_orders
required
Pairs Both Orders
integer
first_shown_won_both
required
First Shown Won Both

Share of pairs judged both ways where the first-shown text won both times.

Any of:
number
second_shown_won_both
required
Second Shown Won Both

Share of pairs judged both ways where the second-shown text won both times.

Any of:
number
ranking_agreement
required
Ranking Agreement

Share of verdicts the final ranking agrees with.

Any of:
number
split_half_reliability
required
Split Half Reliability

Rank correlation between rankings built from two random halves of the calls.

Any of:
number
length_correlation
required
Length Correlation

Rank correlation between word count and rating. Far from 0 suggests a length bias.

Any of:
number
upsets
required
Upsets

Biggest upsets first, at most 25.

Array<object>
Upset

A call the final ranking disagrees with: the lower-rated item won.

object
comparison_id
required
Comparison Id
string format: uuid
pair_id
required
Pair Id
integer
winner_item
required
Winner Item
string format: uuid
loser_item
required
Loser Item
string format: uuid
rating_gap
required
Rating Gap
number
people_agreement
required

People’s checks of the judge’s verdicts; null until someone checks one.

Any of:
PeopleAgreement

How often people who checked a verdict agreed with the judge. Disagreements never change the ranking.

object
agreed
required
Agreed
integer
checked
required
Checked
integer
reliability
required
Reliability

The judge checks graded, worst first, in one plain sentence (from the engine).

object
grade
required
Grade

The worst graded check; null when too few calls to grade.

Any of:
string
Allowed values: good caution poor
line
required
Line
string
checks
required
Checks
Array<object>
JudgeCheck
object
key
required
Key
string
label
required
Label
string
value
required
Value

The number, or null when not measured yet.

Any of:
number
shown
required
Shown

The number as text, e.g. 92%.

string
grade
required
Grade
Any of:
string
Allowed values: good caution poor
note
required
Note

What the number means.

string
warning
required
Warning

One clause to say when the grade is poor.

string
interval
required
Interval

Confidence level of every interval, e.g. 90%.

string
n_bootstrap
required
N Bootstrap
integer

Example

{
"type": "ranking",
"ranking": {
"leaderboard": [
{
"selected": false
}
],
"excluded": [
{
"reason": "ineligible"
}
],
"diagnostics": {
"reliability": {
"grade": "good",
"checks": [
{
"grade": "good"
}
]
}
}
}
}

Client error. Branch on code; show message and hint.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}

Server error.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}