BenchKind bench.kind@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/kind.v1.json

bench.kind@1: a benchmark kind on OpenVibe.Bench. ROOM is the room that owns the kind, ENTRY the shape a submitted entry takes, JUDGE the default judge (pair, rubric, automatic_grader, test_suite or game_outcome), NAME the display name, SCHEMA the entry JSON Schema, and METRICS the board metrics (elo, pareto, cost, or a room's own).

Fields

FieldTypeRequiredDescriptionConstraints
idstringyes
roomstringyes
entrystringyes
judgestringyes
namestringyes
schemaobjectyes
metricsarray of stringyes
created_atstringyes
  • format date-time

Examples

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

Valid: design-ui-copy
{
  "id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "room": "design",
  "entry": "prompt",
  "judge": "pair",
  "name": "UI copy",
  "schema": {
    "type": "object"
  },
  "metrics": [
    "elo",
    "cost"
  ],
  "created_at": "2026-10-28T18:00:00.000Z"
}
Rejected: missing-name
{
  "id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "room": "design",
  "entry": "prompt",
  "judge": "pair",
  "schema": {
    "type": "object"
  },
  "metrics": [
    "elo"
  ],
  "created_at": "2026-10-28T18:00:00.000Z"
}

Validate

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