BenchJudgement bench.judgement@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
bench
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/bench/judgement.v1.json

bench.judgement@1: a blind judgement cast on a benchmark round on OpenVibe.Bench. JUDGE names the judge (pair, rubric, automatic_grader, test_suite, game_outcome); METHOD is how the pair was decided; PAIR is the two entry ids; OUTCOME and SCORE are the result.

Fields

FieldTypeRequiredDescriptionConstraints
idstringyes
round_idstringyes
kind_idstringyes
judgestringyes
judge_namestring | null
judge_versionstring | null
methodstringyes
pairobject | nullyes
outcomestring | nullyes
scorenumber | nullyes
atstringyes
  • format date-time

Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

Valid: human-vote
{
  "id": "jdg_01J8Z3Q4R5S6T7V8W9X0Y1Z2A8",
  "round_id": "rnd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A6",
  "kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "judge": "pair",
  "judge_name": null,
  "judge_version": null,
  "method": "human_vote",
  "pair": {
    "a": "ent_01J8Z3Q4R5S6T7V8W9X0Y1Z2A7",
    "b": "ent_01J8Z3Q4R5S6T7V8W9X0Y1Z2A9"
  },
  "outcome": "a",
  "score": null,
  "at": "2026-10-28T18:05:00.000Z"
}
Rejected: missing-method
{
  "id": "jdg_01J8Z3Q4R5S6T7V8W9X0Y1Z2A8",
  "round_id": "rnd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A6",
  "kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "judge": "pair",
  "pair": {
    "a": "ent_01J8Z3Q4R5S6T7V8W9X0Y1Z2A7",
    "b": "ent_01J8Z3Q4R5S6T7V8W9X0Y1Z2A9"
  },
  "outcome": "a",
  "score": null,
  "at": "2026-10-28T18:05:00.000Z"
}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('bench.judgement@1', value);   // { valid, errors: [{ path, message }] }