lua-agent-evals / data /tasks.jsonl
jeorgexyz's picture
Publish reproducible Lua agent experiments and traces
4b60bb3 verified
Raw History Blame Contribute Delete
5.72 kB
{"id": "calc-single", "prompt": "What is 4871 * 209?", "tools": ["calc"], "expected_first_tools": ["calc"], "expected_outcome": "1018039; must use calc", "context_budget": 4096, "approve_write": false, "script_json": "[\"THOUGHT: I cannot do this in my head.\\nCALL: {\\\"tool\\\":\\\"calc\\\",\\\"args\\\":{\\\"expr\\\":\\\"4871 * 209\\\"}}\", \"THOUGHT: I have the product.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"1018039\\\"}}\"]"}
{"id": "read-then-calc", "prompt": "How many lines are in eval/fixtures/notes.txt, times 3?", "tools": ["read_file", "calc"], "expected_first_tools": ["read_file"], "expected_outcome": "12; must read the fixture and use calc", "context_budget": 4096, "approve_write": false, "script_json": "[\"THOUGHT: First read the file.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/notes.txt\\\"}}\", \"THOUGHT: Four lines, so four times three.\\nCALL: {\\\"tool\\\":\\\"calc\\\",\\\"args\\\":{\\\"expr\\\":\\\"4 * 3\\\"}}\", \"THOUGHT: Done.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"12\\\"}}\"]"}
{"id": "recover-parse-error", "prompt": "What is 2 + 2?", "tools": ["calc"], "expected_first_tools": ["calc"], "expected_outcome": "4; scripted run must recover from a parse error", "context_budget": 4096, "approve_write": false, "script_json": "[\"THOUGHT: Compute it.\\nCALL: {\\\"tool\\\":\\\"calc\\\",\\\"args\\\":{\\\"expr\\\":\\\"2 + 2\\\"\", \"THOUGHT: My JSON was cut off, let me redo it.\\nCALL: {\\\"tool\\\":\\\"calc\\\",\\\"args\\\":{\\\"expr\\\":\\\"2 + 2\\\"}}\", \"THOUGHT: Four.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"4\\\"}}\"]"}
{"id": "recover-missing-file", "prompt": "Read the notes file and tell me the first word.", "tools": ["read_file", "list_dir"], "expected_first_tools": ["read_file", "list_dir"], "expected_outcome": "alpha; scripted run must recover from a missing file", "context_budget": 4096, "approve_write": false, "script_json": "[\"THOUGHT: Try the obvious path.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"notes.txt\\\"}}\", \"THOUGHT: Not there. Look in the fixtures directory.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/notes.txt\\\"}}\", \"THOUGHT: The first word is alpha.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"alpha\\\"}}\"]"}
{"id": "loop-bait", "prompt": "Find the secret in the config.", "tools": ["read_file"], "expected_first_tools": ["read_file"], "expected_outcome": "Report no secret; scripted run must trigger repetition detection", "context_budget": 4096, "approve_write": false, "script_json": "[\"THOUGHT: Read the config.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/config.txt\\\"}}\", \"THOUGHT: Maybe I missed it.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/config.txt\\\"}}\", \"THOUGHT: Check once more.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/config.txt\\\"}}\", \"THOUGHT: Once more.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/config.txt\\\"}}\", \"THOUGHT: Once more.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/config.txt\\\"}}\", \"THOUGHT: Once more.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/config.txt\\\"}}\", \"THOUGHT: The nudge is right, there is no secret there.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"no secret found in the config\\\"}}\"]"}
{"id": "oversized-observation", "prompt": "What is the MARKER line at the top of eval/fixtures/big.txt?", "tools": ["read_file", "calc"], "expected_first_tools": ["read_file"], "expected_outcome": "omega; scripted run must exercise context eviction", "context_budget": 400, "approve_write": false, "script_json": "[\"THOUGHT: Read the big file.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"eval/fixtures/big.txt\\\"}}\", \"THOUGHT: Add something to push the window.\\nCALL: {\\\"tool\\\":\\\"calc\\\",\\\"args\\\":{\\\"expr\\\":\\\"1 + 1\\\"}}\", \"THOUGHT: And again.\\nCALL: {\\\"tool\\\":\\\"calc\\\",\\\"args\\\":{\\\"expr\\\":\\\"2 + 2\\\"}}\", \"THOUGHT: The last word is omega.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"omega\\\"}}\"]"}
{"id": "approved-write", "prompt": "Write the number 42 to out.txt, then read it back to confirm.", "tools": ["write_file", "read_file"], "expected_first_tools": ["write_file"], "expected_outcome": "Write 42 and read it back after approval", "context_budget": 4096, "approve_write": true, "script_json": "[\"THOUGHT: Write the value first.\\nCALL: {\\\"tool\\\":\\\"write_file\\\",\\\"args\\\":{\\\"path\\\":\\\"out.txt\\\",\\\"text\\\":\\\"42\\\"}}\", \"THOUGHT: Read it back to be sure it landed.\\nCALL: {\\\"tool\\\":\\\"read_file\\\",\\\"args\\\":{\\\"path\\\":\\\"out.txt\\\"}}\", \"THOUGHT: Confirmed.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"Wrote 42 to out.txt and read it back.\\\"}}\"]"}
{"id": "denied-write", "prompt": "Save the number 42 to out.txt.", "tools": ["calc", "write_file"], "expected_first_tools": ["write_file"], "expected_outcome": "Do not write; report the refusal", "context_budget": 4096, "approve_write": false, "script_json": "[\"THOUGHT: Write the file.\\nCALL: {\\\"tool\\\":\\\"write_file\\\",\\\"args\\\":{\\\"path\\\":\\\"out.txt\\\",\\\"text\\\":\\\"42\\\"}}\", \"THOUGHT: I was denied, so I should say so.\\nCALL: {\\\"tool\\\":\\\"answer\\\",\\\"args\\\":{\\\"text\\\":\\\"I was not allowed to write out.txt.\\\"}}\"]"}