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
This commit is contained in:
1 parent
d2932bd75a
commit
b49003bdb9
38 files changed
+1735
-5
No files matched your search
@@ -0,0 +1,63 @@
|
||||
[
|
||||
[
|
||||
{
|
||||
"text": "Reading the interface."
|
||||
},
|
||||
{
|
||||
"tool": "read_file",
|
||||
"input": {
|
||||
"path": "README.md"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"tool": "list_files",
|
||||
"input": {
|
||||
"path": "/docs"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"tool": "write_file",
|
||||
"input": {
|
||||
"path": "main.zig",
|
||||
"content": "broken"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"tool": "run",
|
||||
"input": {
|
||||
"command": "zig build-exe main.zig"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"tool": "write_file",
|
||||
"input": {
|
||||
"path": "main.zig",
|
||||
"content": "const std = @import(\"std\");\n\npub fn main(init: std.process.Init) !void {\n const io = init.io;\n var in_buf: [128]u8 = undefined;\n var fr: std.Io.File.Reader = .init(.stdin(), io, &in_buf);\n const data = try fr.interface.allocRemaining(init.arena.allocator(), .limited(1024));\n var out_buf: [128]u8 = undefined;\n var fw: std.Io.File.Writer = .init(.stdout(), io, &out_buf);\n try fw.interface.writeAll(data);\n try fw.interface.flush();\n}\n"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"tool": "run",
|
||||
"input": {
|
||||
"command": "sh test.sh"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"tool": "finish",
|
||||
"input": {
|
||||
"summary": "done"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
Reference in new issue
Block a user