The Weekly Query: How do you keep your AI analyst improving as more people start using it?
Part 3 of our context tutorial, AI analytics operating models, 8 data leadership jobs, and our December 12 workshop.
Hey folks!
Welcome to another edition of The Weekly Query.
Today, we're wrapping up our three-part tutorial on context engineering and management for AI analytics.
In Part 1, we built company context, domain guides, and semantic models. In Part 2, we pulled in existing documentation and analyses, reviewed them with the people who know that part of the business the best, and made sure the agent actually used that context when it needs to.
But most of the questions we've tested so far have been our own. They originated from us.
In those scenarios, I already know which model I want the agent to use because I built the thing. I know when a number looks weird because I work with that data. Someone else at the company doesn't necessarily know any of that. They're going to ask a question, get an answer, and potentially make a decision with it.
So how do we find the problems they're running into? And when we change something to fix one of those problems, how do we know it actually helped?
In this issue, we'll work through how to review the questions other people are asking, prioritize what to improve, and use AI evals to test our changes before publishing them. Alright, let's get into it.
This week's query
How do you keep your AI analyst improving as more people start using it?
By Shane Butler
Context Improvement & Evals · Part 3 of 3
We'll continue with Porchlight, our fictional neighborhood social network, using Hex as our analytics workspace. You're welcome to follow along with your own data or the demo data available in Hex. We'll pick up where we left off with the growth-accounting question from Part 2, where the agent read our WAU guide but didn't use the user-activity semantic model we'd built.
Now let's use the questions other people are asking to figure out what needs to go through that process next.
Context management lifecycle
Use real questions to improve shared context.

-
Understand
What are people asking?
-
Identify
What knowledge or guidance is missing?
-
Build
Make one focused context change.
-
Measure
Repeat questions. Check the answers against explicit expectations.
-
Publish
Share the change after review.

After review and publication
Other people can use it too.
New questions and business changes give us the next thing to investigate.
See the questions other people are asking
We talked about observability in Part 2 when we inspected the work behind one of my questions. Now we're going to use it across the workspace to see what people are asking and where they're getting stuck. In our Enterprise Context workshop last month, I shared Hex’s Context Studio and looked at the full list of questions Hai and I had asked of our analytics agents throughout the week prior. When you have this sort of centralized observability into your company’s agentic analytic workspace, you’re no longer limited to only checking out the Thread you’re working in. I could see what Hai was asking too, where he was pushing back with the agent, and which conversations the system had flagged for missing context.
In Hex, you can filter those conversations by user, topic, or warning, then open a Thread and inspect its work. Hex's observability documentation covers those views. The screenshots here are from our November 14 workshop.
If you're building your own system, you'll want to log that work too: the question, the context it read, the tools and SQL it ran, the results, and the answer it gave the user. Keep the context version and model with that record so you can go back and see what it was using at the time.
Without that, you can end up with someone sending you a chart or a number, asking if it's right, and having to reconstruct what they asked, where the data came from, and what the AI did. You want to build a system that does all of that reconstruction and disentangling work for you.


