2026-11-26 15:39 UTC

Contextflo reports business-rule notes lift Haiku scores on a small payments test

state: seedheat: mediumuncertainty: mediumrelevance: highagent-context business-data agent-evaluationContextflo

What is this?

Contextflo published a company-run experiment, updated November 16, 2026, using Claude Haiku 5.5 on DABstep, a public payments dataset created by Adyen and Hugging Face. On 42 held-out questions, the agent answered 36% of tries correctly with company docs, versus 76% with those docs plus four short notes; with tables alone it scored 40%. Contextflo says the notes were frozen before testing and publishes runs, code and scoring details. This is Contextflo’s own small evaluation, not independent validation. The notes capture business rules and question-solving guidance, and the authors report that one note also made some answers worse.

Why it matters

The result illustrates a practical path to more capable business agents: documenting tacit rules—not just supplying schemas and manuals—may sharply improve data-querying performance while reducing model cost. If it generalizes, teams could make existing data more usable without retraining models. But the evidence is narrow and company-run, and the authors document cases where a broadly worded note harmed performance, so this is a promising method to test, not proof of reliable enterprise-wide gains.

Current assessment

New: Contextflo’s first-party benchmark reports that Claude Haiku 5.5 scored 96/126 tries (76%) on 42 held-out DABstep questions with docs plus four notes, versus 45/126 (36%) with docs and 50/126 (40%) with tables alone. The authors say the notes were frozen before the held-out run; they publish the questions, traces and code. They also report model cost per try fell from about 1.6 cents with docs to 1.3 cents with notes, and cost per right answer from roughly 12 cents with tables alone to under 2 cents with docs and notes. These are Contextflo-reported results, not independently replicated. The sample is small, uses one model and a synthetic payments business, and scoring partly relies on a reconstructed answer sheet where official verdicts were unavailable. Contextflo acknowledges failures: some questions remained consistently wrong, and the rule to add every applicable price harmed answers to certain “in general” questions. Implication: concise, explicit operational context may be a useful complement to documentation and database access, but context quality, scope and evaluation across real businesses and models remain unresolved.

Measured heat

