Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python
16.2 KB
Raw Blame
{"task": "build-cython-ext", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/build-cython-ext:20251031", "pass_": false, "error": "timeout 900.0s", "wall_s": 1020.0}
{"task": "chess-best-move", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/chess-best-move:20251031", "wall_s": 363.4, "agent_exit": 0, "agent_tail": "26:23] agent: [tool_call shell] {\"command\":\"printf 'e2e4\\\\ng2g4\\\\n' > /app/move.txt && cat /app/move.txt\"}\n[04:26:23] tool shell: {\"exit_code\":0,\"stderr\":\"\",\"stdout\":\"e2e4\\ng2g4\\n\"}\n[04:26:23] agent: [reasoning] The user asked me to write the best move for white. There are two winning moves that are both mate in 1: e2e4 and g2g4. The instruction said \"If there are multiple winning moves, print them all, one p...\n[04:26:23] agent: Both mate-in-one moves are in `/app/move.txt`: `e2e4` and `g2g4`.\n", "calls": 15, "pass_": true, "verify_tail": ".                                                                        [100%]\n1 passed in 0.02s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "code-from-image", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/code-from-image:20251031", "wall_s": 177.2, "agent_exit": 0, "agent_tail": "133f103b9ecda444c70ec22cafef6e31a3de7af6d047974dc90ce3defe\\n\"}\n[04:30:27] agent: [reasoning] The task is complete. The final value is bee26a133f103b9ecda444c70ec22cafef6e31a3de7af6d047974dc90ce3defe which has been written to /app/output.txt.\n[04:30:27] agent: The pseudocode hashes the image bytes with SHA-256, then hashes that digest concatenated with its first 10 bytes and the salt `0000TBENCH-SALT`. The printed hex digest is:\n\n`bee26a133f103b9ecda444c70ec22cafef6e31a3de7af6d047974dc90ce3defe`\n", "calls": 10, "pass_": true, "verify_tail": "..                                                                       [100%]\n2 passed in 0.03s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "constraints-scheduling", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/constraints-scheduling:20251031", "wall_s": 78.5, "agent_exit": 0, "agent_tail": "d slots on Tuesday, Wednesday, and Thursday.\n[04:33:38] agent: Scheduled **Wednesday, January 17, 2024, 11:00\u201312:00 UTC** as the earliest valid 1-hour slot.\n\nHard constraints that rule out earlier times:\n- Monday and Tuesday have no 1-hour overlap after existing meetings, lunch, and hours limits\n- Wednesday before 11:00 is blocked (Bob not before 10:00; Alice busy 10:00\u201311:00)\n\nThe slot is in Alice\u2019s morning window and avoids Carol\u2019s Monday preference. Output is at `/app/meeting_scheduled.ics`.\n", "calls": 3, "pass_": true, "verify_tail": "...                                                                      [100%]\n3 passed in 3.52s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "db-wal-recovery", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/db-wal-recovery:20251031", "wall_s": 942.8, "agent_exit": 0, "agent_tail": "crypting it, SQLite applied the WAL frames and all 11 records were recovered.\n\n`/app/recovered.json` now contains:\n\n| id | name | value |\n|----|------|-------|\n| 1 | apple | 150 |\n| 2 | banana | 250 |\n| 3 | cherry | 300 |\n| 4 | date | 400 |\n| 5 | elderberry | 500 |\n| 6 | fig | 600 |\n| 7 | grape | 700 |\n| 8 | honeydew | 800 |\n| 9 | kiwi | 900 |\n| 10 | lemon | 1000 |\n| 11 | mango | 1100 |\n\nBase rows 1\u20135 were in the main DB (apple/banana values updated in WAL); rows 6\u201311 came from the WAL inserts.\n", "calls": 37, "pass_": true, "verify_tail": ".......                                                                  [100%]\n7 passed in 0.09s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "dna-insert", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/dna-insert:20251031", "wall_s": 417.3, "agent_exit": 0, "agent_tail": "TTAAAC\\n\"}\n[04:44:17] agent: [reasoning] The task is complete. I designed primers for Q5 site-directed mutagenesis to insert 39 bp.\n\n[04:44:17] agent: Designed one back-to-back Q5 primer pair for the 39 bp insertion after the ATG.\n\n- Forward primer carries the insertion plus a 16 nt 3\u2032 anneal (Tm 61.24 \u00b0C).\n- Reverse primer is a 32 nt reverse-complement of the sequence immediately upstream (Tm 59.84 \u00b0C).\n- \u0394Tm = 1.4 \u00b0C; both annealing arms are 15\u201345 nt and 58\u201372 \u00b0C.\n\nWritten to `primers.fasta`.\n", "calls": 20, "pass_": false, "verify_tail": "e primers must be within 5 degrees C of each other.\n=========================== short test summary info ============================\nFAILED ../tests/test_outputs.py::test_primers - AssertionError: Tm of forward...\n1 failed in 0.08s\nVEXIT:1", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "extract-elf", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/extract-elf:20251031", "wall_s": 655.5, "agent_exit": 0, "agent_tail": "= buffer.readUInt32LE(40);\nconst shentsize = buffer.readUInt16LE(58);\nconst shnum = buffer.readUInt16LE(60);\n\nlet phdr = [];\nfor (let i = 0; i < phnum; i++) {\n  const off = phoff + i * phentsize;\n  const type = buffer.\n[04:56:43] agent: `extract.js` is in place. It parses the ELF program headers, maps every `PT_LOAD` segment into 4-byte little-endian words at their virtual addresses, and prints a JSON object of `{address: value}`.\n\nRun it with:\n\n```bash\nnode extract.js /app/a.out > out.json\n```\n", "calls": 14, "pass_": true, "verify_tail": "..                                                                       [100%]\n2 passed in 1.74s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "gcode-to-text", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/gcode-to-text:20251031", "pass_": false, "error": "timeout 900.0s", "wall_s": 1020.0}
{"task": "git-leak-recovery", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/git-leak-recovery:20251031", "wall_s": 71.8, "agent_exit": 0, "agent_tail": "ch...\n[04:59:14] agent: Recovered the secret and cleaned it from the repo.\n\n1. **Secret recovered** to `/app/secret.txt`: `secret[lost_and_found_in_git]`\n   - It was in dangling commit `6b4c75c` (`feat: add scratch notes`) after a history rewrite (`git reset HEAD~1`).\n\n2. **Repo cleaned** so the secret is gone from objects, reflogs, and `ORIG_HEAD` (`git reflog expire` + `git gc --prune=now`).\n\n3. **Unrelated content left as-is**: `README.md`, current commits, and commit messages are unchanged.\n", "calls": 7, "pass_": true, "verify_tail": "py:101\n  /tests/test_outputs.py:101: SyntaxWarning: invalid escape sequence '\\.'\n    \"find /app/repo -type f -not -path '*/\\.*' \"\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n5 passed, 1 warning in 0.35s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "kv-store-grpc", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/kv-store-grpc:20251031", "pass_": false, "error": "timeout 900.0s", "wall_s": 1020.1}
{"task": "largest-eigenval", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/largest-eigenval:20251031", "pass_": false, "error": "timeout 900.0s", "wall_s": 1020.1}
{"task": "log-summary-date-ranges", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/log-summary-date-ranges:20251031", "wall_s": 24.7, "agent_exit": 0, "agent_tail": "327\\nmonth_to_date,INFO,19420\\ntotal,ERROR,14160\\ntotal,WARNING,18772\\ntotal,INFO,56621\\n\\n\"}\n[05:18:34] agent: [reasoning] The CSV has been written. Let me verify the counting method is correct. I used `content.count(f\"[{sev}]\")` which should work well. There was a log line that mentioned \"Next attempt will ERROR\" but tha...\n[05:18:34] agent: Wrote `/app/summary.csv` with ERROR, WARNING, and INFO counts for today, last 7 days, last 30 days, month-to-date, and total (reference date 2025-08-12).\n", "calls": 3, "pass_": true, "verify_tail": "..                                                                       [100%]\n2 passed in 0.05s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "merge-diff-arc-agi-task", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/merge-diff-arc-agi-task:20251031", "wall_s": 356.0, "agent_exit": 0, "agent_tail": "08f40d7b9735ed refs/heads/branch2\\n\"}\n[05:26:41] agent: [reasoning] The task is complete. Let me summarize what was done:\n\n[05:26:41] agent: The repo at `/app/repo` now has `branch1` and `branch2` from the two bundles, with `branch2` merged into `branch1`. Conflicts in `algo.py` are resolved.\n\n`map` tiles the non-zero colors along diagonals using `(i+j) % period`, inferring the smallest consistent period so it matches `/app/examples.json` and generalizes to other grids. All three examples pass.\n", "calls": 12, "pass_": true, "verify_tail": ".....                                                                    [100%]\n5 passed in 0.11s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "modernize-scientific-stack", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/modernize-scientific-stack:20251031", "wall_s": 32.1, "agent_exit": 0, "agent_tail": " requirements.\n\n[05:26:25] agent: Created a Python 3 climate analysis script and dependency file.\n\n**`/app/analyze_climate_modern.py`**\n- Reads CSV with pandas (`encoding=\"utf-8\"`)\n- Uses `pathlib.Path` for paths\n- Reads `config.ini` via `configparser`\n- Computes mean temperature for stations 101 and 102\n\n**`/app/requirements.txt`**\n- `numpy`, `pandas`, `matplotlib`, `scipy` with `>=` version pins\n\nSample output:\n```\nStation 101 mean temperature: -15.5\u00b0C\nStation 102 mean temperature: 30.3\u00b0C\n```\n", "calls": 4, "pass_": true, "verify_tail": "..                                                                       [100%]\n2 passed in 1.64s\nVEXIT:0", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "multi-source-data-merger", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/multi-source-data-merger:20251031", "wall_s": 113.2, "agent_exit": 0, "agent_tail": "n      \\\"selected\\\": \\\"2024-01-15\\\"\\n    }\\n  ]\\n}\\n\"}\n[05:29:01] agent: [reasoning] The task is complete. Let me summarize what was done:\n\n[05:29:01] agent: Merged all three sources into `/app/merged_users.parquet` (4 unique users) and wrote `/app/conflicts.json` (3 conflicts, all on user 101).\n\nField mappings and priority (`source_a` > `source_b` > `source_c`) were applied: user 101 takes A\u2019s name/email/date; 102 from A; 103 from B; 104 from C. Dates are `YYYY-MM-DD` and `user_id` is integer.\n", "calls": 5, "pass_": false, "verify_tail": "VEXIT:1\n/usr/local/bin/python3: No module named pytest", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "openssl-selfsigned-cert", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/openssl-selfsigned-cert:20251031", "wall_s": 29.9, "agent_exit": 0, "agent_tail": "HA-256 fingerprint |\n| `/app/check_cert.py` | Python verification script |\n\n**Certificate details:**\n- **Subject:** `O = DevOps Team, CN = dev-internal.company.local`\n- **Valid:** 2026-09-03 to 2027-09-03\n- **SHA-256 fingerprint:** `48:E9:83:48:5E:AE:8A:25:08:AA:FA:16:ED:EE:68:41:03:8A:D0:AC:0B:BB:FB:DF:12:D2:6B:DC:5C:4D:E0:B9`\n\n`python3 /app/check_cert.py` loads the cert and prints:\n\n```\nCommon Name: dev-internal.company.local\nExpiration Date: 2027-09-03\nCertificate verification successful\n```\n", "calls": 3, "pass_": false, "verify_tail": "VEXIT:1\n/usr/local/bin/python3: No module named pytest", "list_ordinary": 0, "list_cached": 0, "list_out": 0, "list_prompt": 0, "list_tokens": 0, "list_token_usd": 0.0, "list_tool_usd": 0.0, "list_usd": 0.0, "list_price_kind": "xai-list", "list_high_band": false, "cache_hit": null, "tok_per_call": 0}
{"task": "polyglot-c-py", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/polyglot-c-py:20251031", "wall_s": 2.5, "agent_exit": 1, "agent_tail": "Error: provider 'openai' unavailable\n\nCaused by:\n    0: Request failed after 2 retries\n    1: error sending request for url (https://api.x.ai/v1/responses)\n    2: client error (Connect)\n    3: dns error\n    4: failed to lookup address information: nodename nor servname provided, or not known\n", "calls": 0, "pass_": false, "error": "no exo container"}
{"task": "regex-log", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/regex-log:20251031", "wall_s": 1.5, "agent_exit": 1, "agent_tail": "Error: provider 'openai' unavailable\n\nCaused by:\n    0: Request failed after 2 retries\n    1: error sending request for url (https://api.x.ai/v1/responses)\n    2: client error (Connect)\n    3: dns error\n    4: failed to lookup address information: nodename nor servname provided, or not known\n", "calls": 0, "pass_": false, "error": "no exo container"}
{"task": "sanitize-git-repo", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/sanitize-git-repo:20251031", "wall_s": 2.0, "agent_exit": 1, "agent_tail": "Error: provider 'openai' unavailable\n\nCaused by:\n    0: Request failed after 2 retries\n    1: error sending request for url (https://api.x.ai/v1/responses)\n    2: client error (Connect)\n    3: dns error\n    4: failed to lookup address information: nodename nor servname provided, or not known\n", "calls": 0, "pass_": false, "error": "no exo container"}
{"task": "sqlite-db-truncate", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/sqlite-db-truncate:20251031", "wall_s": 1.8, "agent_exit": 1, "agent_tail": "Error: provider 'openai' unavailable\n\nCaused by:\n    0: Request failed after 2 retries\n    1: error sending request for url (https://api.x.ai/v1/responses)\n    2: client error (Connect)\n    3: dns error\n    4: failed to lookup address information: nodename nor servname provided, or not known\n", "calls": 0, "pass_": false, "error": "no exo container"}
{"task": "vulnerable-secret", "harness": "exo", "model": "grok-4.6", "image": "alexgshaw/vulnerable-secret:20251031", "wall_s": 2.2, "agent_exit": 1, "agent_tail": "Error: provider 'openai' unavailable\n\nCaused by:\n    0: Request failed after 2 retries\n    1: error sending request for url (https://api.x.ai/v1/responses)\n    2: client error (Connect)\n    3: dns error\n    4: failed to lookup address information: nodename nor servname provided, or not known\n", "calls": 0, "pass_": false, "error": "no exo container"}