Open a question where the agent was missing context
One of the examples we looked at was a question about Porchlight’s email digest click-through rate. Before we built the Notifications guide, the agent didn't have the approved definition, so it had flagged the conversation as “missing context”. So now, rather than myself manually diagnosing missing context on questions I know need more context, the system itself is reasoning through its conversations with other employees and informing me that their queries are likely missing context.
Note, because we are leveraging the LLM to flag missing context and it is non-deterministic, it may not produce the same warning every time. So setting up these sorts of automated context warnings gives us a place to start, but we're still going to want to inspect the work (or some sample of it). If there’s not a warning, it doesn't necessarily mean the answer is correct.
That being said, when there is a warning, we now have some guidance on where we surely need to improve the system. The agent might be missing knowledge. It might have failed to retrieve knowledge that's already there. It might be using the wrong table, working with incomplete data, or answering a question that's too vague to interpret. Those are all different problems. Open the conversation and see which one actually happened before deciding what to change.
Decide what's worth fixing first
You probably aren't going to fix every possible question before anyone can use the system. I would use the questions people are actually asking to help decide where to spend time.
Are several people asking about the same metric? Is one team repeatedly running into the same missing definition? Is the question important to a decision the business makes every week?
If Hai is the only person asking some ad hoc question, maybe I don't need to make that my first priority. But if he's using the answer to make a really important decision, that's a different conversation. I'd want to know what he's trying to do with it.
I'd consider the value of answering the question, the consequences of getting it wrong, and the work required to improve and maintain it. If it's a recurring question that a team uses to make an important decision, I'd prioritize getting the context right. If it's an unusual analysis with a lot of risk and little value, maybe we shouldn't be handing that one over to AI in the first place.
Hex also has Suggestions, which groups recurring problems into proposed context changes. That helps us find things worth investigating without reading every conversation one by one. I'd still open the questions behind a suggestion and check whether it applies to the context we have now.
Turn a real failure into an eval
Okay, so say you’ve decided what you want to prioritize fixing, you’ve investigated the problem and have a change you want to try. We could do the sort of ad hoc testing like we did in Parts 1 and 2: ask the analytics questions before the change, then make the change and ask the question again and inspect the answer. But what if every time we update a guide or a model, I'd like to check that it fixed the problem and didn't break all the other questions that were already working? An eval gives us a test we can run again and again in an organized, structured manner to do just that.
For an AI analyst, that standard might include using the approved metric definition, selecting the appropriate source, applying the right filters, returning a known number, or explaining that the question can't be answered with the available data.
An eval case is one question and its checks.
An eval suite is a collection of those cases.
A rubric describes what we're checking.
If you're on the data team, a lot of this is work you already know how to do. You read the question, look at the code, check the calculations, and ask whether the conclusion actually follows from the analysis. Now we're doing that on the agent's work, and turning some of those checks into tests we can automate.
Start with the question that actually failed and write down what should have happened. For our example, I want to ask the original growth-accounting question without telling the agent to use the user-activity model. Someone else at the company isn't going to know to put that hint in their prompt, so I want to test whether our context gets it there on its own.
For the growth-accounting example, I'd start with three cases:
- The original question: investigate changes in user activity and their relationship to platform WAU, without naming the model. Check whether it retrieves and correctly uses the established measures.
- A definition boundary: ask about churn and resurrection over a week. In our model, those daily transitions involve 90-day absence. That's different from someone entering or leaving the population of users active in the past seven days. Check that the agent explains the difference rather than treating them as the same metric.
- A question that already works: ask for measured total WAU for a fixed historical week. Check the result against reviewed SQL and verify it hasn't substituted estimated WAU or counted people twice.
The first checks whether it finds and uses the model. The second checks a specific misunderstanding we want to avoid. The third is a regression test: can it still answer a question it got right before we made the change?
Be specific about what a pass means
For each of those questions, we need to decide what we're actually checking. A correct number is one part of it, but we also want to know how it got there and whether it explained the result correctly.
For our WAU case, I'd want separate checks for things like:
- Does the number match the reviewed calculation for the same data snapshot and reporting window?
- Does it count platform users and qualifying, reliable email-only users once each?
- Does it clearly distinguish measured WAU from estimated WAU?
Those checks tell us much more about what went wrong than one overall score.
For a number, we can compare the result with reviewed and approved SQL for the same data filtered to the same reporting window. We can just use code for that check. For something like whether it used the right definition or explained a limitation, we can have a person or another LLM review the work against our rubric. That model is acting as an AI judge. If we're checking the source or method, it needs to see the Thread and the work behind the answer too.
And we need to review the evals themselves. If AI drafts a rubric based on its own mistaken interpretation, the eval is useless. It’s like grading a test with the wrong answer key.
For our WAU and growth-accounting questions, I'd review the definitions with the person who owns those engagement metrics and have someone on the data team check the calculations. The Notifications PM can confirm the email rules feeding into WAU. I don't want AI drafting a definition, drafting its own test, and then telling us it passed without those people checking it.
Compare the current system with the proposed change
In Hex, I can have Codex or Claude Code prepare an eval suite through the CLI, then review the results in Context Studio. We can run it against our published context and again against a Context Preview containing the proposed change. Hex's eval guide covers the setup and commands.
You can have a coding agent help prepare that comparison. I'd ask it to:
Draft the three cases we've agreed on, with explicit checks for the source, definitions, and answer. Show me the cases and rubrics for review. Once approved, run the same suite against published context and the proposed Context Preview. Keep the model and test data consistent, compare individual attempts, and don't publish the change.
Use the same questions and judging rules for both versions. Keep the data snapshot and model settings consistent where possible. Otherwise, a difference might come from something other than the context you changed.
Once those eval runs finish, open the cases and the conversations behind them. What got better? What's still wrong? Did we break another question? And even if we got the right number, did it get there the way we expected?


