{
  "schema_version": 1,
  "suite_version": "agent-workloads-v2",
  "suite_sha256": "4934c27246702e942f9e2553354cf6cc91959ef385cf553b387fa0363f9a2b60",
  "run": {
    "date": "2026-10-23",
    "model": "gemma-4-12b",
    "app_version": "0.1.25",
    "input_language": "en",
    "settings": {
      "temperature": 0,
      "max_tokens": 512,
      "maximum_retries": 0,
      "timeout_seconds": 120,
      "warmup_requests": 0,
      "split": "all"
    },
    "environment": {
      "operating_system": "macOS",
      "architecture": "aarch64",
      "chip": "Apple M5 Max",
      "memory_gib": 128,
      "logical_cpus_available": 18,
      "initial_model_state": "The model was already warm before the first run; no model download or switch was requested.",
      "concurrent_work": "An engine test build ran on the same machine during inference."
    },
    "total_elapsed_ms": 71718
  },
  "methodology": {
    "corpus": "24 public synthetic cases: eight per task, with two example cases and six separate holdout cases per task. Holdouts are excluded from examples; they are not secret or representative production data.",
    "request_format": {
      "messages": [
        {
          "role": "system",
          "content": "The exact instructions for the case workload."
        },
        {
          "role": "user",
          "content": "The JSON serialization of the case input object."
        }
      ],
      "stream": false,
      "response_format": {
        "type": "json_schema",
        "json_schema": {
          "name": "agent_workload",
          "strict": true,
          "schema": "The exact schema for the case workload."
        }
      }
    },
    "request_order": "One serial request per case; no retries or warmup requests.",
    "scoring": "Exact expected field values and labels. Candidate matching compares the set of selected IDs. Invalid responses score zero. Expected outputs and case identifiers are not included in model requests.",
    "limitations": [
      "One run on a small synthetic dataset does not establish accuracy on production data or other models.",
      "Schema validity is separate from task correctness. All 24 outputs matched their schemas; four answers were incorrect.",
      "The existing Loci 0.1.25 release performed inference. This run does not validate unreleased model-preparation or durable-job features.",
      "No external model provider or direct-runtime baseline was run. Parent-agent context savings, token savings, cost savings, and energy use were not measured.",
      "Timings reflect concurrent compilation and uncontrolled cache state; they are illustrative rather than an idle-machine performance comparison.",
      "Candidate matching selects snippets that positively establish a qualifying candidate. It does not measure general research relevance or justify discarding negative or contradictory evidence.",
      "After an initial run, the candidate-matching prompt was clarified to specify positive candidate selection. Source inputs and expected outputs were unchanged. These are the subsequent v2 results.",
      "All measured inputs and prompts were in English. Translated page descriptions do not establish performance on translated inputs."
    ]
  },
  "workloads": {
    "extraction": {
      "instructions": "Extract the CURRENT owner, due_date and quantity from the supplied source only. Return an object with those three fields. Each field is an object with status (known, missing, or conflict) and value. Known values must be copied exactly (quantity is an integer). Use null for missing or conflicting values. A clearly stated correction or replacement supersedes the old statement. Disagreement without a stated resolution is conflict. A suggestion, estimate or question does not establish a value. Do not infer a date or owner. Output only JSON, no prose.",
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "owner": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "known",
                  "missing",
                  "conflict"
                ]
              },
              "value": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "value"
            ]
          },
          "due_date": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "known",
                  "missing",
                  "conflict"
                ]
              },
              "value": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "value"
            ]
          },
          "quantity": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "known",
                  "missing",
                  "conflict"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "value"
            ]
          }
        },
        "required": [
          "owner",
          "due_date",
          "quantity"
        ]
      }
    },
    "triage": {
      "instructions": "Triage the CURRENT issue. Return JSON with route and severity. Routes: bug = an observed unexpected functional failure; support = help with expected behavior or configuration; feature = a request for new behavior; noise = a passed test, explicitly resolved incident, or no actionable issue. Severity: urgent only for current confirmed data loss, exposed credentials, or complete production outage; normal for other bug/support/feature cases; none for noise. Distinguish quoted, hypothetical and negated failures from observed ones. Output only JSON, no prose.",
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "route": {
            "type": "string",
            "enum": [
              "bug",
              "support",
              "feature",
              "noise"
            ]
          },
          "severity": {
            "type": "string",
            "enum": [
              "urgent",
              "normal",
              "none"
            ]
          }
        },
        "required": [
          "route",
          "severity"
        ]
      }
    },
    "candidate_matching": {
      "instructions": "Find source snippets that affirmatively establish at least one candidate or method satisfying the query's requirements. Return JSON {\"ids\":[...]}, with each qualifying snippet ID once. This task selects positive candidate matches, not all evidence relevant to a research question. A snippet must establish that a candidate meets the requested conditions; shared keywords alone do not suffice. Include qualifying paraphrases. Statements denying the capability, saying no candidates qualify, or only posing a question do not establish a positive candidate match. Exclude wrong products, wrong versions, and ads without qualifying facts. If no snippet establishes a qualifying positive candidate, return {\"ids\":[]}. Output only JSON, no prose.",
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "ids"
        ]
      }
    }
  },
  "summary": {
    "cases": 24,
    "correct": 20,
    "schema_valid": 24,
    "by_workload": {
      "extraction": {
        "cases": 8,
        "correct": 8,
        "schema_valid": 8
      },
      "triage": {
        "cases": 8,
        "correct": 5,
        "schema_valid": 8
      },
      "candidate_matching": {
        "cases": 8,
        "correct": 7,
        "schema_valid": 8
      }
    }
  },
  "cases": [
    {
      "id": "extract-example-direct",
      "split": "example",
      "workload": "extraction",
      "input": {
        "source": "Owner: Mira. Due date: 2027-02-03. Quantity: 12."
      },
      "expected": {
        "due_date": {
          "status": "known",
          "value": "2027-02-03"
        },
        "owner": {
          "status": "known",
          "value": "Mira"
        },
        "quantity": {
          "status": "known",
          "value": 12
        }
      },
      "observed": {
        "due_date": {
          "status": "known",
          "value": "2027-02-03"
        },
        "owner": {
          "status": "known",
          "value": "Mira"
        },
        "quantity": {
          "status": "known",
          "value": 12
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "extract-example-unknown",
      "split": "example",
      "workload": "extraction",
      "input": {
        "source": "Owner: Sol. No deadline or quantity was agreed."
      },
      "expected": {
        "due_date": {
          "status": "missing",
          "value": null
        },
        "owner": {
          "status": "known",
          "value": "Sol"
        },
        "quantity": {
          "status": "missing",
          "value": null
        }
      },
      "observed": {
        "due_date": {
          "status": "missing",
          "value": null
        },
        "owner": {
          "status": "known",
          "value": "Sol"
        },
        "quantity": {
          "status": "missing",
          "value": null
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "extract-holdout-conflict",
      "split": "holdout",
      "workload": "extraction",
      "input": {
        "source": "The shipping note says quantity 18. The purchase note says quantity 23. Neither is authoritative and the disagreement is unresolved. Owner: Lina. Due date: 2027-03-02."
      },
      "expected": {
        "due_date": {
          "status": "known",
          "value": "2027-03-02"
        },
        "owner": {
          "status": "known",
          "value": "Lina"
        },
        "quantity": {
          "status": "conflict",
          "value": null
        }
      },
      "observed": {
        "due_date": {
          "status": "known",
          "value": "2027-03-02"
        },
        "owner": {
          "status": "known",
          "value": "Lina"
        },
        "quantity": {
          "status": "conflict",
          "value": null
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "extract-holdout-correction",
      "split": "holdout",
      "workload": "extraction",
      "input": {
        "source": "Original: owner Jae, due date 2027-04-01, quantity 8. Approved correction replaces the original: owner Nia, due date 2027-04-04, quantity 9."
      },
      "expected": {
        "due_date": {
          "status": "known",
          "value": "2027-04-04"
        },
        "owner": {
          "status": "known",
          "value": "Nia"
        },
        "quantity": {
          "status": "known",
          "value": 9
        }
      },
      "observed": {
        "due_date": {
          "status": "known",
          "value": "2027-04-04"
        },
        "owner": {
          "status": "known",
          "value": "Nia"
        },
        "quantity": {
          "status": "known",
          "value": 9
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "extract-holdout-proposal",
      "split": "holdout",
      "workload": "extraction",
      "input": {
        "source": "Could Theo own this? We might aim for 2027-05-10 and perhaps order 20 units. These are suggestions; no owner, deadline or quantity is approved."
      },
      "expected": {
        "due_date": {
          "status": "missing",
          "value": null
        },
        "owner": {
          "status": "missing",
          "value": null
        },
        "quantity": {
          "status": "missing",
          "value": null
        }
      },
      "observed": {
        "due_date": {
          "status": "missing",
          "value": null
        },
        "owner": {
          "status": "missing",
          "value": null
        },
        "quantity": {
          "status": "missing",
          "value": null
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "extract-holdout-zero",
      "split": "holdout",
      "workload": "extraction",
      "input": {
        "source": "Approved cancellation: quantity 0. Owner: Omar. The due date was withdrawn and no replacement was set."
      },
      "expected": {
        "due_date": {
          "status": "missing",
          "value": null
        },
        "owner": {
          "status": "known",
          "value": "Omar"
        },
        "quantity": {
          "status": "known",
          "value": 0
        }
      },
      "observed": {
        "due_date": {
          "status": "missing",
          "value": null
        },
        "owner": {
          "status": "known",
          "value": "Omar"
        },
        "quantity": {
          "status": "known",
          "value": 0
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "extract-holdout-unresolved",
      "split": "holdout",
      "workload": "extraction",
      "input": {
        "source": "Ava and Ben each claim to be the current owner. The team has not resolved ownership. Two equally current plans disagree on the deadline: 2027-06-01 versus 2027-06-05. Both specify quantity 11."
      },
      "expected": {
        "due_date": {
          "status": "conflict",
          "value": null
        },
        "owner": {
          "status": "conflict",
          "value": null
        },
        "quantity": {
          "status": "known",
          "value": 11
        }
      },
      "observed": {
        "due_date": {
          "status": "conflict",
          "value": null
        },
        "owner": {
          "status": "conflict",
          "value": null
        },
        "quantity": {
          "status": "known",
          "value": 11
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "extract-holdout-negation",
      "split": "holdout",
      "workload": "extraction",
      "input": {
        "source": "Owner: Priya, not Dax. Due date: 2027-07-12, not 2027-07-21. The quantity has not been supplied. The ticket number is 42; that is not a quantity."
      },
      "expected": {
        "due_date": {
          "status": "known",
          "value": "2027-07-12"
        },
        "owner": {
          "status": "known",
          "value": "Priya"
        },
        "quantity": {
          "status": "missing",
          "value": null
        }
      },
      "observed": {
        "due_date": {
          "status": "known",
          "value": "2027-07-12"
        },
        "owner": {
          "status": "known",
          "value": "Priya"
        },
        "quantity": {
          "status": "missing",
          "value": null
        }
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "triage-example-bug",
      "split": "example",
      "workload": "triage",
      "input": {
        "issue": "Saving a valid draft shows an error and the draft does not save. Existing drafts are intact."
      },
      "expected": {
        "route": "bug",
        "severity": "normal"
      },
      "observed": {
        "route": "bug",
        "severity": "normal"
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "triage-example-support",
      "split": "example",
      "workload": "triage",
      "input": {
        "issue": "How do I change the timezone? The clock works correctly and I cannot find the setting."
      },
      "expected": {
        "route": "support",
        "severity": "normal"
      },
      "observed": {
        "route": "support",
        "severity": "none"
      },
      "correct": false,
      "schema_valid": true
    },
    {
      "id": "triage-holdout-injected",
      "split": "holdout",
      "workload": "triage",
      "input": {
        "issue": "Test log: ERROR panic data loss. Those strings were intentionally injected into a fixture; all assertions passed. No production system was involved."
      },
      "expected": {
        "route": "noise",
        "severity": "none"
      },
      "observed": {
        "route": "noise",
        "severity": "none"
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "triage-holdout-data-loss",
      "split": "holdout",
      "workload": "triage",
      "input": {
        "issue": "After today's synchronization, every saved invoice vanished from the production account. Backups are also empty. This is still happening; users cannot recover the records."
      },
      "expected": {
        "route": "bug",
        "severity": "urgent"
      },
      "observed": {
        "route": "bug",
        "severity": "urgent"
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "triage-holdout-negated",
      "split": "holdout",
      "workload": "triage",
      "input": {
        "issue": "There is no crash or error. The app correctly warns about an expired login. How can I sign in again?"
      },
      "expected": {
        "route": "support",
        "severity": "normal"
      },
      "observed": {
        "route": "support",
        "severity": "none"
      },
      "correct": false,
      "schema_valid": true
    },
    {
      "id": "triage-holdout-request",
      "split": "holdout",
      "workload": "triage",
      "input": {
        "issue": "Please add a crash-course tutorial for new users. There is no malfunction; this is a request for a new onboarding lesson."
      },
      "expected": {
        "route": "feature",
        "severity": "normal"
      },
      "observed": {
        "route": "feature",
        "severity": "none"
      },
      "correct": false,
      "schema_valid": true
    },
    {
      "id": "triage-holdout-resolved",
      "split": "holdout",
      "workload": "triage",
      "input": {
        "issue": "Yesterday's production outage is fully resolved. All endpoints are healthy now, no data was lost, and no further action is needed."
      },
      "expected": {
        "route": "noise",
        "severity": "none"
      },
      "observed": {
        "route": "noise",
        "severity": "none"
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "triage-holdout-semantic",
      "split": "holdout",
      "workload": "triage",
      "input": {
        "issue": "Clicking the sort arrow rearranges nothing despite visibly different dates. It happens on every click. Other functions work and no records are lost."
      },
      "expected": {
        "route": "bug",
        "severity": "normal"
      },
      "observed": {
        "route": "bug",
        "severity": "normal"
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "filter-example-offline",
      "split": "example",
      "workload": "candidate_matching",
      "input": {
        "query": "Which notes apps support editing without a network connection?",
        "results": [
          {
            "id": "a",
            "text": "Cedar Notes lets you edit offline and sync when connected."
          },
          {
            "id": "b",
            "text": "Cedar Notes requires a live network connection to edit."
          },
          {
            "id": "c",
            "text": "An overview of network cables."
          }
        ]
      },
      "expected": {
        "ids": [
          "a"
        ]
      },
      "observed": {
        "ids": [
          "a"
        ]
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "filter-example-export",
      "split": "example",
      "workload": "candidate_matching",
      "input": {
        "query": "How can a user export a CSV from Acorn 2?",
        "results": [
          {
            "id": "a",
            "text": "Acorn 2: choose File, Export, then CSV."
          },
          {
            "id": "b",
            "text": "Acorn 1 can export CSV; this guide covers only version 1."
          },
          {
            "id": "c",
            "text": "Can Acorn 2 export CSV? We have no answer yet."
          }
        ]
      },
      "expected": {
        "ids": [
          "a"
        ]
      },
      "observed": {
        "ids": [
          "a"
        ]
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "filter-holdout-retry",
      "split": "holdout",
      "workload": "candidate_matching",
      "input": {
        "query": "Which Harbor 3 operations retry failed uploads automatically?",
        "results": [
          {
            "id": "a",
            "text": "Harbor 3 retries failed uploads automatically for background sync."
          },
          {
            "id": "b",
            "text": "Harbor 3 manual upload does not retry failed uploads automatically."
          },
          {
            "id": "c",
            "text": "Harbor 3 scheduled transfers send the file again after transient delivery failures without user intervention."
          },
          {
            "id": "d",
            "text": "Harbor 2 retries failed uploads automatically for all operations."
          },
          {
            "id": "e",
            "text": "Harbor 3 failed uploads retry automatically? A community question without replies."
          }
        ]
      },
      "expected": {
        "ids": [
          "a",
          "c"
        ]
      },
      "observed": {
        "ids": [
          "a",
          "c"
        ]
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "filter-holdout-retention",
      "split": "holdout",
      "workload": "candidate_matching",
      "input": {
        "query": "Which Maple backup plans retain deleted files for at least 30 days?",
        "results": [
          {
            "id": "a",
            "text": "Maple Basic retains deleted files for 7 days, not 30 days."
          },
          {
            "id": "b",
            "text": "Maple Plus keeps deleted files for 30 days."
          },
          {
            "id": "c",
            "text": "Maple Archive preserves removed items for ninety days."
          },
          {
            "id": "d",
            "text": "Pine Backup retains deleted files for 60 days."
          },
          {
            "id": "e",
            "text": "Maple backup plans: compare deleted files and 30-day retention. This ad contains no plan details."
          }
        ]
      },
      "expected": {
        "ids": [
          "b",
          "c"
        ]
      },
      "observed": {
        "ids": [
          "b"
        ]
      },
      "correct": false,
      "schema_valid": true
    },
    {
      "id": "filter-holdout-platform",
      "split": "holdout",
      "workload": "candidate_matching",
      "input": {
        "query": "Which Granite 4 features work on Linux?",
        "results": [
          {
            "id": "a",
            "text": "Granite 4 cloud sync is unsupported on Linux."
          },
          {
            "id": "b",
            "text": "Granite 4 text search works on Linux."
          },
          {
            "id": "c",
            "text": "On Ubuntu, Granite 4 can scan paper documents using connected scanners."
          },
          {
            "id": "d",
            "text": "Granite 3 image search works on Linux; version 4 is not covered."
          },
          {
            "id": "e",
            "text": "Granite 4 features on Linux: ask our sales team for details."
          }
        ]
      },
      "expected": {
        "ids": [
          "b",
          "c"
        ]
      },
      "observed": {
        "ids": [
          "b",
          "c"
        ]
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "filter-holdout-permission",
      "split": "holdout",
      "workload": "candidate_matching",
      "input": {
        "query": "Which Atlas roles can invite new members without administrator approval?",
        "results": [
          {
            "id": "a",
            "text": "Atlas viewers cannot invite new members without administrator approval."
          },
          {
            "id": "b",
            "text": "Atlas owners can invite new members directly, with no administrator approval."
          },
          {
            "id": "c",
            "text": "Atlas team managers may send membership invitations on their own authority."
          },
          {
            "id": "d",
            "text": "Atlas contributors may draft invitations but an administrator must approve every invitation."
          },
          {
            "id": "e",
            "text": "Atlas is a collection of maps and member countries."
          }
        ]
      },
      "expected": {
        "ids": [
          "b",
          "c"
        ]
      },
      "observed": {
        "ids": [
          "b",
          "c"
        ]
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "filter-holdout-time",
      "split": "holdout",
      "workload": "candidate_matching",
      "input": {
        "query": "Which Nimbus support channels are available after 18:00 UTC?",
        "results": [
          {
            "id": "a",
            "text": "Nimbus phone support closes at 18:00 UTC and is unavailable afterward."
          },
          {
            "id": "b",
            "text": "Nimbus live chat is staffed until 22:00 UTC."
          },
          {
            "id": "c",
            "text": "Nimbus email support operates around the clock."
          },
          {
            "id": "d",
            "text": "Cirrus support channels are available after 18:00 UTC."
          },
          {
            "id": "e",
            "text": "Nimbus support after 18:00 UTC? The author says they do not know."
          }
        ]
      },
      "expected": {
        "ids": [
          "b",
          "c"
        ]
      },
      "observed": {
        "ids": [
          "b",
          "c"
        ]
      },
      "correct": true,
      "schema_valid": true
    },
    {
      "id": "filter-holdout-none",
      "split": "holdout",
      "workload": "candidate_matching",
      "input": {
        "query": "Which Birch 5 plans include offline voice transcription?",
        "results": [
          {
            "id": "a",
            "text": "No Birch 5 plan includes offline voice transcription."
          },
          {
            "id": "b",
            "text": "Birch 5 voice transcription requires a network connection on every plan."
          },
          {
            "id": "c",
            "text": "Birch 4 Enterprise included offline voice transcription; this page does not describe Birch 5."
          },
          {
            "id": "d",
            "text": "Oak plans include offline voice transcription."
          },
          {
            "id": "e",
            "text": "Birch 5 plans and offline voice transcription: click for a demo, with no feature details provided."
          }
        ]
      },
      "expected": {
        "ids": []
      },
      "observed": {
        "ids": []
      },
      "correct": true,
      "schema_valid": true
    }
  ]
}
