BenchRound bench.round@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/round.v1.json

bench.round@1: a pinned, reproducible benchmark round on OpenVibe.Bench. TASK_ID names the task; OFFERS are the exact offers (provider, model, route) the round runs; STATUS follows queued, running, ready, finished or failed; SEED and RECEIPT make the round reproducible.

Fields

FieldTypeRequiredDescriptionConstraints
idstringyes
task_idstringyes
kind_idstringyes
offersarray of objectyes
statusenumyes
  • one of "queued", "running", "ready", "finished", "failed"
seedintegeryes
pool_fallbackboolean
receiptstring | null
created_bystringyes
created_atstringyes
  • format date-time

Examples

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

Valid: queued
{
  "id": "rnd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A6",
  "task_id": "tsk_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
  "kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "offers": [
    {
      "provider": "openai",
      "model": "gpt-4o"
    }
  ],
  "status": "queued",
  "seed": 1,
  "pool_fallback": false,
  "receipt": null,
  "created_by": "user:usr_01J8Z3Q4R5S6T7V8W9X0Y1Z2A5",
  "created_at": "2026-10-28T18:00:00.000Z"
}
Rejected: bad-status
{
  "id": "rnd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A6",
  "task_id": "tsk_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
  "kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "offers": [
    {
      "provider": "openai",
      "model": "gpt-4o"
    }
  ],
  "status": "bogus",
  "seed": 1,
  "pool_fallback": false,
  "receipt": null,
  "created_by": "user:usr_01J8Z3Q4R5S6T7V8W9X0Y1Z2A5",
  "created_at": "2026-10-28T18:00:00.000Z"
}

Validate

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