tree: 4540ce666e1363716b92cf2da83de841ae112bbf [search]
  1. harbor/
  2. src/
  3. tests/
  4. Cargo.toml
  5. README.md
  6. README.zh-CN.md
products/eval/README.md

maka-eval

简体中文

maka-eval runs containerized Harbor benchmark trials against the native Maka Host inside Docker.

Subcommands

  • maka-eval run (src/harbor.rs) — Writes the embedded MakaHostAgent adapter and Harbor job config into --out, bind-mounts a Linux binary bundle (maka, maka-python-worker, maka-eval) read-only at /opt/maka-agent, invokes harbor run, settles whole-root Host usage and per-request Quote pricing into run-summary.json (metering: complete or lower_bound, costUsd / meteringError, plus paths to guest-result.json, transcript.json, and Harbor's result.json), and validates trial evidence completeness.
  • maka-eval guest-run (src/guest.rs) — Executed inside the trial container. Initializes a fresh State Root (maka host init --settings-stdin), starts maka host serve --root, drives the task directly over HostClient / maka-app-client, waits for terminal agent.execution state, reconciles token usage across the root session and any spawned subagents into guest-result.json, and exports the full transcript to transcript.json.

Trial settlement

GuestRunResult distinguishes harness/container failures (infraFailed) from model/policy stops (subjectStopped) and clean finishes (completed). Unless infraFailed occurs, Harbor proceeds to Verifier grading (ctrf.json / reward). completed trials keep the Host and State Root alive through Verifier execution so background processes started by the agent remain testable until container teardown.