First, the Compile blueprint stage uses a language model to turn the pattern prompt into a frozen blueprint specifying the company’s systems, people, metrics, and individual beliefs. Those beliefs can be mistaken on purpose — Bob’s flawed definition of downtime is recorded alongside the official metric, planting the trap and its solution together.
In the estate-generation pipeline, Compile blueprint is the only point where a language model decides what is true. Once the blueprint is frozen, Simulate & build tables runs deterministically without a model: employees act on their schedules, triggering tickets, shift handovers, and database rows, so that every record traces back to the event that created it. Organizational messiness emerges naturally from this timeline, such as outdated procedures or conflicting definitions, while row-level flaws that model real ingestion glitches (e.g., retry-storm duplicate rows, unmerged keys, or a mid-quarter unit change) are injected into the tables. Every flaw is recorded in a machine-readable messiness log so the benchmark generator can adjust the ground-truth SQL queries to account for the messy tables.
Given the same blueprint and random seed, the simulator produces identical tables and an identical SQL answer key on every run. The only subsequent step in building the estate that calls a model is Render documents, which turns the facts fixed in the blueprint into memos and chat threads in each person’s writing style. Finally, Evaluate agent tests the agent over read-only tools.
Three build-time checks keep the benchmark honest:
-
Computed SQL and rubric gold answers: Every quantitative question ships with the SQL query that computes its expected (“gold”) answer against the messy tables. Because the messiness log records injected retry duplicates on defect rows, the benchmark generator automatically pairs a defect-count question with the deduplicating
COUNT(DISTINCT)query (240) – and runs decoy SQL queries representing common mistakes (like an un-deduplicatedCOUNT(*)or Bob’s changeover filter) to verify that falling for a trap yields a different number. Qualitative questions ship with a rubric grounded in the blueprint’s metric owner, official definition, and correction trail. If the estate lacks the data to verify a question, the generator drops the item rather than shipping an unverified question. -
Verified documents: Every rendered memo and chat thread is checked against the blueprint to confirm it states its assigned facts without introducing unrecorded numbers, dates, or names.
-
Hallucination sentinels: The simulator plants questions about invented metrics like “Basalt Velocity Ratio” that appear nowhere in the estate; a reliable agent abstains and reports that no such metric exists.
Testing for behavioral trends and realism
A wind tunnel does not need to match the exact score an agent gets on production data; it needs to reproduce the same behavioral trends: direction (if longer reasoning chains lower accuracy on real data, they should lower accuracy in the tunnel) and rate (accuracy should degrade at the similar pace as contradictions accumulate). When those trends hold, you can confidently compare agent versions and dial up complexity step by step to find where reasoning breaks down.
We test how closely our simulated estates match reality — and whether evaluation signals carry over — at three levels:
- Statistical properties: Every build produces a realism report measuring structural properties that affect SQL generation and joins — including row multiplication across table joins (join fan-out), key skew, null and duplicate rates, event durations, and day-of-week activity curves — alongside numeric distribution checks such as leading-digit frequencies (Benford’s law).
- Domain expert review: In early engagements with enterprise partners, we built synthetic estates modeled on their domains and had their analysts query the data to judge whether it behaved like their own systems.
- Independent calibration and carry-over checks: We run the simulator’s output through an independent calibration suite of more than a hundred checks covering statistical realism and answer-key SQL verification. In our internal evaluations, capability upgrades — such as switching an agent to a deeper reasoning mode or improving how it handles context — move accuracy in the same direction and rank agent configurations in the same order on both synthetic estates and human-authored benchmarks. Broader multi-agent studies across paired real and synthetic customer estates are now underway.
How our approach builds on prior work
Our simulator builds on two research threads. In database question answering, benchmarks like BIRD and Spider 2.0 have moved from clean schemas to messy databases, while agent environments like WebArena, tool-use benchmarks like τ-bench, and Generative Agents simulate websites or use language models to role-play human users. In contrast, our simulator’s employees follow deterministic rules tied to their roles and schedules, so a single seed replays the exact same organizational history every time.
We also adapt an intuition from domain randomization in robotics, where simulations vary surface details like lighting and textures during training while keeping the underlying physics faithful. Applied to data agent evaluation, that means synthesizing every surface name, number, and document from a short pattern description, while keeping the causal structure, cross-document links, and institutional messiness faithful to enterprise reality.
Hardening agents without customer data
Generating a test estate on demand removes a bottleneck between enterprises that own sensitive data, and the engineering teams building data agents for them. Traditionally, developing and benchmarking an enterprise agent required access to production tables and a hand-labeled question set — the two assets hardest to share across organizational or compliance boundaries. We use this wind tunnel internally to stress-test and harden Google Cloud’s data agents against realistic enterprise messiness without touching customer data, and the same blueprint-first architecture can be applied by any engineering team building evaluation suites for their own agents.
Synthetic evaluation still carries two risks: overfitting to the simulator’s patterns of messiness, and drift as a live business evolves away from its blueprint. The discipline required is the same one that wind-tunnel engineers practice: Periodically calibrate the tunnel against real-world runs, keep benchmark difficulty aligned with production failure modes, and treat the simulation as a living model. Your agents — and their users — will thank you.
Source Credit: https://cloud.google.com/blog/products/data-analytics/a-data-simulator-to-test-agents/