now 0 pts/hpeak 6 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 266h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-15 13:00⭐ origin echo-reconstructedThis Contextflo benchmark is the origin of the HN claim: it reports that on a 42-question held-out DABstep test, Claude Haiku 5.5 was right
Contextflo on blog (echo) · attributed from hn.story.50564793
—
11-19 19:14first on hacker news · published · +102.2hShow HN: Company docs didn't help our AI agent. Four shortnotes doubled accuracy
depthfirst
—
11-19 19:14amplified on hacker news 👑hn.story.50564793
depthfirst
peak 1 · 0 comments · 103% of case engagement
11-19 19:22our radar first saw it · +102.4hdiscovery anchor: hn.story.50564793—
pace: p13 vs 2096 stories at the 168h mark (now 266h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Company docs didn't help our AI agent. Four shortnotes doubled accuracy
Retrieved article excerpt

Open article · Retrieved 2026-11-19T19:23:45.990547+00:00

# Giving business context to AI agents - does it help? Does it save money? Let's find out

We took a realistic payments dataset built by Adyen and Hugging Face and ran the same AI agent on it with and without context.

Updated November 16, 2026

Jump to a section

- [The takeaway](https://contextflo.com/benchmarks/dabstep-haiku#the-takeaway)
- [Benchmark setup](https://contextflo.com/benchmarks/dabstep-haiku#benchmark-setup)
- [Why we picked this dataset](https://contextflo.com/benchmarks/dabstep-haiku#why-we-picked-this-dataset)
- [What the dataset contains](https://contextflo.com/benchmarks/dabstep-haiku#what-the-dataset-contains)
- [The questions](https://contextflo.com/benchmarks/dabstep-haiku#the-questions)
- [How we ran it](https://contextflo.com/benchmarks/dabstep-haiku#how-we-ran-it)
- [Results from exploration (25 questions)](https://contextflo.com/benchmarks/dabstep-haiku#results-from-exploration-25-questions)
- [Docs alone: same accuracy, lower cost](https://contextflo.com/benchmarks/dabstep-haiku#docs-alone-same-accuracy-lower-cost)
- [The four notes](https://contextflo.com/benchmarks/dabstep-haiku#the-four-notes)
- [When context makes it worse](https://contextflo.com/benchmarks/dabstep-haiku#when-context-makes-it-worse)
- [Our first number was wrong](https://contextflo.com/benchmarks/dabstep-haiku#our-first-number-was-wrong)
- [Testing on new questions](https://contextflo.com/benchmarks/dabstep-haiku#testing-on-new-questions)
- [What's still wrong](https://contextflo.com/benchmarks/dabstep-haiku#what-s-still-wrong)
- [What it costs](https://contextflo.com/benchmarks/dabstep-haiku#what-it-costs)
- [If you're doing this at your company](https://contextflo.com/benchmarks/dabstep-haiku#if-you-re-doing-this-at-your-company)
- [Receipts](https://contextflo.com/benchmarks/dabstep-haiku#receipts)

## The takeaway

Giving an AI agent the company's docs was no better than giving it nothing: 40% of tries right without them, 36% with. What worked was four short notes, the kind of thing a teammate tells a new hire. They took it to 76% right, at about a quarter of the cost per answer. If your company has docs, it probably has the same gaps. The rules that answer questions live in people's heads.

## Benchmark setup

We ran a Claude Haiku 5.5 agent on a public test dataset that mimics a payments company, with realistic, messy data, and compared it with and without context (the company's docs, plus notes we wrote).

|  |  |
| --- | --- |
| **Model** | Claude Haiku 5.5 |
| **Dataset** | [DABstep](https://huggingface.co/blog/dabstep), by Adyen and Hugging Face |
| **Exploration** | 25 hard questions, picked by a script with fixed rules |
| **Test set** | 42 new questions, a mix of question kinds |
| **Setups compared** | Only the tables, + the company's docs, + docs and four notes from exploration |
| **Tries** | 3 per question, in every setup |

We started by exploring the data with a small set of hard questions. As expected, the agent did poorly with only the tables, and the docs didn't make it any better. So we read its wrong answers and wrote the four notes.

Then we froze the notes and tested on a fresh set of questions they were never written from, a wider mix where some turned out easier than others. The numbers in the takeaway come from that test.

You don't need to know anything about payments to follow this. Payments is just a stand-in for any company's data: tables, some docs, and rules only the team knows.

## Why we picked this dataset

Most AI tests use clean, made-up puzzles. Real company data isn't like that. It has a price list nobody fully understands, docs that are mostly right, and things "everyone just knows".

[DABstep](https://huggingface.co/blog/dabstep) is a public test built by Adyen, a large payments company, and Hugging Face. It describes a fake company with realistic data and realistic mess. The questions are the kind a finance or ops lead would ask. The right answers are kept secret, so nobody can cheat.

We loaded the data into a database (BigQuery) exactly as it comes. No cleaning, no renaming.

## What the dataset contains

Picture a company that handles card payments for online shops. Shoppers pay by card, and the company charges the shop a small fee on every payment.

| Table | In plain words | Rows |
| --- | --- | --- |
| payments | Every card payment in 2023: which shop, how much, which card, how the shopper paid, and whether it turned out to be fraud | 138,236 |
| fees | The price list: what each kind of payment costs the shop | 1,000 |
| merchant\_data | The 30 shops: what they sell and how their account is set up | 30 |
| two small lookup tables | Shop categories and countries | small |

The shops have made-up names like Rafa\_AI, Crossfit\_Hanna and Golfclub\_Baron\_Friso. The card brands are made up too: GlobalCard, NexPay, TransactPlus, SwiftCharge.

The company also comes with **two documents**: a manual on how fees and fraud work, and a guide to the payments table. They're decent docs. In the setups with docs, the agent gets all of it, as written:

- **What the tables and columns mean**: all five tables and most of their columns.
- **Seven business rules from the manual**: how a fee is worked out (a fixed amount plus a percentage), that a blank (`null`) in a price row means "any", that monthly volume and fraud are counted per calendar month, and what local payments, account type, way of paying and capture delay mean.

That's real business context, not just a schema. Everything the agent was given is [on GitHub](https://github.com/contextflo/contextflo-benchmarks/blob/main/dabstep/context/context.json).

### The challenge of the price list

The price list has 1,000 rows. Each row describes a kind of payment and what it costs, like a line in a shipping rate table ("under 2 kg, to Europe, express: €12").

Here is one row, exactly as it sits in the data:

```
Loading code sample...
```

In plain words: a debit card payment on TransactPlus, at a shop in one of those eight categories, paid in one of two ways (C or B), costs 10 cents plus 0.19% of the amount.

To price a payment, you find the rows that describe it and use their prices. Notice the blanks (`[]` and `null`), though. What do they mean? The data doesn't say, and the manual only covers one of the two. Hold that thought.

## The questions

The test has 450 questions. We used them in two rounds: an **exploration** round of 25 hard questions, where we read the wrong answers and wrote the notes, and a **held-out test** of 42 new hard questions the notes never saw (more on that below).

Neither set was picked by hand. A script chose both, using fixed rules (no questions where "not applicable" is the answer, a mix of question types), so anyone can rerun it and get the same questions. Each has a single right answer: a number, a letter, or a short list. Some examples, in plain words:

- "If we changed this one price, how much more or less would Rafa\_AI have paid in July?"
- "For a €10 credit card payment on GlobalCard, which way of paying is the most expensive?"
- "If Rafa\_AI got its fraudulent shoppers to pay a different way, which way would cost the least?"

Every business asks questions like these about its own numbers: what did this cost, what if we changed that, where should we steer customers.

## How we ran it

- **Same agent every time.** Same model, instructions and tools. The agent connects to the database through Contextflo, which lets it see the tables, read any notes we give it, and run queries. It can't change anything.
- **In exploration, one note at a time.** Six setups: only the tables, then the docs, then each note added in turn, so you can see what each one did (75 answers per setup).
- **Every try starts fresh**, with no memory of the last one.
- **Every run is published**, including the wrong ones.

## Results from exploration (25 questions)

| What the agent had | Questions right on all 3 tries | Tries right | Cost per try |
| --- | --- | --- | --- |
| Only the tables | 3 of 25 | 14 of 75 (19%) | ~6 cents |
| + the company's docs | 3 of 25 | 12 of 75 (16%) | ~2 cents |
| + note 1: a blank means "any" | 7 of 25 | 23 of 75 (31%) | ~3.5 cents |
| + note 2: add up every price that applies | 14 of 25 | 44 of 75 (59%) | ~1.5 cents |
| + note 3: "monthly" means calendar month | 13 of 25 | 45 of 75 (60%) | ~1.4 cents |
| + note 4: how to answer "which is cheapest" | 14 of 25 | 47 of 75 (63%) | ~1.2 cents |

**How to read this:** there are 25 questions, each tried 3 times. The percentages count tries, not questions. The 3 tries show whether the agent is repeatable, so they don't count as 75 separate tests. The first column is the stricter measure.

**How it's scored:** where someone had submitted the exact same answer to the official scoreboard, we use the scoreboard's verdict. Otherwise we do a strict check against an answer sheet we rebuilt from the scoreboard (the real answers are secret). More on that below.

Cost is what the AI model charged per try. The database bill is covered further down.

## Docs alone: same accuracy, lower cost

Adding the manual didn't change accuracy. 19% vs 16% is too small a difference to count with this many questions. It did cut the cost per question by about two thirds.

Without docs, the agent spends most of its effort working out what the columns mean, running query after query to guess. With docs it stops guessing what the data *is*. But it still doesn't know how the business *uses* it. Knowing what a column means isn't the same as knowing how to answer the question.

## The four notes

Each note came from reading the agent's wrong answers and asking: what would a teammate have told it? Two add something the docs don't have. Two clarify something the docs already say, because the agent had the rule and still got it wrong.

| Note | New or clarified? |
| --- | --- |
| 1. A blank means "any" | **Clarified.** The manual covers `null`, but not the empty lists `[]` the price list also uses |
| 2. Add up every price that applies | **New.** The docs never say one payment can match several prices |
| 3. "Monthly" means calendar month | **Clarified.** The manual says it; the note gives the exact steps |
| 4. How to answer "which is cheapest" | **New.** A how-to for one type of question, not a business rule |

### Does a blank mean "none" or "any"?

A blank in a price row means "any". A blank card type means any card, not no card.

This one clarifies the manual. The manual says it, but only for `null`. The card type, shop category and way-of-paying columns are never `null`: they use an empty list `[]` for "any". The note spells that out for both.

Without this note, the agent read blanks as "doesn't apply", so it ignored most of the price list and came up with fees that were too low. It went from 16% to 31% with it.

*At your company:* a subscription with an empty end date. Is it cancelled, or does it never end? Everyone on the team knows. The table doesn't say.

### One price, or all of them?

One payment can match several rows of the price list, and it pays all of them.

This one is new. The manual explains how one row's price is worked out, but never says a payment can match more than one.

Without this note, the agent found one matching row and stopped. It's like a restaurant charging a table the service charge but forgetting the large-group charge that applies too. With it, accuracy went from 31% to 59%, the biggest jump, and runs got about 40% faster because the agent stopped going in circles.

*At your company:* does a partly refunded order still count as revenue? Does a customer with two discounts get both? One sentence, and almost every number changes.

### Which month is "monthly"?

Some prices depend on how much a shop sold that month, like a bulk discount. "Month" means January, February and so on, not the last 30 days, and you count money, not number of payments.

This one clarifies the manual, which already says it. We restated 
depthfirst10
🟧 echo.blog ⭐This Contextflo benchmark is the origin of the HN claim: it reports that on a 42-question held-out DABstep test, Claude Haiku 5.5 was right Contextflo——

Interpretation history

Decision trace