For an example of what to look for, here's the eval run I shared during the workshop. The WAU case returned the expected number, but one of the checks on the seven-day breakdown failed. The agent had created its own categories for that breakdown without clearly saying they were exploratory. We already have company definitions for churn and resurrection in the model. If the agent creates different definitions for a seven-day analysis, I want it to say that and explain what it counted. Otherwise, someone reading it could assume those are the definitions the company has always used.
I'd already added guidance about this, but in that run the agent still didn't do what I wanted. The next step would be to open the Thread, check the work behind the failed rubric, and figure out what to change and test next.
Review the change with the people who own it
Once we've reviewed the comparison, we can publish the change, revise it and test again, or leave it as a draft while we resolve what's missing. In the failed example above, I'd keep working on the guidance rather than assume the question is ready just because the WAU number passed.
For a change to the Notifications guide, I'd have the Notifications PM confirm the business meaning and someone on the data team check the calculation and test results. Then we need to agree on who keeps it current. As we discussed in Part 2, the PM could update the guide directly, or proactively tell the person on the data team who makes those updates.
Keep that change in version history with what changed, why, who approved it, and when it takes effect. If you manage context in GitHub, that can be part of the pull request and review. If you manage it in Hex, use its review and version history. Either way, I want to be able to go back and see which definition was in use when someone got an answer.
And tell the people who use it what changed. If they compare this month's number with last month's, are they comparing the same thing? If we've changed the definition, they need to know that.
Can it get it right, and how often?
We've talked in earlier issues about capability and reliability.
Can the agent get the correct answer? And how consistently does it get that answer when someone asks?
Both are really important when scaling AI analytics to the rest of your company.
If it gets it right once but often gets it wrong, most people won't know which version they received. If it consistently returns the same wrong answer, that isn't useful either.
I'd also look at how the answers vary and by how much. A small rounding difference isn't the same as switching between two definitions of a metric. You could even get the same total from different populations, so I'd inspect the calculations too.
Run repeated, independent attempts. Try realistic ways people might phrase the question. Inspect the sources, methods, and interpretation as well as the number.
Most people aren't going to ask five times to see what's going on. They're going to ask once and take the answer they get. We want a high probability of that answer being correct.
In Hex, a case with multiple attempts can still pass with one failed attempt. So I'd open the individual attempts and check what happened rather than treating the overall pass label as the probability of getting a correct answer next time.
Keep the process going
The product will change. Tracking will change. People will ask questions we never thought of. More usage gives us more chances to find missing knowledge, conflicting definitions, and work the system isn't ready to do yet.
I'd start by reviewing the questions people are asking with the team once a week. Pick the recurring problems worth working on, agree on who's going to investigate them, and test any proposed changes. If the PM changes a metric definition or the team changes a source table in between those reviews, that should trigger an update and another test then. We shouldn't have to wait for someone to get a wrong answer first.
Evals can also help us make decisions about speed and cost. If we improve the context, can a less expensive model meet the same standard for a recurring question? Do some questions need more review or stronger constraints than others? Measure that on your actual questions rather than assuming the largest model is always the right choice.
You can't be the person who knows everything about notifications, advertising, finance, and every other part of the company. We need the people who work in those areas involved. They're the ones who know when a definition changes or when something in the guide no longer makes sense.
This is why the ownership needs to be part of those people's actual work. The Notifications PM knows when the product or its measurement changes. We need them to update the context, or tell us what changed so we can do it with them. The data team shouldn't have to keep chasing everyone down to find out.
A practical 30-day start
If you're bringing this back to your company, here's how I'd start applying the work from all three tutorials over the next 30 days.
Week 1: Work with another analyst. Pick a recurring question you know well. Build the context, then see whether a teammate can use it and reach the same understanding without you explaining everything. Try the reverse with a question they know better than you.
Week 2: Bring in a stakeholder. Set up time with a PM or someone in marketing, sales, or finance who knows an area you're working on. Use the domain-guide interview from Part 1 to work through their definitions and decisions together. Draft the guide, have them review it, and test questions with them.
Week 3: Reuse existing work. Pull in a relevant document, model, or previous analysis. Have its owner review how you're using it. Watch for questions that fail or require corrections, and record what needs to improve.
Week 4: Evaluate and agree on ownership. Turn the failures you found into a small eval suite. Review the cases with the people who know those metrics, compare a proposed improvement with the current version, and inspect the results. Agree on who updates the context when something changes and when you'll next review how people are using it.
By the end of that, I'd want another person to be able to use the context we've built, get an answer we can check, and understand what it means without me sitting beside them explaining it. And when something is wrong, we should know who to work with and how we're going to test the next change.
That's how I'd start moving from an AI analyst that works for me to one other people at the company can rely on.
And a lot of the benefit goes beyond AI. When two dashboards or experiment readouts show different numbers for the same metric, we've always had to get people together and work out what they mean. This gives us a shared place for those definitions and a process for keeping them current. That makes the work better for the company, as well as for the AI analyst.
Taking this beyond your own data team?
Context is a big part of scaling AI analytics. You also have to decide where to start, what needs review, and who is responsible when things change. Hai and I will work through those decisions in Enterprise AI Analytics for Data Leaders on December 12, along with choosing tools and building a rollout plan for your company.
If you've started doing this at your company, hit reply and tell me where you're getting stuck. I'd like to hear which part has been hardest to put into practice.
New in data this week
Three things worth a look this week:
- ClickHouse’s new schema agent tests changes before deployment. In its November 30 write-up, ClickHouse explains how Schema Advisor combines an LLM’s plan with code-based checks and replays queries against the current and proposed schemas to compare performance. The early prototype invented SQL that didn’t exist. Worth reading for how they redesigned the workflow around that problem. Currently in private preview.
- Cloudera launches Maui for working with enterprise data through multiple agents. Announced November 30 and generally available, Maui can coordinate work such as fixing a failed data pipeline, improving a SQL query, or building a dashboard. It works across cloud, on-premises, and air-gapped environments. Cloudera says the agents share catalog and governance information, with users approving changes before execution.
- Amazon Quick can watch for changes and prepare the follow-up. The November 30 preview goes beyond answering a question: it watches for relevant changes across meetings, email, chat, documents, and dashboards, then prepares work such as revising a proposal when pricing changes. AWS says it shows its sources and sends nothing without your approval.
The 30-second lesson
What’s an operating model?
An operating model is how you organize people to get work done: who’s responsible, who makes decisions, and what happens when something goes wrong.
For AI analytics, who owns the metric definitions? Who updates the context? Which answers need review? When something’s wrong, who fixes it?
You might handle all of that yourself today. As more teams use your AI analyst, you need an agreed way to share that responsibility.
Having that clarity helps the company coordinate work, make decisions, and grow without relying on a few people to hold everything together. It reduces gaps, duplicated effort, and confusion about who’s supposed to do what.
Buying the tool still leaves those decisions to make.
Jobs this week
This week we’re looking at the people leading this work. These eight roles put AI analytics, agents, or AI evaluation on the manager’s agenda, alongside hiring, priorities, measurement, and working across teams.
Tech Lead Manager, Developer Platform Product Data Scientist at Anthropic
New York, San Francisco, or Seattle; hybrid. US$460,000 annual salary listed.
Anthropic wants this manager to set the data science agenda for its developer platform, define success metrics, and guide decisions about how enterprises build and deploy agents.
Director, Data Science at Figma
US hubs or remote US. Up to US$376,000 base/year; compensation varies by location.
Figma is hiring this director to lead data scientists and managers and shape evals, quality measurement, and experimentation for its AI assistants and agents.
Director, Analytics - Consumer Growth at DoorDash
Several US hubs, including San Francisco, Seattle, and New York. Up to US$375,000 base/year; localized by work location.
DoorDash wants this leader to develop its growth analytics team and introduce AI and agentic solutions into analytical workflows alongside experimentation and measurement.
Senior Manager, Data Science and Machine Learning at Squarespace
New York; hybrid, three days a week in the office. Up to US$358,800 annual cash compensation.
Squarespace is hiring this manager to lead a team of 12 working on predictive models, causal inference, and AI evaluation systems, with experience in LLM eval harnesses and human review among the preferred qualifications.
Head of Growth Data Science at Airwallex
San Francisco. Up to US$320,000 salary/year, plus bonus and equity.
Airwallex wants this leader to build growth decision systems across product, sales, and marketing, including production generative AI applications and agentic workflows.
Manager, Marketing Analytics at Stripe
Toronto or remote US. Up to US$278,200 base/year for US hires; non-US pay differs.
Stripe wants this manager to build a team and measurement capabilities for both people and AI agents, and establish team practices around analytical quality and agentic automation.
Director of Technology & Data Engineering at Momentous
Park City, Utah; hybrid. Salary not listed.
Momentous wants this director to implement Finance-approved metrics in a semantic layer and define what data AI agents can access, how usage is logged, and how outputs are reviewed.
Senior Director, Reporting & Analytics Engineering at PlayStation
London, UK. Salary not listed.
PlayStation is hiring this leader to own enterprise metric definitions and lead an organization of about 30, including conversational analytics, evaluation, and monitoring of AI-generated answers.
What's happening at AI Analyst Lab
Last week
Last week, we published Part 2 of this tutorial: finding the context your company already has and checking whether your AI analyst actually uses it. It covers company documents, previous analyses, maintained metric definitions, and an example where the agent missed a semantic model we’d already built.
Coming up
Enterprise AI Analytics for Data Leaders
Saturday, December 12, 8–11 a.m. Pacific. Live online with Hai Guan and Shane Butler. $380.

If you lead a data team, this workshop is about the decisions you need to make as AI analytics moves beyond individual experiments. We’ll work through:
- Who defines, approves, and implements changes to metrics and context.
- How to evaluate your existing tools and choose where to start.
- How to set expectations with leadership and build a 90/180-day rollout plan.
No code or setup required. You’ll start the plan during the session.
Thanks for reading. See you next Tuesday!
Shane and Hai
10+ years in product data science, causal inference and AI evaluation at Stripe, Nextdoor and Ontra.