RefinedNeuro commited on
Commit
b2d3100
·
verified ·
1 Parent(s): 38a3f0c

AgentDeliveryBench: tasks+harness+README

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-generation
5
+ tags:
6
+ - agent
7
+ - tool-use
8
+ - function-calling
9
+ - benchmark
10
+ - evaluation
11
+ - agentic
12
+ language:
13
+ - en
14
+ pretty_name: AgentDeliveryBench
15
+ ---
16
+
17
+ # AgentDeliveryBench — does your tool-using agent actually *deliver the answer*?
18
+
19
+ A small, fast, deterministic benchmark for **multi-turn tool-using agents** that measures the two
20
+ things state-based benchmarks miss:
21
+
22
+ 1. **Answer delivery** — after using tools, does the agent give a final natural-language answer that
23
+ actually *states the correct result*?
24
+ 2. **Termination** — does it finish within a turn budget *without looping* (no repeated/identical
25
+ tool calls, no running to max-turns)?
26
+
27
+ ## Why this exists
28
+
29
+ Popular function-calling benchmarks (e.g. BFCL `multi_turn`) score the **final backend STATE** — did
30
+ the right files/DB rows end up correct. We found this is *misleading for real agents*: a model can
31
+ **pass the benchmark while being useless** — it makes the right tool calls, leaves the correct state,
32
+ but then **loops** or ends with *"Done — I've completed that"* and **never tells the user the
33
+ answer**. We watched fine-tunes that beat the state benchmark score **0/15** on real agent tasks
34
+ (loop, never answer), while smaller untuned models that *delivered answers* scored far higher.
35
+
36
+ **AgentDeliveryBench scores what a user actually experiences:** a correct, stated answer, delivered
37
+ without flailing.
38
+
39
+ ## What's in it
40
+
41
+ - **`agent_tasks.json`** — 30 verifiable tasks across 5 difficulty tiers (easy → expert), each with a
42
+ deterministic answer. Tiers: easy(3), medium(4), hard(4), really_hard(4), **expert(15)**. The
43
+ expert tier targets the agentic failure modes: error-recovery, multi-constraint search,
44
+ long-horizon dependency chains, read-modify-write loops, fidelity (big-number / exact value),
45
+ and verification.
46
+ - **`agent_eval.py`** — a faithful, lightweight agent loop over any **OpenAI-compatible**
47
+ `/v1/chat/completions` endpoint (works with Ollama, vLLM, etc.) with a real **sandboxed toolset**
48
+ (`write_file`, `read_file`, `run_python`). Model-agnostic (handles native `tool_calls` *and* raw
49
+ Hermes `<tool_call>`). Scores **success = answer_ok AND terminated**, with a per-difficulty
50
+ breakdown.
51
+ - **`generate_harvest_tasks.py`** — generates a larger TRAIN split of task variations (the 30 stay
52
+ held-out as the gate).
53
+
54
+ ## Run it
55
+
56
+ ```bash
57
+ # point at any OpenAI-compatible server (default: local Ollama)
58
+ AGENTEVAL_URL=http://127.0.0.1:11434/v1/chat/completions \
59
+ python agent_eval.py <model> --tasks agent_tasks.json --max-turns 10
60
+ ```
61
+
62
+ ## Leaderboard (30 tasks, success = correct stated answer + clean termination)
63
+
64
+ | model | overall | easy | medium | hard | really_hard | expert |
65
+ |---|---|---|---|---|---|---|
66
+ | **Qwen3.5-4B** | **0.90** | 3/3 | 4/4 | 4/4 | 4/4 | 12/15 |
67
+ | Qwen3.5-2B | 0.77 | 3/3 | 4/4 | 3/4 | 4/4 | 9/15 |
68
+ | Qwen3.5-0.8B | 0.53 | 3/3 | 2/4 | 3/4 | 3/4 | 5/15 |
69
+ | *(BFCL-tuned 3B fine-tunes)* | ~0.00 | — | — | — | — | — |
70
+
71
+ Note the punchline: models that **win state-based benchmarks (and have stronger raw reasoning)** can
72
+ score **~0 here** — they make correct tool calls but **loop and never state the answer**. Even a
73
+ **0.8B** model that *delivers* answers beats them. The discriminating axis is **termination /
74
+ answer-delivery**, not tool-call correctness.
75
+
76
+ ## License
77
+ Apache-2.0.