# Count the wrong users and a better AI feature looks useless

> GrowthBook compares versions inside the client’s own data warehouse, but the result depends on whether you exclude people who never used the feature.

Original: https://fdetimes.net/en/tools/growthbook-llm-trace-ab-testing/

GrowthBook says plainly that it does not do LLM tracing and does not grade prompts. Yet on October 5, 2026, Scott Bailey wrote on the company’s blog that LLM trace data can now serve as metrics for A/B tests. The beta runs on GrowthBook Cloud and supports Langfuse and Arize Phoenix.

The two statements fit together. Langfuse or Phoenix records each model call; GrowthBook handles the comparison, checking whether the group on the new version differs from the group on the old one.

That comparison fills the gap between an agent that passes its evals and an agent that helps users get something done. An eval suite tells you whether answers meet the standard you set, but the paying client wants to know whether the new version is more useful, and how much more it costs.

Consider GrowthBook once the agent is in production, with two versions to compare and real users on both sides.

## The data stays put, the numbers leave

The official README describes GrowthBook as “warehouse native,” querying 11 data sources, including BigQuery, Snowflake and Databricks. It queries experiment data in the client’s warehouse, runs the results through its statistics engine and produces a report.

The company’s documentation states that raw user-level events and personally identifiable information are not sent to GrowthBook. What leaves is aggregates, such as sums and sums of squares. At a hospital or a bank, you need that answer ready before the security team asks.

The first job on site is therefore specific: request a read-only account, limited to the tables you need. Then open the query log with the data team so they can see for themselves which columns are read and which values come back. Showing the log is more persuasive than sending a page of documentation.

## One tag decides the whole experiment

The process starts by tagging each trace with the version the user saw. Without that label, the trace still has all its tokens and latency, but nobody knows which group it belongs to.

Where the label goes also matters. In Langfuse, the tag must be on the trace; in Phoenix, on the root span. A tag placed only on a child span will not be picked up, and the mistake is easy to miss when your team adds the label inside the function that calls the model, after the trace has already been opened.

The safeguard is a dry run before opening the feature to users: send a few requests down each branch, then count the validly tagged traces per branch. If you send 20 and see only 17, find the missing 3 before turning the experiment on.

GrowthBook ships six prebuilt metrics, and the company’s post mentions LLM cost, latency, error rate, and call or token volume. You can add your own.

Agree one outcome metric with the client first, then use cost and latency as guardrails, meaning ceilings that must not be exceeded: a new version that wins but breaks the budget is not ready to roll out.

## Same agent: 10 points or 2?

Take a hypothetical customer support assistant. Each branch has 1,000 assigned users, but only 200 open the assistant. Among those, the old version helps 80 people finish their task and the new version helps 100.

Of the remaining 800 in each branch, 320 finish on their own. The two figures are set equal because people who never opened the assistant are unaffected by either version. In real data they would differ slightly by chance; holding them equal isolates the dilution.

| Who is counted | Old version | New version | Difference |
|---|---|---|---|
| All 1,000 people | 400 (40%) | 420 (42%) | 2 points |
| The 200 who opened the assistant | 80 (40%) | 100 (50%) | 10 points |

GrowthBook recommends excluding people who were assigned but never activated the LLM feature, because they dilute the estimated effect. But the second row of the table can be trusted only when the new version does not change who opens the assistant. If it draws more people in, or drives them away before they open it, the two filtered groups are no longer comparable.

So log the activation event the same way in both branches, count activated users first, and report both rows to the client. Equal activation counts, such as 200 and 200 here, are a good sign but not sufficient: the two groups may still consist of different kinds of people.

To see the dilution, compare the difference with its standard error, the amount the difference would typically fluctuate if the experiment were repeated many times. When everyone is counted, the 2-point difference is smaller than the standard error of about 2.2 points, so it could well be chance.

When only people who opened the assistant are counted, 10 points is about twice the 5-point standard error. Twice is the customary benchmark: if the two versions were really the same, a difference that large would appear only about 5% of the time.

Aggregates are enough for the calculation. For the 200 people on the new version, record 1 for each person who finished and 0 for each who did not: the sum is 100, and the sum of squares is also 100. The mean is 0.5, the variance is approximately 0.5 − 0.5² = 0.25, and nobody’s name or conversation is needed.

**Key point:** Counting people who never used the AI feature only blurs its real effect.

## Where to stop and ask first

The documentation warns that the trace trackers are in beta and read from databases that were not designed as public interfaces. Pin the version of your tracing tool while the experiment runs, and repeat the tag count after every upgrade.

With Langfuse, the connection also depends on which edition the client uses. The direct connection works with self-hosted Langfuse v3, where traces live in ClickHouse. Langfuse Cloud does not expose ClickHouse, so Cloud clients need another route, such as exporting traces to their own warehouse.

Ask which edition the client uses in the first meeting, to avoid having to build an extra pipeline midway.

The license also needs a careful read: most of the code is MIT, but some directories fall under a separate commercial Enterprise license. And you still need an eval suite, because GrowthBook does not replace it.

## Learn the SQL first, the interface later

If you are starting out, write your own query joining the assignment table to the outcome table, then calculate the mean, variance and difference. Once you can do it by hand, you will notice when a tool’s report is wrong.

When reading FDE job postings, look for terms such as experimentation, product metrics or data warehouse. On a resume, a good line names the versions compared, the group counted, the outcome metric and the decision that followed, even if the decision was to stop.

Be ready to explain why you trust the number. A good answer often starts with the people you decided not to count.

**Try this week:**

- Open a trace in your project and check whether the version tag sits on the trace, the root span or only a child span.
- Write a SQL query that returns the number of people, sum and sum of squares of a metric for each version, then calculate the mean and variance yourself.
- Recalculate the result of a past experiment twice: across everyone assigned, and across those who activated the feature.

## Sources

- [Beyond evals: A/B test AI features with LLM traces and business metrics](https://www.growthbook.io/blog/ab-test-ai-features-llm-traces)

- [What is GrowthBook?](https://docs.growthbook.io/overview)

- [growthbook/growthbook README.md](https://github.com/growthbook/growthbook/blob/main/README.md)

- [Best AI experimentation platforms in 2026](https://www.growthbook.io/insights/best-ai-experimentation-platforms)

- [How do you A/B test an LLM when results aren't deterministic?](https://www.growthbook.io/insights/ab-testing-llms)

- [Experimenting on LLM Features - GrowthBook Documentation](https://docs.growthbook.io/integrations/llm-tracing)

- [Setting Up Langfuse as an Event Tracker - GrowthBook Documentation](https://docs.growthbook.io/event-trackers/langfuse)
