Files
aji/tools/eval/tests/scripts/aji_air.json
T
dev b49003bdb9 E0-3: language-neutral agent scaffold and run recorder
tools/eval (stdlib Python): one agent loop, system prompt and tool set
(list/read/write/edit files, run, finish) for every language; language
profiles for aji_air, rust, zig carry only toolchain invocation, docs
location and command classification; bubblewrap sandbox without
network, read-only toolchain and /docs; providers: Anthropic Messages,
OpenAI-compatible (incl. local servers), scripted; run record per
protocol §28 (hashes, versions, limits, hardware, seed, all events,
patches, commands, final repository, first-generation snapshot,
evaluator verdicts, cost); metrics §14-§17; resumable matrix plans;
report (VSR, repair cycles, context, cost per correct solution);
classify (§27 categories, caught-by, smoke-test causes).

docs/evaluation/harness.md (task format for the private benchmark
repository, evaluator contract, record schema); dev-tasks/dev-echo
(harness development task, no benchmark family); smoke plan shape for
the owner's E-S choice (binary/stream parser, bounded pipeline);
self-tests in CI
2026-10-04 17:17:43 +03:00

63 lines
1.3 KiB
JSON

[
[
{
"text": "Reading the interface."
},
{
"tool": "read_file",
"input": {
"path": "README.md"
}
}
],
[
{
"tool": "list_files",
"input": {
"path": "/docs"
}
}
],
[
{
"tool": "write_file",
"input": {
"path": "main.air",
"content": "broken"
}
}
],
[
{
"tool": "run",
"input": {
"command": "aji check main.air"
}
}
],
[
{
"tool": "write_file",
"input": {
"path": "main.air",
"content": "module echo\nair 0\nlang 0.1\nfeatures [arrays, capabilities, effects, ownership, resources]\n\nfn @main(%in: cap<io.read>, %out: cap<io.write>) -> void\neffects [io.read, io.write]\nentry:\n %b = local.alloc array<u8, 64>\n local.zero %b\n %m = borrow.mut %b\n %s = slice.make %m\n intrinsic io.stdin_read(%in, %s), ok -> @got, err -> @fail\ngot(%n: usize):\n %z = const.usize 0\n %part = slice.sub %s, %z, %n\n %pr = borrow.ref %part\n intrinsic io.stdout_write(%out, %pr), ok -> @done, err -> @fail2\ndone:\n borrow.end %pr\n borrow.end %part\n borrow.end %s\n borrow.end %m\n ret\nfail(%e: io_error):\n trap\nfail2(%e2: io_error):\n trap\n"
}
}
],
[
{
"tool": "run",
"input": {
"command": "sh test.sh"
}
}
],
[
{
"tool": "finish",
"input": {
"summary": "done"
}
}
]
]