Artifacts
Each run writes case artifacts under <skillDir>/evals-runs/<runId>/. In --compare mode, each case contains separate directories for the two variants.
Default layout
Section titled “Default layout”<skillDir>/evals-runs/<runId>/├── eval-<case-id>/│ ├── assistant.md│ ├── outputs/│ ├── timing.json│ ├── grading.json│ ├── trace.json│ ├── tool-summary.json│ └── context-manifest.jsonAdd --iteration <name> and the layout becomes <skillDir>/evals-runs/iteration-<name>/<runId>/....
Per-case artifacts
Section titled “Per-case artifacts”assistant.md
Section titled “assistant.md”The final response in plain markdown.
outputs/
Section titled “outputs/”The workspace snapshot after the run. If the skill writes greeting.txt, the file appears here. Deterministic script assertions read from this directory.
grading.json
Section titled “grading.json”The per-assertion verdict. Its Anthropic-compatible assertion_results[] array contains text, passed, and evidence. The summary block contains passed, failed, soft_failed, total, and pass_rate. See Grading.
judge_model records the model that graded the plain-string assertions, for example { "provider": "mistral", "id": "ministral-8b-latest" }. A case with only script assertions omits it. The runner picks the judge in this order: --judge-model when set, then the model that ran the case, then mistral/ministral-8b-latest. When the runner model is also the judge, it grades its own output. Set --judge-model to another model when that bias matters.
timing.json
Section titled “timing.json”Runtime measurements:
{ "total_tokens": 12345, "duration_ms": 50123, "model": { "provider": "anthropic", "id": "claude-opus-4-5", "thinking": "medium" }, "thinking_level": "medium", "token_usage": { "input_tokens": 10000, "output_tokens": 2000, "cache_read_tokens": 300, "cache_write_tokens": 45, "total_tokens": 12345 }, "estimated_cost_usd": 0.1234, "context_window_tokens": 200000, "context_window_used_percent": 6.2}Records duration, model identity, thinking level, token counts, estimated cost, context-window size, and context-window use.
trace.json
Section titled “trace.json”The normalized runtime trace: response text, tool calls and results, file changes, skill reads, external calls, and references to raw runtime data. The EvalTrace shape is the same for the Pi SDK and Pi CLI JSON runners.
tool-summary.json
Section titled “tool-summary.json”Tool-use counters:
{ "tool_call_count": 8, "tool_error_count": 0, "tool_calls_by_name": { "read": 2, "bash": 3, "write": 2, "edit": 1 }, "skill_read_count": 1, "skill_reads_by_name": { "arc-conventional-commits": 1 }, "external_call_count": 0, "mcp_tool_call_count": 0}Use these counters to spot unexpected behavior without opening the full trace. For example, bash in the call counts shows that the case ran shell commands.
context-manifest.json
Section titled “context-manifest.json”The skills, tools, and ambient resources available during the case:
{ "runtime": "pi", "mode": "isolated", "attached_skills": [ { "name": "arc-conventional-commits", "path": ".../SKILL.md", "role": "target" } ], "available_tools": [{ "name": "bash", "source": "builtin" }], "active_tools": ["read", "bash", "edit", "write"], "mcp_tools": [], "mcp_servers": [], "ambient": { "extensions": false, "skills": false, "prompt_templates": false, "themes": false, "context_files": false }}For --compare runs, compare the manifests to confirm that only the target skill differs. The agent reads each skill from a temporary copy, but attached_skills[].path names the real SKILL.md, which still exists after the run. Skill reads in trace.json show the copy’s path, because that is the file the agent opened.
The run-level benchmark.json (compare runs only)
Section titled “The run-level benchmark.json (compare runs only)”--compare adds a top-level benchmark.json that aggregates per-case pass rates and the with/without delta:
<skillDir>/evals-runs/<runId>/├── benchmark.json├── eval-<case-id>/│ ├── with_skill/...│ └── without_skill/...Per-case results, overall pass rates, overall delta, and errors stay at the top level. Each case also lists its assertions with the verdict in both variants (with_skill, without_skill, discriminates), and summary.assertions_passing_in_both counts the ones that passed without the skill too. Pi-specific fields such as artifact paths, trace paths, token counts, timing, model metadata, estimated cost, context-window use, tool-call counts, MCP tool counts, and attached-skill summaries live under metadata.extensions.
The run-level trials.json (--trials runs only)
Section titled “The run-level trials.json (--trials runs only)”--trials <n> with n above 1 runs every case n times. The first trial writes the tree above. Later trials write the same tree under trial-<k>/:
<skillDir>/evals-runs/<runId>/├── trials.json├── eval-<case-id>/...├── trial-2/│ └── eval-<case-id>/...└── trial-3/ └── eval-<case-id>/...trials.json lists, for each case, how many trials crashed (errored_trials), how many had a hard failure (failed_trials), and each assertion with passed_trials, graded_trials and flaky. With --compare it adds delta: the delta of each trial, the median, the min and max, the spread (max - min) and measurable, which is true only when the median is larger than the spread. Only the first trial is exported to observability sinks.
The sync record: evals/sync.json
Section titled “The sync record: evals/sync.json”run --stamp writes <skillDir>/evals/sync.json when every case of the suite passes. It is not a run artifact: it lives next to evals.json and is meant to be committed.
{ "version": 1, "stamped_at": "2026-11-23T18:04:11.000Z", "run_id": "2026-11-23T18-03-52-118Z", "commit": "5426bf6…", "dirty": false, "skill": { "SKILL.md": "<sha256>", "references/guide.md": "<sha256>" }, "suite": { "evals.json": "<sha256>", "files/repo/package.json": "<sha256>" }}skill hashes every file of the skill except evals/, evals-runs/, node_modules/ and dot-files. suite hashes every file under evals/ except the record itself. commit and dirty are present when the skill is in a git repository. audit compares the hashes with the files on disk and names the ones that changed. A failing run, or a run narrowed with --case, is never stamped.
External observability (Laminar)
Section titled “External observability (Laminar)”Local artifacts remain available whether or not export succeeds. run --laminar can also send results to Laminar’s Evaluations view. See the --laminar flag for setup.
The export creates one evaluation per run variant (with_skill and without_skill) and one scored datapoint per case. Both evaluations share a group: the skill name, or LMNR_PROJECT_NAME when set. The run summary prints a dashboard URL for each evaluation.
Each datapoint includes grading verdicts, metrics, and artifact paths. It does not export response text, prompts, or file contents.
| Local source | Laminar datapoint fields |
|---|---|
| run id, iteration, skill name, variant | evaluation name + group; datapoint data |
| case id, model | datapoint data (case_id, provider/model) |
timing.json | scores: total_tokens, cost_usd, duration_ms; token breakdown in metadata |
grading.json summary | scores: pass_rate, passed, failed |
grading.json assertion results | output: per-assertion text, pass/fail, short evidence quote |
tool-summary.json | score: tool_calls; error/MCP/file-touch counts in metadata |
| per-case artifact paths | output artifacts, which links to the local files |
When a case has no gradable assertions, its pass_rate is null and the export omits the score instead of reporting 0.
If Laminar export fails, the run still completes, uses assertion results for its exit code, and writes local artifacts. The run reports the failed export without aborting.
Review files: review.html and feedback.json
Section titled “Review files: review.html and feedback.json”arc-skill-eval review <run-dir> writes two files into the run directory. review.html is a standalone report of the run. feedback.json has one entry per case with a status (needs-review at first), a notes field, and a feedback field for each variant, next to that variant’s grading summary.
You fill in feedback.json by hand, or press f on a case in browse to write a note into the newest run’s file. improve --from-feedback <feedback.json> reads the notes and the failed assertions and proposes suite changes. See review and improve.
Comparing iterations
Section titled “Comparing iterations”--iteration <name> puts each run under evals-runs/iteration-<name>/, so runs from one improvement cycle stay together. To compare two runs, open browse, select a run in the Runs panel, and press c to pin it as the baseline. The detail pane for any other run then shows the change in pass rate, cost, and model against that baseline. See Browse (TUI).
Not yet included
Section titled “Not yet included”- A snapshot of the evaluated
SKILL.mdfor each iteration.evals/sync.jsonrecords its hash at the last stamped run; use version control for the content. - A file that aggregates results across all iterations.
browsecompares two runs at a time.