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
14 lines
757 B
JSON
14 lines
757 B
JSON
{
|
|
"name": "rust",
|
|
"display": "Rust",
|
|
"toolchain": {
|
|
"bind_command": ["rustc", "--print", "sysroot"],
|
|
"version": [["rustc", "--version"], ["cargo", "--version"]]
|
|
},
|
|
"docs": {"env": "AJI_EVAL_RUST_DOCS", "default": ""},
|
|
"source_extensions": [".rs"],
|
|
"instructions": "Language: Rust (stable toolchain, standard library only; no network, so no crates.io dependencies).\nToolchain: `cargo build`, `cargo test`, `cargo run`, `rustc`. Cargo works offline (`--offline` is implied by the environment).\nDocumentation: pinned local Rust documentation is in /docs (read-only), if present.",
|
|
"env": {"CARGO_NET_OFFLINE": "true"},
|
|
"classify": {"check": ["cargo check"], "build": ["cargo build", "rustc"], "test": ["cargo test", "cargo run"]}
|
|
}
|