Two defensible answers, one sentence apart
Ask an agent, “Which country has the most fraud?” and two answers can both make sense. One country has the largest total. Another has the highest rate.
Adyen’s DABstep benchmark1 contains just such a question:
What is the top country (ip_country) for fraud? A. NL, B. BE, C. ES, D. FR
The Netherlands leads on total fraudulent payments and euros. Belgium leads on the rate. The benchmark expects Belgium because its manual defines fraud as a ratio:
Fraud is defined as the ratio of fraudulent volume over total volume.
The calculation alone cannot tell an agent which definition to use. That led us to test how much a guide to the business rules can help an agent answer questions about the data.
Two models scored 35% with data alone, 41–49% with the benchmark’s own manual, and 76–84% with a guide we wrote and checked against development answers. The improvement came with curated context; we did not isolate which changes to the documentation mattered.
What we tested
We ran five models on 49 DABstep questions about payments and fees, once per question in each setup. We wrote the rules before inspecting these tasks. Follow-up comparisons reused tasks whose results we had already seen. We tested:
- Raw: SQL access to the data files, without the manual or payments readme.
- Document: the same access, plus a guide exported from the descriptions we had written in Mycorr.
- Mycorr: access through Mycorr’s agent tools, including descriptions, links between tables, units and two saved queries for calculating fees.
Our guide included rules from the manual and conventions we worked out and checked against development answers. For example, a blank field in a fee rule means “any value”; it does not disqualify the rule. Matching fees are added together. The data alone does not explain those choices.
This was curated context, informed by example answers. We did not test what someone could achieve by writing documentation without those answers.
The setups also differed in more than delivery. One version of the guide included SQL for the saved queries; the other contained descriptions alone. Mycorr could run the saved queries directly in both setups. The methods and available data below summarise the setup, scores and limits.
The curated guide made a large difference
Qwen received descriptions alone. The other four models also received SQL for the saved queries.
Every model scored higher with the guide. Haiku went from 18 correct answers to 40: 37% to 82%. Qwen went from 17 to 37: 35% to 76%. The gains for Haiku, Qwen and GPT remained statistically significant after accounting for the five comparisons.
The largest gains were among the models with the lowest starting scores. That is a pattern in these runs, not a rule about smaller models. All five answered the same questions, and their document versions were not identical.
The benchmark’s scoring has limits as well. Its scorer ignores a number’s sign: one Qwen answer of 45.82 counted as correct when the expected answer was −45.82. Throughout this post, “correct” means accepted by that scorer, not independently verified as a sound business answer.
The benchmark already supplies a manual. We compared it with our guide to see what the extra curation added. Both models received a guide containing descriptions without SQL examples. Haiku was tested separately from the first chart, with the same agent settings across all three setups.
Haiku answered 24 questions correctly with the manual and 41 with our guide. Qwen answered 20 and 37, respectively. Both answered 17 with data alone. The manual did better on a few individual questions, so the guide did not improve every answer.
Our guide was about a third of the manual’s length. It also reorganised the material and added conventions checked against development answers. We cannot separate those contributions. The useful finding is that this curated guide helped more than the existing manual—not that shorter prose alone caused the improvement.
What I would try on my own data
Start with the decisions an analyst would otherwise have to guess: what a metric means, which records count, what a blank field means and how fees combine. Write them down, then check them against questions whose answers you trust.
For a small schema, try giving the agent that context as a document. In our headline comparison, Haiku with the document answered 40 of 49 questions; Opus with the raw data answered 39. That makes testing your context worthwhile before assuming you need a stronger model.
In this experiment the document was exported from Mycorr. Authoring the context beside the data and giving an agent a document are compatible choices. We have not yet measured whether serving it live pays off on larger or changing datasets.
There are important limits to this advice. DABstep is public, and its leaderboard exposes answers, so models may already know some of the material.2 Our expected answers came from leaderboard consensus rather than an official held-out answer set. We ran each setup once, so we did not measure variation across repeated runs.
These results make curated context worth trying. They leave open how well it will transfer to your data, and how much work it will take to write and maintain the right rules.
To try this on your own tables, read the docs or start on the free plan.
If you are putting an agent on data whose rules live in people’s heads, get in touch: hjarraya@mycorr.app
Methods and available data
The essentials are below. The harness, traces and authored context documents remain internal.
How we tested: scores, setup and limits
Questions and scoring
We used five tables from the public Adyen DABstep dataset, including 138,236 transactions and 1,000 fee rules.
Each model answered the same 49 questions: 8 easy and 41 hard. We excluded one question from the original sample because we had seen its development answer before writing the guide. Each setup ran once per question.
Expected answers came from leaderboard consensus rather than an official held-out answer set. We used the benchmark’s scorer, which allows numerical tolerance and ignores a number’s sign. “Correct” below means accepted by that scorer.
Scores behind the first chart
Correct answers out of 49:
| Model | Data only | Document | Mycorr |
|---|---|---|---|
| Qwen 3.8-flash | 17 | 37 | 37 |
| Claude Haiku 5.5 | 18 | 40 | 40 |
| GPT-6.1-sol | 29 | 44 | 41 |
| Claude Sonnet 5.5 | 33 | 40 | 38 |
| Claude Opus 5.5 | 39 | 43 | 42 |
Qwen’s document contained descriptions alone. The other four models also received SQL examples for the saved fee queries. Mycorr could run those queries directly.
We compared answers question by question using paired sign tests. The document’s gains over data alone were statistically significant for Haiku, Qwen and GPT after adjusting for five comparisons. The document–Mycorr differences were inconclusive; this sample cannot establish that the approaches are equivalent.
Original manual versus curated guide
Correct answers out of 49, using a guide with descriptions only:
| Model | Data only | DABstep manual | Our guide |
|---|---|---|---|
| Claude Haiku 5.5 | 17 | 24 | 41 |
| Qwen 3.8-flash | 17 | 20 | 37 |
Haiku’s results come from a separate comparison with the same agent settings across these three setups, which explains the different scores from the first table.
Both models improved significantly with our guide compared with the manual. Most of the gain came on hard questions. The manual answered all eight easy questions correctly; our guide answered seven. The manual’s gains over data alone were inconclusive.
What limits the conclusions
- Authoring: we checked the guide against development answers. It changed both the content and its organisation, so we cannot say which changes caused the improvement.
- Task reuse: follow-up comparisons reused questions whose results we had seen. All models answered the same questions, and we did not measure variation across repeated runs.
- Prior exposure: DABstep and its leaderboard are public. Models may already know some questions or answers; we did not measure that effect.
- Different configurations: the first chart’s Claude Mycorr runs loaded extra tool instructions. Qwen’s reported result is a rerun after tool-search failures, with a shorter document too. We cannot separate those changes. An output-limit fix preceded Qwen’s manual run; earlier query results may have been truncated.
- Scope: this was a small schema whose descriptions fit in a prompt. We did not establish benefits from links, units or saved queries, or test larger schemas, changing data or permissions.
Check the opening example
This SQL checks the fraud calculation against the public payments CSV. It does not reproduce the agent study.
SELECT ip_country,
sum(CASE WHEN has_fraudulent_dispute THEN 1 ELSE 0 END) AS fraud_txns,
100.0 * avg(CASE WHEN has_fraudulent_dispute THEN 1 ELSE 0 END) AS fraud_pct_by_count,
100.0 * sum(CASE WHEN has_fraudulent_dispute THEN eur_amount END)
/ sum(eur_amount) AS fraud_pct_by_volume
FROM read_csv_auto('payments.csv')
WHERE ip_country IN ('NL','BE','ES','FR')
GROUP BY 1 ORDER BY fraud_pct_by_volume DESC;
References
- Egg, A., Iglesias Goyanes, M., Kingma, F., Mora, A., von Werra, L. and Wolf, T. (2025). "DABstep: Data Agent Benchmark for Multi-step Reasoning." arXiv:2506.23719, 30 June 2025. https://arxiv.org/abs/2506.23719
- Adyen and Hugging Face. DABstep dataset and leaderboard. DABstep dataset and DABstep leaderboard