{
  "schema_version": 1,
  "diagram_type": "sequence",
  "meta": {
    "title": "Rubric Rumble: from model setup to recorded results",
    "quality_profile": "showcase",
    "animation": "none",
    "column_fit": "spread",
    "viewBox": [
      1000,
      538
    ]
  },
  "participants": [
    {
      "id": "rr-entry",
      "type": "frontend",
      "label": "Desktop / CLI"
    },
    {
      "id": "rr-prepare",
      "type": "backend",
      "label": "Preparation"
    },
    {
      "id": "rr-contract",
      "type": "security",
      "label": "Task and plan"
    },
    {
      "id": "rr-run",
      "type": "backend",
      "label": "Run workflow"
    },
    {
      "id": "rr-execute",
      "type": "backend",
      "label": "Capture / compare"
    },
    {
      "id": "rr-files",
      "type": "database",
      "label": "Local evidence"
    }
  ],
  "messages": [
    {
      "id": "rr-whole-01",
      "from": "rr-entry",
      "to": "rr-prepare",
      "y": 160,
      "label": "Optional explicit list, probe or research"
    },
    {
      "id": "rr-whole-02",
      "from": "rr-prepare",
      "to": "rr-entry",
      "y": 189,
      "label": "Visible IDs / observed text / quoted facts",
      "variant": "return"
    },
    {
      "id": "rr-whole-03",
      "from": "rr-entry",
      "to": "rr-contract",
      "y": 218,
      "label": "Task, examples, candidates and mode"
    },
    {
      "id": "rr-whole-04",
      "from": "rr-contract",
      "to": "rr-entry",
      "y": 247,
      "label": "Validate and preview maximum calls",
      "variant": "return"
    },
    {
      "id": "rr-whole-05",
      "from": "rr-entry",
      "to": "rr-files",
      "y": 276,
      "label": "Explicit run: reserve a new result folder",
      "variant": "security"
    },
    {
      "id": "rr-whole-06",
      "from": "rr-entry",
      "to": "rr-run",
      "y": 305,
      "label": "Execute selected task and mode"
    },
    {
      "id": "rr-whole-07",
      "from": "rr-run",
      "to": "rr-contract",
      "y": 334,
      "label": "Revalidate; gate network; check required keys",
      "variant": "security"
    },
    {
      "id": "rr-whole-08",
      "from": "rr-run",
      "to": "rr-execute",
      "y": 363,
      "label": "Capture answers OR evaluate then compare"
    },
    {
      "id": "rr-whole-09",
      "from": "rr-execute",
      "to": "rr-run",
      "y": 392,
      "label": "Outputs, failures; judged modes add a ladder",
      "variant": "return"
    },
    {
      "id": "rr-whole-10",
      "from": "rr-run",
      "to": "rr-entry",
      "y": 421,
      "label": "Finalize status, usage and estimated subtotals",
      "variant": "return"
    },
    {
      "id": "rr-whole-11",
      "from": "rr-entry",
      "to": "rr-files",
      "y": 450,
      "label": "Save result.json and report.html"
    }
  ],
  "cards": [
    {
      "dot": "cyan",
      "title": "Choose the work, then inspect it",
      "items": [
        "Single and Batch collect responses. Battle compares two candidates. Tournament inserts evaluated candidates into a judged ladder."
      ]
    },
    {
      "dot": "amber",
      "title": "Preparation is not automatic",
      "items": [
        "Discovery, greetings and supplied-source research are separate explicit actions. Their evidence does not automatically change task limits or certify a model."
      ]
    }
  ]
}
