Skip to content
HALOWERK

Aialignwerk

eval ordinal quadratic kappa

Return quadratic-weighted Cohen kappa and observed/expected disagreement from supplied ordinal ratings.

POST https://aialign.halowerk.com/v1/eval-ordinal-quadratic-kappa

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
levelsintegerYes
ratingsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "levels": {
      "type": "integer",
      "minimum": 2,
      "maximum": 20
    },
    "ratings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "first": {
            "type": "integer",
            "minimum": 0,
            "maximum": 19
          },
          "second": {
            "type": "integer",
            "minimum": 0,
            "maximum": 19
          }
        },
        "required": [
          "first",
          "second"
        ],
        "additionalProperties": false
      },
      "maxItems": 1000,
      "minItems": 1
    }
  },
  "required": [
    "levels",
    "ratings"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "levels": 3,
  "ratings": [
    {
      "first": 0,
      "second": 0
    },
    {
      "first": 1,
      "second": 1
    },
    {
      "first": 2,
      "second": 2
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub →