Skip to content
Hayonix

API reference · Schema

EvaluationVerdict

  • labelstring

    Mode `label`: the chosen label

  • scorenumber

    Mode `grade`: the score given

  • winnerstring

    Mode `pairwise`: `a`, `b` or `tie` when both judging passes agree; `inconsistent` when they disagree

    One ofabtieinconsistent

  • passesobject

    Pairwise: the winner of each judging pass

    Show 2 fields of passes
    • a_firststringrequired

      The winner when A was shown to the judge first

      One ofabtie

    • b_firststringrequired

      The winner when B was shown to the judge first

      One ofabtie

Example
{
  "label": "string",
  "score": 1.5,
  "winner": "a",
  "passes": {
    "a_first": "a",
    "b_first": "a"
  }
}