WorksComputer Science
SynthCorp: A Platform for Creating Benchmarks for Data Agents
Abstract
Current benchmarks for LLM-driven data agents saturate quickly and cannot target specific capabilities. We present SynthCorp, a platform that creates customizable data estates and benchmarks by simulating how business events produce and modify corporate data over time. Each data estate combines relational databases, a document store, and a data catalog, paired with evaluation tasks and executable gold programs. First, given a scenario and target complexity dimensions, SynthCorp synthesizes reusable event types and compiles each into a program over predefined simulation primitives. Second, SynthCorp schedules event instances on a virtual calendar, interleaving routine and disruption events so that tables, documents, and catalog entries remain consistent. Third, SynthCorp executes the calendar to materialize the data estate and records every operation in a simulation log. Fourth, SynthCorp generates analytical tasks and derives verified gold programs from the log. We use SynthCorp to generate initial evaluation benchmarks comprising seven data estates (up to 1K operational tables) and 256 tasks across five domains. The data estates pass deterministic pipeline checks (such as foreign-key violations, undeclared writes, recurrence violations, and database execution failures) with a near-zero error rate, introduce cross-asset complexities, and cover all requested dimensions. Evaluating three models across four data-context settings shows that the benchmarks separate data contexts and model tiers. Auditing candidate queries against causal provenance in the simulation log verifies gold programs without manual annotation, including on multi-event composite tasks that expose reasoning failures in state-of-the-art agents. We hope the community uses SynthCorp to generate more challenging and useful data estates and benchmarks that foster the development of enterprise data agents.
Introduction
Autonomous data agents powered by LLMs are changing how enterprises handle data engineering and analytics ([18, 21, 56] (Fu et al. 2025)). Building and improving these agents requires benchmarks that reflect the complexities of enterprise data estates, where thousands or millions of tables coexist with policy memos, business plans, and incomplete metadata catalogs. Researchers and agent builders, however, rarely have access to proprietary corporate data, which makes benchmark creation a primary bottleneck in agent development.
Existing data-agent benchmarks have three limitations ([12, 27, 30] (Ma et al. 2026)). First, they provide fixed databases and static task sets that models saturate quickly. Second, developers cannot customize them to test specific agent capabilities, such as selecting authoritative tables from a warehouse with redundant copies, filtering out low-quality records, or resolving domain-specific business terms. Third, they start from a static data snapshot that does not record how or why the data reached that state. In a real enterprise, the difficulty of an analytical question often stems from that history, such as which table replaced a deprecated table in a migration or when a new accounting policy took effect. Annotators who only see the final snapshot have to invent questions and reverse-engineer reference answers, which is slow and error-prone when they deal with complex schemas and business rules [22].
We present SynthCorp, a platform for creating customizable data estates and benchmarks for data agents. SynthCorp flips the relationship between agent building and benchmarking. Developers specify a business scenario and the data complexities they want to test, such as schema drift, and SynthCorp generates both the corporate data estate and the evaluation benchmark. The data estate consists of relational databases, a document store (e.g., business plans, policy memos, and meeting notes), and an often incomplete data catalog. The benchmark consists of evaluation tasks and the corresponding executable gold programs. Figure 1 illustrates this workflow on a specialty coffee shop with the requested schema drift and implicit business rules complexities. From these inputs, SynthCorp produces versioned tables, a series of documents including menu memos and staff policy, and several evaluation tasks and their verified gold programs.

Figure 1. SynthCorp builds a data estate and benchmark from business events.
Generating such a data estate is challenging because real-world data complexities arise from business events that unfold over time and affect several data assets at once. Consider a schema migration in a coffee shop that starts recording milk choices on Day 3. This single event may leave behind a pre-migration snapshot frozen at the cutover date, an authoritative transactions table whose new milk_choice column is NULL for rows before Day 3, a policy memo announcing the menu upgrade, and downstream views that query the new column only after the cutover. Because all of these changes come from the same event, the tables, documents, and views agree on what changed and when. Approaches that directly generate a final database snapshot [10, 17, 20] (Li et al. 2025; Xu et al. 2026) have to coordinate all of these cross-asset constraints at once, which breaks down as the schema grows. Approaches that inject synthetic noise into a clean database [1, 8, 35, 53] corrupt tables or documents in isolation and leave no business context that explains them.
The key idea of SynthCorp is to build a data estate by simulating the business events that create and modify corporate data over time. SynthCorp models two kinds of events and schedules them on a shared virtual calendar. Routine events describe recurring operations, such as daily customer orders or weekly inventory audits, and populate the operational tables and reports. Disruption events introduce structural or policy changes, such as upgrading a table schema, freezing an audit snapshot, or issuing a new revenue policy. Executing both kinds of events in an order that mirrors the life of the enterprise keeps tables, documents, and catalog entries mutually consistent. Data complexities emerge both from planned disruptions and from routine operations, such as dated audit snapshots that accumulate alongside authoritative tables in the warehouse.
Making such a simulation reliable by leveraging LLMs rests on three design principles. First, users cannot manually specify thousands of low-level event instances or anticipate every operation needed to produce a data complexity. Users provide a concise business scenario and select target complexity dimensions and then SynthCorp synthesizes reusable routine and disruption event types in natural language for human inspection and refinement. Separating event types from the simulation schedule lets SynthCorp define and review each event type once and instantiate it as many times as necessary across the virtual calendar. Second, SynthCorp compiles each high-level event type into a program over predefined simulation primitives (SPs). The simulation primitives are the operations that create and modify the simulated data estate. Each primitive performs a single bounded operation that an LLM executes reliably, while explicit input and output operands let the compiler and scheduler verify cross-event consistency before execution. In a sense, these primitives establish a boundary of trust delineating where we feel that we can delegate the rest of the work to the LLM reliably. Third, SynthCorp records the complete provenance of operations on the data estate in a simulation log. SynthCorp hides this log from evaluated agents and uses it during benchmark creation to determine when a synthesized question is answerable from the observable data estate and to verify its reference gold program. During execution, SynthCorp binds benchmark hints to created tables and documents, augments them with post-hoc detectors over the log, and composes verified atomic tasks into multi-complexity tasks. An LLM agent then derives each gold program step by step against the simulation log, documents, and database.
We validate four advantages of SynthCorp by generating seven data estates and 256 tasks in five domains (retail at 10, 100, and 1K operational tables, music, banking, logistics, and insurance) across three development scenarios and four held-out scenarios. (1) Reliable and regenerable. SynthCorp generates a new data estate and benchmark in minutes to hours with a near-zero error rate on deterministic pipeline correctness checks, so developers can create fresh benchmarks as models saturate existing ones. The six smaller data estates pass every deterministic check on their compiled programs, calendars, and databases, and Retail-1000 passes all static program and calendar checks with a 0.2% runtime query failure rate when recurring refresh queries read from empty upstream tables. (2) Targeted and cross-asset. Developers choose the business domain, warehouse scale, and complexity dimensions to test, and every generated benchmark covers all requested dimensions. As business events update tables, documents, and catalog entries together, authoritative tables coexist with backups, staging tables, and reporting snapshots on up to 68% of tasks, 64% face superseded statements across documents and the glossary, and 80% combine SQL queries with document or catalog evidence. (3) Discriminative. Evaluating two open-weight models and a frontier model across four data-context settings shows that the generated benchmarks separate both data-context settings and model tiers. Because SynthCorp embeds business rules in documents and the glossary, schema-only prompting fails on these tasks, whereas retrieving a single document raises overall accuracy by 9 to 17 percentage points and multi-step agentic search adds another 12 to 20 points. (4) Verifiable and challenging. Every complexity traces to a logged business event, so SynthCorp derives gold programs without manual annotation, and state-of-the-art agents match them on up to 94% of runs after accounting for format differences. On harder multi-event composite tasks, causal provenance in the simulation log refines ambiguous questions and corrects candidate gold programs, producing verified tasks that expose multi-hop and point-in-time reasoning failures across all evaluated models.
Related Work
Data Agent Benchmarks. Recent benchmarks test data agents on multi-database querying, exploratory question answering, and text-to-SQL workflows [9, 21, 23, 27, 28, 29, 55] (Ma et al. 2026; Wang et al. 2026). Table 1 compares SynthCorp with representative benchmarks and generators. Most of these benchmarks collect static public databases or repositories and rely on human annotation to author questions and gold programs ([38, 46]). Because static snapshots lack a record of how the data evolved, developers cannot adjust the difficulty of these benchmarks or target specific agent capabilities.
| Line of work | Controllable Complexity | Schema Evolution | Virtual Calendar | Assets | Data Provenance | Verified Tasks |
| Curated benchmarks ([9, 27, 29]) | ✗ | ✗ | ✗ | T, D | ✗ | ✗ |
| Enterprise simulators ([13, 51]) | ✗ | ✗ | ✓ | T, D | ✓ | ✗ |
| Enterprise sandboxes ([16, 20] (Xu et al. 2026)) | ◦ | ✗ | ◦ | T, D | ◦ | ◦ |
| Process simulation ([6, 7, 26]) | ✗ | ✗ | ✓ | – | ◦ | ✗ |
| Database generators ([10, 17, 40, 42, 43, 50]) | ◦ | ✗ | ✗ | T | ✗ | ◦ |
| Corruption & drift ([3, 53] (Zhang et al. 2025)) | ✓ | ◦ | ✗ | T | ◦ | ◦ |
| SynthCorp (this work) | ✓ | ✓ | ✓ | T, D, C | ✓ | ✓ |
Table 1. Comparison of SynthCorp with related work. Assets are tables (T), documents (D), and catalog (C). ✓ full, ◦ partial, ✗ none, and – logs only.
Synthetic Data and Corruption. Prior database generators produce test data for query engines ([15, 43] (Li et al. 2018)), match the statistical distributions of existing tables ([40, 42, 52] (Xu et al. 2019)), or synthesize text-to-SQL training pairs and benchmark instances ([10, 17, 34, 50] (Li et al. 2025)). All of these systems generate a single snapshot of a fixed schema. A complementary line of work injects cell errors ([3, 53]) or perturbs database schemas ([54]). However, post-hoc corruption modifies individual tables in isolation and omits the policy memos, views, and historical snapshots that real business events leave behind.
Enterprise and Process Simulation. Recent simulators model organizations and multi-agent interactions ([41] (Ni et al. 2026)). Enterprise simulators record a deterministic event log from which an LLM renders documents ([13]), or run role-based agent teams against a simulated market ([51]). These systems use hand-coded domain simulators, keep database schemas fixed, and generate text corpora without verified analytical tasks. Enterprise sandboxes ([16, 20] (Xu et al. 2026)) populate fixed schemas and evaluate agents with hand-written task templates or inject defects from a static manifest. Business-process simulators ([6, 7, 26]) emit event logs for process mining and do not materialize relational tables, documents, or metadata catalogs.
LLMs as World Models. Prior work uses pretrained LLMs as world models to predict state transitions or synthesize executable simulators [19, 24, 44]. SynthCorp builds on this direction by using an LLM as an enterprise world model that expands a short scenario into business event types, workflows, and distributions, and compiles them into bounded simulation primitives.
The SynthCorp Design
Figure 2 shows the four stages of SynthCorp. First, SynthCorp turns a business scenario and requested complexity dimensions into event types for user review. Second, it compiles each approved event type into an SP program. Third, it places event instances on a virtual calendar from the user’s simulation instructions and executes them to materialize the data estate and simulation log. Fourth, it derives the benchmark with diverse analytic tasks and gold programs from the data estate and log.

Figure 2. The SynthCorp pipeline. The event synthesizer (Stage 1), the compiler (Stage 2), the scheduler and the execution engine (Stage 3), and the benchmark generator (Stage 4) each pair LLM generation with human or programmatic verification and pass a validated artifact to the next stage.
Figure 1 traces this pipeline on a 14-day specialty coffee shop simulation. From the scenario and two requested complexities, SynthCorp synthesizes a daily-sales routine event type and two disruption event types (a Day 3 menu upgrade and a Day 10 staff-drink policy), compiles them into SP programs, and schedules them across the 14-day calendar. Execution materializes a frozen transactions_v1 snapshot, an authoritative transactions table with unbackfilled milk_choice values and $0 staff drinks, and two policy memos, while logging provenance and binding benchmark hints to construct atomic and composite tasks. We now define each stage’s inputs, outputs, and guarantees.
The Simulated Data Estate
We model a data estate as .
Relational databases (). Operational (OLTP) databases and analytical (OLAP) warehouses. keeps all created artifacts unless an event deletes them, including tables orphaned by a migration, added columns whose historical rows remain NULL, and ad-hoc materialized views and analyst views.
A document store (). Unstructured enterprise text, including business plans, policy memos, meeting notes, and supplier contracts. Critical rules (such as the rationale behind a schema change) often reside only here, requiring agents to consult .
A data catalog (). Metadata indexing tables in and documents in . stores schemas, types, descriptions, optional lineage and update frequency, and a business glossary of domain terms, acronyms, and status codes that maps question terms to schema elements. In real enterprises, metadata catalogs are rarely complete. Organizations frequently leave new tables undocumented or keep business definitions in documents that never reach the catalog. Data engineering teams refer to recovering and linking this missing metadata as catalog enhancement. To test incomplete catalogs, SynthCorp can store business rules in and omit them from .
A simulation log (). A record of every operation applied to the data estate and its rationale. SynthCorp hides from evaluated agents and uses it only during benchmark generation to construct answerable tasks and verify gold programs.
Event Types as the Abstraction Layer
In Stage 1, given a business scenario and target data complexities, the event synthesizer produces a set of event types that capture corporate operations at a compact and reusable level of abstraction. Routine events (such as serving customers, replenishing inventory, and running weekly audits) repeat frequently and populate operational tables and reports. Disruption events (such as upgrading a schema, revising an accounting policy, or migrating a pipeline) occur at scheduled points on the calendar and introduce data complexities. Separating event types from instances lets SynthCorp compile each event type once and instantiate it across the horizon.
Each event type pairs a natural-language process description with four declarations. First, parameters (such as business hours and arrival rates in RunCafeEvent) specify constants, distributions, or references to parameters of other event types. Second, recurrence specifies one-time, periodic, or continuous execution across the horizon. Third, temporal constraints order instance intervals relative to other event types (e.g., SetupCafeEvent precedes RunCafeEvent). Fourth, benchmark hints state in business terms what an analyst or agent needs to know to query the affected data accurately, such as a maintained invariant, metric formula, or schema cutover.
Temporal constraints
Temporal constraints specify when events may occur relative to one another. An instance occupies an interval with start and finish times and on the virtual calendar. SynthCorp adopts seven interval predicates based on Allen’s interval algebra [2], each defined as a conjunction of endpoint inequalities that forms a simple temporal network: (1) precedes(), where finishes by the time starts (), (2) meets(), where finishes when starts (), (3) within(), where occurs entirely within (), (4) overlaps(), where starts during and finishes after (), (5) starts(), where both start together and finishes by (), (6) finishes(), where both finish together and starts no earlier than (), and (7) equals(), where both share the same endpoints ().
What the event set guarantees
Stage 1 ensures that the approved event types satisfy three properties before compilation.
Domain fit. The routine event types model the operational workflows described in the user’s scenario, and for each requested complexity dimension, a disruption event type introduces that complexity into the routine operations. Table 2 summarizes the complexity dimensions and representative events.
| Dimension | Effect on the data estate and example event |
| Business glossary | Domain terms or codes require definitions outside the schema, e.g., PublishGlossaryPolicyEvent defines POS status code 4 as a voided order. |
| Implicit business rules | Documents state rules that the schema does not enforce, e.g., ReviseDiscountPolicy writes a memo excluding staff-discounted sales from revenue. |
| Multi-granularity | Transaction rows coexist with coarser summaries, e.g., EstablishDailyRollup creates daily register summaries. |
| Table redundancy | Frozen snapshots and redundant copies remain beside authoritative tables, e.g., AnalystAuditSnapshot retains an audit snapshot. |
| Schema drift | Schema changes leave historical rows without new attributes, e.g., UpgradeMenuEvent freezes the snapshot and adds milk_choice to the authoritative table. |
Table 2. Complexity dimensions and representative events.
Coherence. Even when individual event types look plausible on their own, a set of event types can fail in three ways. First, event types can overlap or contradict one another. For instance, two routine events might both record customer purchases and double-count revenue, or a setup event might define five menu items while the daily sales event samples from twelve. Second, a disruption event can become disconnected if it modifies a workflow or table that no routine event creates. Third, temporal constraints can form cycles or place a disruption event outside the active window of routine operations. For example, if UpgradeMenuEvent runs before Day 1 or after Day 14 of sales, all transaction rows share a single schema and schema drift never occurs.
User approval. Because a brief scenario description leaves fine-grained business choices open (such as how the point-of-sale system marks voided orders), Stage 1 surfaces these choices as clarification questions and lets the user add, remove, or edit event types in natural language before compilation. We call this step human-in-the-loop (HITL) review. Once approved, the event set serves as the specification against which we evaluate all downstream stages.
Simulation Primitives as a DSL
In Stage 2, the compiler translates each approved event type into an SP program, which is a sequence of operators drawn from the fixed set of twelve simulation primitives (SPs) listed in Table 3. These twelve primitives fall into four categories, namely generative, stochastic, artifact, and control primitives. Because a recurring event type executes across multiple calendar instances and its SP program can iterate via Loop, a single operator in a compiled SP program can produce many runtime operator invocations.
| Primitive | Data | Operation |
| Generative ✦ | ||
CreateSchema | Generates a table schema from a business description and registers it in . | |
GenDocument | Generates a document, inserts it into , and registers it and its glossary terms in . | |
CreateDistribution | – | Defines a probability distribution over a specified domain. |
GenValue | – | Generates a value consistent with the supplied description. |
HoldConversation | Generates a multi-turn stakeholder dialogue and records the decision outcome. | |
| Stochastic | ||
Sample | – | Draws samples from a declared distribution. |
| Artifact | ||
ApplyTransactions | Generates and writes a batch of rows from declared per-column generators. | |
Query | Runs a query, stores the result as a materialized view, and registers it in . | |
AlterSchema | Snapshots the table, applies a schema modification or migration, and updates . | |
ReadDocuments | – | Retrieves unstructured content from without modifying state. |
| Control | ||
Loop | – | Iterates an instruction sequence over a range, a fixed count, or until a predicate holds. |
Schedule | – | Schedules an action after a virtual-time delay. |
Table 3. Table 3 | The twelve simulation primitives in . ✦ marks the category whose primitives invoke an LLM.
SynthCorp restricts all LLM-driven state changes to the primitive set . We designed these twelve primitives to balance execution reliability against program length. Fine-grained primitives are simple enough for an LLM to execute without hallucinating schemas or corrupting state, while coarse-grained primitives keep SP programs concise and readable. Each primitive performs a single bounded action, such as creating a table schema, writing a document, or inserting a batch of rows from column generators, and declares all of its input and output operands explicitly. Explicit operands allow the compiler to verify cross-event references statically before execution and allow the execution engine to record exact provenance in . In this way, defines the boundary of trust between human specifications and LLM execution. Above the boundary, human-approved event types, compiler checks, and scheduling govern the simulation structure. Below the boundary, the LLM executes individual primitives. Developers can also extend with new primitives to support additional data modalities, such as streaming event logs.
What compiled programs guarantee. The compiler enforces four properties before handing SP programs to the scheduler. (1) Cross-event consistency. When SP programs of different event types refer to the same table, document, or distribution, they resolve to the same shared artifact. When a disruption event migrates a table via AlterSchema, subsequent operators reference the updated table while historical rows written before the migration retain NULL in newly added columns. (2) Referential integrity. Every foreign-key column in ApplyTransactions draws its values from existing keys in its parent table. (3) One program per event type. Each recurring event type compiles into a single parameterized SP program whose instance-specific values (such as the current date window) bind at run time, and whose per-instance outputs carry distinct dated names so that later instances do not overwrite earlier artifacts. (4) Program validity. Every SP program defines each symbol before use, passes arguments that match primitive signatures, references only existing tables and columns, and implements all operations and outputs required by its event type description.
Scheduling and Execution
Stage 3 comprises the scheduler, which places event instances on the virtual calendar, and the execution engine, which runs their SP programs to materialize the data estate and the simulation log.
Scheduling
Scheduling
The scheduler takes the approved event types, the compiled SP programs with their data dependencies, and the user’s natural-language simulation instructions (for example, “simulate 14 days and upgrade the menu on Day 3”). These instructions specify the simulation horizon (start and end dates), recurrence frequencies, and specific dates for disruption events. The scheduler outputs the calendar , which is a set of scheduled event instances in virtual time. Each scheduled instance specifies its event type, start and finish timestamps, and runtime parameter bindings.
A valid calendar satisfies every declared temporal constraint, every data dependency exposed during compilation (ensuring that the event creating an artifact runs before any event that reads it), the recurrence rule of each event type, and the user’s simulation instructions. Note that Stage 1 declares temporal constraints between event types, whereas the calendar schedules individual instances. A type-level constraint applies to the overall time span from the first instance to the last instance of a recurring event type. For example, within(Audit,RunCafe) requires that all weekly audits fall between the first and last business days of the cafe, since a weekly audit can span beyond one day’s operating window.
Execution
The execution engine runs the scheduled event instances in in chronological order of their start times. For each event instance, the engine binds the runtime placeholders and advances a virtual clock across Loop iterations, executing the compiled SP program so that generated rows, documents, and dated snapshots carry accurate creation timestamps.
Populating the catalog. As operators execute, the execution engine updates the data catalog . CreateSchema and Query register newly created tables and views in . AlterSchema registers the pre-migration snapshot table and updates the schema entry of the migrated authoritative table. GenDocument registers each generated document in and extracts structured business-glossary entries, such as status-code definitions and metric formulas.
Recording provenance. The execution engine records provenance in so that the benchmark generator can derive reference answers without human annotation. To keep the log compact without storing every generated tuple, the execution engine appends one provenance record per operator invocation, capturing its event instance, virtual timestamp, resolved input and output symbols, and execution status. It logs schema changes, generated documents, and view definitions in full to preserve exact lineage between authoritative tables and historical snapshots, while summarizing bulk row insertions in ApplyTransactions by row count and column-generator rules. In addition, the execution engine binds each event type’s benchmark hints to the physical tables, columns, and documents that the event touched. As a result, records for every artifact in the data estate which event created or modified it, at what virtual time, from which inputs, and under which rule.
Provenance-Based Benchmark Generation
In Stage 4, the benchmark generator derives evaluation tasks from the data estate . Each task pairs a natural-language question with an executable gold program whose output on defines the reference answer. Generating reliable tasks from without human labeling requires establishing two guarantees for both atomic and composite tasks. First, every question needs to be answerable from the observable assets (, , and ) without access to . Second, every gold program needs to compute the exact answer required by the question and the logged business rules.
Answerable tasks
A benchmark question is answerable only if every schema change, table snapshot, or business rule that affects the answer leaves observable evidence in , , or . The benchmark generator constructs atomic tasks, each targeting a single data complexity, from benchmark hints and post-hoc detectors over and , and retains a candidate only if it passes three answerability checks: (1) observable artifacts in , , or (such as a migration memo or pre-migration NULL values) anchor the target complexity, (2) the question uses domain terms without disclosing physical table or column names, requiring discovery via and , and (3) the candidate gold program executes cleanly on and returns a non-empty, non-NULL result.
Verified gold programs
The benchmark generator constructs each gold program using the complete lineage and business rules recorded in . It checks every factual claim used in deriving a gold program, such as a policy exclusion quoted from a document or an intermediate key mapping in the warehouse, directly against and . When a natural-language question permits multiple defensible interpretations, the benchmark generator adds explicit constraints to the question (such as the exact output attributes or the date range) so that the reference answer is unambiguous. Finally, verified atomic tasks provide reusable verified query fragments, namely authoritative table sources, complexity-aware filter predicates, and verified measure expressions. Figure 1 shows two filter fragments, milk_choice = "oat" and amount > 0. The benchmark generator composes compatible fragments into a single query to form composite tasks that require reasoning across multiple complexities at once, ensuring that each composite gold program inherits the verified logic of its constituent fragments.
Ground-truth audit. The benchmark generator audits every gold program against , independently of the LLMs that derived it, across four criteria. (1) The answer agrees with the logged write history (e.g., counting an added column covers only post-migration rows). (2) The gold program reads only authoritative tables and never a deprecated table or frozen snapshot. (3) Its filters and measures match the logged generation rules. (4) Adding rows to a frozen copy of a queried table leaves the answer unchanged. The generator discards any violating task and labels remaining tasks as log-verified when a criterion confirms the answer, corroborated when only the hint agrees, or unverified otherwise.
Task validity checks. Finally, two deterministic task validity checks drop malformed or leaky tasks. A task is well-formed if its question and gold-program result are non-empty and no duplicate normalized question yields a different answer. A task has no schema leakage if its question names no table read by its gold program (exempting single-table baseline tasks, which name their table).
The SynthCorp Implementation
This section describes our implementation of SynthCorp, built with a coding agent against the stage specifications in § 3 and the correctness checks in § 5.3. We developed the code on three development scenarios, froze the implementation, and generated four held-out scenarios unchanged.
Event Synthesizer
Candidate event synthesis. From the scenario description and requested complexity dimensions, the synthesizer proposes routine event types with parameters, recurrence rules, and benchmark hints, comprising a setup event for initial schemas, documents, and distributions and recurring operational events for transactions and audits. For each requested dimension, it retrieves a trigger pattern from a complexity library covering Table 2 (e.g., an unbackfilled column launch, rekeyed migration, or versioned cutover for schema drift), instantiates it for the domain, and links its target artifacts.
Temporal constraint linking. Next, the synthesizer connects candidate event types into a directed relational graph by mapping each event role to an interval predicate. It links setup events to dependent routine events with precedes or meets, places disruptions and periodic reviews within the span of recurring operational events with an offset window, and connects phased cutovers, launch promotions, and closing reconciliations with overlaps, starts, and finishes.
Self-critique and repair. Finally, a self-critique pass checks the event set and temporal constraints against the scenario description, operating hours, and requested complexity dimensions, revising any conflicting or disconnected event types before HITL review.
Compiler
Cross-event consistency. The compiler processes event types in topological order of their temporal constraints and maintains a shared symbol table. When an operator creates a table schema, document, or distribution, the compiler binds the artifact to a typed symbol in the symbol table, and operators in later routine and disruption event types pass that symbol directly as an operand. Because the symbol table records which event type binds and reads each symbol, the compiler also derives a temporal constraint requiring each creator to run before its readers. For example, when a migration event applies AlterSchema, the compiler registers symbols for both the snapshot and the migrated authoritative table.
Referential integrity. In each ApplyTransactions operator, the columns operand declares how the operator populates each column, whether by copying values from a parent table, run an expression over sibling columns via Query, drawing from a distribution via Sample, assigning a literal, or invoking GenValue. The compiler checks these declarations statically and rejects any foreign-key column that uses GenValue or an independent distribution.
Recurring event instances. For each recurring event type, the compiler inlines fixed parameters into operator operands and compiles instance-varying values (such as loop counts and time windows) into runtime placeholders. For per-instance views, snapshots, and reports, the compiler appends a date placeholder to the output name (such as audit_{date}).
Validation and repair. Deterministic static checks verify that each SP program defines every input symbol before use, matches operand types to primitive signatures, and references only symbols in the symbol table. An LLM semantic check compares each SP program against its event type description to verify that all specified operations and outputs appear. When either check reports a defect, the compiler runs one LLM repair pass and keeps the revised program only if it resolves the defect without introducing new errors.
Scheduler and Execution Engine
LLM proposal and STN projection. The scheduler prompts an LLM with the simulation instructions to propose a start time and duration for each event instance, and projects those proposals onto valid schedules using an STN solver ([11]). Fixing instance start and finish timestamps sequentially in chronological order, the STN solver computes the feasible range of the next timestamp from all active constraints and previously fixed timestamps. The scheduler keeps the LLM proposal if it falls within the feasible range, or clamps it to the nearest bound and updates the remaining bounds. Applying type-level constraints to instances. For an event type with recurring instances , the scheduler orders consecutive instances via and for , reducing the event type’s span to so every type-level interval predicate encodes as linear inequalities over and . Before execution, the scheduler replays against the evolving schema in calendar order and rejects the calendar if any query reads a column before the instance that creates it.
Benchmark Generator
Atomic tasks from hints and detectors. First, the benchmark generator drops benchmark hints whose target artifacts did not materialize during execution, and passes each remaining hint, the schemas and sample rows of touched tables in , and linked documents in to an LLM to generate a natural-language question and candidate gold program. Second, the generator runs two kinds of post-hoc detectors over the materialized data estate. Deterministic detectors scan and for nine structural complexity patterns (schema drift, missing backfills, versioned table splits, partially backfilled splits, stale replicas, duplicate views, document–database contradictions, implicit business rules, and multi-granularity summaries), while LLM detectors inspect generated documents and their log slices to propose cross-asset tasks. Candidates passing the answerability checks enter the atomic task pool.
Composite tasks. The generator builds composite tasks either by combining compatible filter and measure fragments into a single aggregate query over foreign-key joins, or by nesting verified atomic gold programs inside outer comparison and ranking queries. It re-executes each composite gold program while ablating one fragment at a time to confirm that every constituent complexity affects the output. An LLM then rephrases each composite specification into a natural-language question, which the generator retains only if a second LLM maps it back to the original query specification.
Gold program derivation by multi-agent debate. An iterative multi-agent debate among a panel of LLM agents derives and verifies each gold program over , , and . In each round, proposer agents backed by multiple distinct LLMs independently write a SQL query for the question and check each clause of the candidate gold program against logged table lineage and policy documents. When the proposers reach different answers, one agent defends the candidate program’s table selection, joins, filters, and formulas, while dissenting critics challenge specific clauses by citing the logged events in (such as a schema cutover or an in-place table update) and propose a revised query. A judge agent weighs the verified evidence from both sides and either keeps the candidate program, adopts a critic’s revised query for the next round, or flags the question as ambiguous. The panel runs for up to five rounds and settles when two consecutive rounds reach high-confidence agreement on equivalent gold programs. When the judge finds that a question admits multiple valid readings under the logged rules, the panel adds explicit scope constraints (such as target output columns or time windows) and reruns the derivation.
Evaluation
We generate seven data estates and 256 tasks across five domains using SynthCorp. We summarize the scenarios and generated data estates, then evaluate pipeline correctness, data estate complexity and benchmark quality, and agent performance across data-context settings, model tiers, and provenance-verified composite tasks.
Scenarios and Generated Data Estates
Scenarios and Generated Data Estates
We generate six data estates with Gemini 4 Argon and generate Retail-1000 with Gemini 3.8 Flash, using Retail-10, Banking, and Logistics as development scenarios and generating the remaining four held-out scenarios after freezing the implementation. Table 4 summarizes the statistics of the seven data estates and benchmarks, and Appendix § 8 details each scenario. Music store builds on the public Chinook schema1 with policy memos for QA canary checkouts, in-place anonymized closed accounts, and off-database flash-sale refunds. Banking builds on the Czech bank schema from BIRD financial (Li et al., 2023), pairing a Czech codebook of transaction codes, KPIs, and fee schedules with a Day 45 steelworks closure that pushes loans into arrears. Logistics adapts the ERP payment-to-invoice reconciliation task of Bodensohn et al. [5] with a frozen Day 12 auditor invoice snapshot, a bank-transaction replica that stops refreshing on Day 18, and daily and monthly treasury summaries. Retail-10, Retail-100, and Retail-1000 model a specialty coffee business at 10, 100, and 1K operational tables with a shared counter-sales core and an unbackfilled milk_choice migration, scaling from one shop (Retail-10) to 14 back-office subsystems (Retail-100) and a 20-store chain with an acquired competitor, vendor landing zones, and an analytics warehouse (Retail-1000). Insurance models a property-and-casualty insurer with biweekly QA canary claims, multi-invoice lockbox lump sums, and an unbackfilled Day 48 telematics rating migration.
| Retail-10 | Retail-100 | Retail-1000 | Music store | Banking | Logistics | Insurance | |
| Complexity | SD | SD | All | IBR | BG | TR, MG | IBR, MG, SD |
| Horizon (days) | 14 | 14 | 28 | 60 | 120 | 30 | 120 |
| Event types (R+D) | 11+2 | 27+1 | 59+31 | 5+5 | 9+3 | 8+5 | 7+4 |
| Operators | 59 | 299 | 1.3K | 90 | 91 | 86 | 92 |
| Event instances | 65 | 153 | 834 | 147 | 152 | 177 | 585 |
| Operator invocations | 280 | 1.7K | 15.7K | 545 | 3.2K | 1.2K | 4.5K |
| Total tables | 33 | 272 | 1.4K | 11 | 25 | 60 | 126 |
| Columns | 259 | 707 | 6.9K | 64 | 125 | 609 | 863 |
| Rows | 12.7K | 30.5K | 1.5M | 5.5K | 22.6K | 14.0K | 130.1K |
| Documents | 11 | 104 | 1.4K | 5 | 7 | 26 | 18 |
| Catalog entries | 189 | 2.0K | 6.8K | 69 | 173 | 472 | 379 |
| glossary terms | 146 | 1.6K | 5.0K | 53 | 144 | 405 | 240 |
| Tasks | 37 | 31 | 62 | 28 | 26 | 19 | 53 |
| atomic / composite | 23/14 | 23/8 | 36/26 | 17/11 | 18/8 | 14/5 | 24/29 |
| doc-required | 32 | 25 | 48 | 24 | 18 | 13 | 45 |
| Runtime (min) | |||||||
| compilation | 22.5 | 66.1 | 353.3 | 11.8 | 17.5 | 32.7 | 20.8 |
| execution | 4.5 | 19.5 | 340.8 | 10.3 | 3.6 | 11.9 | 42.9 |
| LLM calls | |||||||
| compilation | 17 | 35 | 110 | 10 | 12 | 17 | 13 |
| execution | 79 | 450 | 2.8K | 137 | 1.3K | 301 | 2.0K |
Table 4. The seven SynthCorp data estates and benchmarks. Complexity dimensions are business glossary (BG), implicit business rules (IBR), multi-granularity (MG), table redundancy (TR), and schema drift (SD). R+D denotes routine + disruption event types. Retail-10, Retail-100, and Retail-1000 indicate their number of operational tables.
Data estate composition. Across the seven data estates, CreateSchema and AlterSchema produce 1,176 base tables, while recurring Query operators materialize report snapshots (41.7% of tables per data estate on average, and 52.9% including views). Reference and transaction tables form 67.3% of base tables, and transaction tables hold over 90% of rows in five data estates. Retail-1000 features a multi-layer warehouse architecture (357 operational source tables, 346 vendor and acquired-system feeds, 235 staging and warehouse tables, and 66 frozen or sandbox copies), whereas the six smaller data estates hold operational tables plus at most two frozen snapshots from migrations or audits. Across document stores, 1,562 documents instantiate 228 templates spanning dated reports, policies, data dictionaries, migration notes, and transcripts. Appendix § 8.§ 1 and Table 9 report the full table and document breakdown across all seven data estates.
| Retail-10 | Retail-100 | Retail-1000 | Music store | Banking | Logistics | Insurance | |
| Total tables | 33 | 272 | 1.4K | 11 | 25 | 60 | 126 |
| report snapshots / views | 14/8 | 105/66 | 347/41 | 0/0 | 12/4 | 34/4 | 102/6 |
| base tables | 11 | 101 | 1.0K | 11 | 9 | 22 | 18 |
| reference | 5 | 35 | 264 | 9 | 7 | 4 | 8 |
| transaction | 4 | 46 | 389 | 2 | 1 | 10 | 8 |
| log | 0 | 5 | 76 | 0 | 0 | 3 | 0 |
| aggregate | 2 | 15 | 247 | 0 | 1 | 5 | 2 |
| metadata | 0 | 0 | 28 | 0 | 0 | 0 | 0 |
| Rows in transaction tables | 99% | 95% | 91% | 67% | 95% | 96% | 33% |
| Documents | 11 | 104 | 1.4K | 5 | 7 | 26 | 18 |
| policy & reference | 3 | 13 | 89 | 3 | 1 | 3 | 12 |
| data documentation | 0 | 2 | 70 | 0 | 0 | 17 | 1 |
| recurring reports | 4 | 73 | 1.2K | 0 | 4 | 4 | 4 |
| event memos | 3 | 15 | 29 | 2 | 2 | 2 | 0 |
| transcripts | 1 | 1 | 3 | 0 | 0 | 0 | 1 |
Table 9. Breakdown of tables, rows, and documents across the seven SynthCorp data estates, extending Table 4.
Pipeline Correctness
Pipeline correctness tests whether SynthCorp delivers the guarantees of each stage. Table 5 defines 14 error types in four groups, and Appendix § 10 and Table 10 specify their detection criteria and counting units. Six test compiled SP programs for validity, single-program parameterization, and referential integrity, three test whether primitives stay within declared operands below the boundary of trust, three test calendar recurrence and instruction compliance, and two test runtime database execution and non-empty write targets. We do not score Stage 1 because users approve the event set in HITL review.
| Error type | Development | Held-out | |||||
| Retail-10 | Banking | Logistics | Retail-100 | Retail-1000 | Music store | Insurance | |
| Compiled SP programs | |||||||
| Cross-column/row dependency violation (dependencies) | 3 / 105 (0.03) | 8 / 104 (0.08) | 4 / 129 (0.03) | 18 / 253 (0.07) | 186 / 1.1K (0.17) | 1 / 75 (0.01) | 14 / 109 (0.13) |
| Missing required output (required outputs) | 0 / 33 | 0 / 32 | 0 / 53 | 1 / 236 (0.00) | 25 / 1.5K (0.02) | 0 / 23 | 3 / 52 (0.06) |
| Missing stochastic sampling (value-producing operators) | 2 / 47 (0.04) | 2 / 85 (0.02) | 2 / 74 (0.03) | 3 / 257 (0.01) | 19 / 1.0K (0.02) | 0 / 84 | 0 / 83 |
| Unbound variable (variables) | 0 / 60 | 0 / 91 | 0 / 86 | 0 / 300 | 0 / 1.3K | 0 / 90 | 0 / 93 |
| Unintended output overwrite (operators) | 0 / 59 | 0 / 91 | 0 / 86 | 0 / 299 | 0 / 1.3K | 0 / 90 | 0 / 92 |
| Foreign key violation (tables) | 0 / 5 | 0 / 8 | 0 / 15 | 0 / 69 | 2 / 537 (0.00)2 | 0 / 7 | 0 / 15 |
| Simulation primitives | |||||||
| Undeclared write (operators) | 0 / 59 | 0 / 91 | 0 / 86 | 0 / 299 | 0 / 1.3K | 0 / 90 | 0 / 92 |
| Operator contract violation (operators) | 1 / 59 (0.02) | 3 / 91 (0.03) | 6 / 86 (0.07) | 13 / 299 (0.04) | 93 / 1.3K (0.07) | 0 / 90 | 3 / 92 (0.03) |
| Placeholder value (text columns) | 0 / 207 | 0 / 53 | 0 / 412 | 0 / 332 | 5 / 3.0K (0.00) | 0 / 37 | 0 / 704 |
| Calendar | |||||||
| Unscheduled event type (event types) | 0 / 13 | 0 / 12 | 0 / 13 | 0 / 28 | 0 / 90 | 0 / 10 | 0 / 11 |
| Recurrence violation (event types) | 0 / 13 | 0 / 12 | 0 / 13 | 0 / 28 | 0 / 90 | 0 / 10 | 0 / 11 |
| Instruction mismatch (event types) | 1 / 13 (0.08) | 0 / 12 | 0 / 13 | 0 / 28 | 1 / 90 (0.01) | 0 / 10 | 0 / 11 |
| Execution | |||||||
| Database execution failure (invocations) | 0 / 280 | 0 / 3.2K | 0 / 1.2K | 0 / 1.7K | 33 / 15.7K (0.00)3 | 0 / 545 | 0 / 4.5K |
| Unexpectedly empty table (write targets) | 0 / 10 | 0 / 9 | 0 / 22 | 0 / 100 | 34 / 1.0K (0.03)4 | 0 / 11 | 0 / 17 |
Table 5. Pipeline correctness on the development and held-out scenarios. The LLM judge evaluates the underlined error types, and the rule engine evaluates the rest. Parentheses give the counting unit. Each cell reports affected over total units (and the error rate when nonzero). Shading follows the error rate (0.0–1.0).
| Component | Error type | Counting unit | Detection criterion and example |
| Compiled SP programs | Cross-column/row dependency violation | Dependencies | The program relaxes or violates a specified cross-table, cross-row, or intra-row dependency, e.g., sampling correlated columns independently or replacing a row formula with an aggregate. |
| Compiled SP programs | Missing required output | Required outputs | The program omits the operations that produce a required table, column, document, status transition, or intra-day timing window. |
| Compiled SP programs | Missing stochastic sampling | Value-producing operators | The program omits a required distribution draw or replaces it with a constant, e.g., a fixed customer count where the specification requires Poisson arrivals. |
| Compiled SP programs | Unbound variable | Variables | No execution record binds the variable, so downstream operators read an empty value. |
| Compiled SP programs | Unintended output overwrite | Operators | The program of a recurring event type writes a fixed output name, so a later event instance overwrites a table, view, or document that the specification preserves. |
| Compiled SP programs | Foreign key violation | Tables | After execution, rows of the table reference keys absent from the parent table, e.g., an order references a nonexistent customer_id. |
| Simulation primitives | Undeclared write | Operators | A write modifies a table outside the operator’s declared targets. |
| Simulation primitives | Operator contract violation | Operators | The operator reports success, yet binds a value or document that contradicts its declared operands or input data, e.g., a distribution over undeclared labels or a report citing columns absent from the schema. |
| Simulation primitives | Placeholder value | Text columns | Materialized text values contain generator filler, e.g., Synthetic Cafe Item_4. |
| Calendar | Unscheduled event type | Event types | The calendar schedules no instance of the event. |
| Calendar | Recurrence violation | Event types | Scheduled instances depart from the declared recurrence rule, collapse onto one timestamp, or violate a temporal constraint, e.g., 14 daily settlements share one minute. |
| Calendar | Instruction mismatch | Event types | Scheduled instances depart from the user’s simulation instructions on the horizon, named dates, operating hours, or required order, e.g., restocking after trading begins. |
| Execution | Database execution failure | Invocations | The invocation terminates with an unhandled database error at run time. |
| Execution | Unexpectedly empty table | Write targets | A table that an event type declares as a write target holds zero rows after execution. |
Table 10. Table 10 | Detection criteria and counting units for the 14 pipeline error types in Table 5, grouped by stage component. The LLM judge evaluates the underlined error types, and the deterministic rule engine checks the rest.
A deterministic rule engine checks the nine deterministic error types over SP programs, , , and . An LLM judge (Claude Opus 5.5) evaluates the five semantic error types across all the event types. Given each event specification, compiled SP program, and runtime evidence in a single call, the judge cites candidate defects with data evidence and retains only defects that alter analytical query answers or break dependencies named in the specification. Each error type counts at the unit where it arises. For cross-column/row dependency violations and missing required outputs, an LLM enumerates the required dependencies and outputs from each specification and matches judge findings against them.
Structural correctness holds. On the six smaller data estates, all nine deterministic checks pass across both development and held-out scenarios. On Retail-1000, every static program and calendar check passes, and the remaining runtime errors stem from a few mismatched query filters that cascade across time and warehouse layers. When a query in a daily event applies a mismatched filter, it fails on every scheduled day, and when an upstream refresh query returns zero rows, downstream warehouse tables and foreign-key lookups that read from that empty table also remain empty.
Semantic errors arise in compilation. Semantic errors appear when an SP program coordinates dependencies across multiple columns, rows, or tables. Across value-producing operators, 1.7% replace a stochastic draw with a constant. Operator contract violations affect 3.6% of operators on the six smaller data estates and 7.1% on Retail-1000, mostly when generated documents state figures, status codes, or column descriptions that contradict the schema or data. Calendar instruction mismatches occur once on Retail-10 and once on Retail-1000. Cross-column/row dependency violations affect 6.2% of specified dependencies on the six smaller data estates and 12.7% across all seven, occurring when compiled programs sample dependent columns independently, flatten one-to-many cardinalities, substitute fixed or aggregate values for per-row formulas, read unrefreshed state, or apply mismatched filters. Missing required output errors affect 0.9% of required outputs on the six smaller data estates and 1.5% overall, concentrating on Retail-1000 where individual events coordinate many warehouse tables and data marts. Reference answers remain unaffected by semantic compilation errors because SynthCorp executes every gold program on the materialized database and audits every task against .
Data Estate Complexity and Benchmark Quality
Data estate complexity. Across , redundant table copies, including backups, vendor mirrors, staging tables, and reporting replicas, coexist with authoritative tables on 68% of Retail-1000 tasks and 63% of Logistics tasks, compared with 0% to 38% on the other five data estates. On Retail-1000, BM25 search over table names, columns, and catalog descriptions retrieves all gold tables of a task within the top 50 results on 55% of tasks. Across , 63% of document-dependent tasks draw all required business facts (such as status codes, KPI formulas, cutover dates, and authoritative table names) from a single document, while 33% combine facts across two or more documents. Moreover, 64% of tasks encounter a superseded statement of a required fact elsewhere in or C’s glossary. Retail-1000 exhibits the highest document dispersion, where 50% of tasks combine multiple documents and 20% of required facts appear implicitly through examples or report figures. Once an agent retrieves the relevant document, applying its rules is direct because 91% of required facts name the target physical table, column, or code value and 93% of documents include explicit SQL fragments such as WHERE predicates or SUM aggregates.
Task complexity and SQL diversity. Of the 256 generated tasks, 80.1% (205 tasks) combine SQL queries with evidence from documents or the catalog, and 39.5% (101 tasks) are multi-complexity composite tasks. Every benchmark covers all requested complexity dimensions. Requested disruptions produce 60.1% of the 198 complexity-bearing tasks (97.9% on Retail-1000), while routine events contribute 39.9% via status-code filters, discount policies, and dated snapshots. On 68.0% of single-measure numeric tasks, no report states the answer so agents need to query . Overall, 91.8% of gold programs have a unique syntax skeleton, and on average across benchmarks, 81.0% use grouping and aggregation, 57.4% use nested subqueries, and 59.3% join multiple tables. Appendix § 12 and Table 12 detail the benchmark quality checks and per-estate SQL diversity metrics.
| Retail-10 | Retail-100 | Retail-1000 | Music store | Banking | Logistics | Insurance | |
| Doc-lookup / numeric | 5/13 | 8/10 | 6/12 | 0/10 | 1/6 | 1/6 | 4/21 |
| Requested dim. / complex tasks | 3/29 | 2/21 | 47/48 | 11/23 | 15/20 | 8/14 | 33/43 |
| Distinct skeletons / gold | 34/37 | 30/31 | 57/62 | 27/28 | 24/26 | 19/19 | 44/53 |
| Join | 70% | 48% | 48% | 64% | 69% | 58% | 57% |
| Grouping | 70% | 87% | 84% | 64% | 92% | 84% | 85% |
| Nesting | 54% | 55% | 56% | 39% | 58% | 74% | 66% |
Table 12. Complexity and SQL diversity of the seven benchmarks. Fractions report affected tasks over checked tasks, and Join, Grouping, and Nesting report the share of gold programs that use each SQL construct.
Case Study on BIRD financial
We compare the SynthCorp Banking benchmark with BIRD (Li et al., 2023), whose financial database shares the Czech bank schema. Table 6 contrasts the two benchmarks. BIRD attaches human-written external-knowledge evidence to each prompt (such as the meaning of loan status D). In SynthCorp Banking, business events embed domain knowledge inside policy documents and codebooks, the catalog links glossary terms to source documents, and questions use domain terms without inlining definitions.
| BIRD financial | SynthCorp Banking | |
| Data | Static snapshot of a Czech bank (8 tables) | 120 simulated days (9 base tables, 12 dated snapshots, 4 views) |
| History | None | Simulation log of 152 event instances |
| Knowledge | Column descriptions and per-question external-knowledge evidence | 7 event-generated documents, no column descriptions |
| Catalog | – | 144 glossary terms linked to source documents |
| Questions | Human-written | Generated from benchmark hints and detectors |
| Gold program | Human-written | Log-derived and debate-verified |
| Access | Annotator supplies evidence in the prompt | Agent retrieves the term, document, and rule |
Table 6. BIRD financial versus the SynthCorp Banking benchmark on the same Czech bank schema.
Example task. “Rank our districts by Net Deposit Inflow across the full transaction history we hold.”
Gold program derivation.
Glossary. A catalog search returns Net Deposit Inflow (NDI) and its source, the Core Banking Codebook.
Document. The codebook defines NDI as credits (PRIJEM) minus debits (VYDAJ, VYBER), excluding loan flows (
k_symbol = "UVER") and interest ("UROK"), and notes that regular transfers have a NULLk_symbol.SQL. The gold program applies these exclusions with
COALESCE(k_symbol,"")to retain NULL-coded rows.
Beyond glossary lookup, Banking tasks require event-grounded filtering (excluding relocation withdrawals during the Day 45 steelworks closure documented in an operational bulletin), snapshot selection (choosing the authoritative table over 12 month-end snapshots without double-counting balances across months), and code disambiguation (separating UVER disbursements from repayments by direction). Without documents in setting S1, agents miss these rules, whereas single-shot retrieval in S2 raises Banking accuracy by 8 to 12 percentage points and multi-step agentic search in S3 raises it by 23 to 28 points across all three models.
Agent Performance
We evaluate data agents on the SynthCorp benchmarks to answer three questions. First, does the benchmark separate data-context settings and model tiers within each setting? Second, when state-of-the-art agents fail, do those failures stem from gold-program errors, format inconsistencies, or genuine reasoning mistakes? Third, on composite tasks, does both verify reference answers and challenge state-of-the-art agents?
Table 7 reports the execution accuracy of three reasoning-enabled models across four data-context settings over three runs per task. We evaluate Gemma 4 26B-A4B (Gemma, compact open-weight MoE with 4B active parameters), DeepSeek V4.1 Flash (DeepSeek, 749B open-weight MoE), and Claude Opus 5.5 (Opus, proprietary frontier model). Each setting expands how the model accesses the data estate.
Table 7 | Mean execution accuracy (± standard error, %) across four data-context settings on all 256 tasks over three runs. Bold marks each model’s best setting, and bold underline marks each column’s best result.
| Retail-10 | Retail-100 | Retail-1000 | Music store | Banking | Logistics | Insurance | All | |
| #Tasks | 37 | 31 | 62 | 28 | 26 | 19 | 53 | 256 |
| Gemma 4 26B-A4B | ||||||||
| S1 (Schema only) | 27.9±7.1 | 64.5±8.0 | 22.0±4.9 | 16.7±7.0 | 37.2±9.5 | 66.7±9.9 | 27.0±6.0 | 33.3±2.8 |
| S2 (Schema + top-1 document) | 43.2±7.7 | 67.7±8.2 | 26.9±5.3 | 28.6±8.7 | 44.9±9.2 | 47.4±11.8 | 49.1±6.6 | 42.3±3.0 |
| S3 (Agent + search tools) | 63.1±7.7 | 64.5±8.0 | 34.9±5.5 | 63.1±8.1 | 64.1±7.6 | 64.9±9.7 | 52.8±6.3 | 54.6±2.8 |
| S4 (Agent + files and CLI) | 59.5±7.7 | 60.2±7.9 | 23.7±4.7 | 50.0±7.4 | 56.4±7.6 | 59.6±10.7 | 47.8±6.3 | 47.1±2.8 |
| DeepSeek V4.1 Flash | ||||||||
| S1 (Schema only) | 42.3±7.7 | 73.1±7.0 | 30.6±5.4 | 14.3±6.7 | 57.7±9.0 | 77.2±8.8 | 30.8±6.1 | 41.9±2.9 |
| S2 (Schema + top-1 document) | 64.9±7.3 | 75.3±7.1 | 39.8±5.7 | 33.3±8.7 | 69.2±8.0 | 63.2±10.2 | 61.6±6.1 | 56.2±2.8 |
| S3 (Agent + search tools) | 78.4±5.9 | 69.9±7.5 | 71.0±4.5 | 77.4±6.9 | 85.9±6.2 | 77.2±7.2 | 80.5±4.9 | 76.6±2.2 |
| S4 (Agent + files and CLI) | 76.6±6.0 | 72.0±6.6 | 71.5±4.7 | 85.7±5.3 | 91.0±5.1 | 75.4±7.6 | 79.2±4.9 | 77.7±2.2 |
| Claude Opus 5.5 | ||||||||
| S1 (Schema only) | 53.2±7.6 | 77.4±7.6 | 54.3±5.7 | 15.5±6.7 | 65.4±9.5 | 82.5±7.8 | 47.8±6.4 | 54.6±2.9 |
| S2 (Schema + top-1 document) | 83.8±6.1 | 79.6±7.0 | 68.3±5.4 | 42.9±8.7 | 76.9±8.4 | 80.7±8.6 | 69.8±5.9 | 71.2±2.7 |
| S3 (Agent + search tools) | 90.1±4.4 | 84.9±5.5 | 89.2±3.7 | 78.6±7.1 | 88.5±5.5 | 86.0±6.9 | 85.5±4.4 | 86.6±1.9 |
| S4 (Agent + files and CLI) | 94.6±3.8 | 81.7±6.5 | 87.6±3.5 | 94.0±3.0 | 87.2±5.9 | 86.0±7.4 | 89.3±3.7 | 88.8±1.7 |
Table 7. Mean execution accuracy (± standard error, %) across four data-context settings on all 256 tasks over three runs. Bold marks each model’s best setting, and bold underline marks each column’s best result.
S1 (Single-shot + Schema only). A single text-to-SQL prompt with the question and the full DDL of , plus one retry on a SQL execution error, testing whether physical schemas suffice alone. On Retail-1000, all tables and views take 71K to 157K tokens across the three tokenizers and fit in context.
S2 (Single-shot + Schema and top-1 document). S1 plus the top BM25-retrieved document from , testing the effect of single-shot document retrieval.
S3 (Agent + search tools). A multi-step catalog-backed agent with seven tools (no CLI or file access) to list tables, BM25-search tables, documents, and the glossary in , read schemas and documents, and run read-only SQL queries.
S4 (Agent + files and CLI). A multi-step CLI agent in a sandbox exposing and the glossary in as SQLite files and as text files, with file tools and a read-only
sqlite3CLI.
S3 and S4 expose the same assets through search tools versus raw files, isolating the agent interface when tasks exceed single-shot retrieval. The evaluator runs each submitted query on and grades it correct when every reference row matches a distinct output row on all reference values, ignoring extra columns, ordering, and float rounding.
Separating settings and model tiers. Table 7 shows a consistent ordering across model tiers and data-context settings. Opus leads DeepSeek and DeepSeek leads Gemma in every setting, and the accuracy gap between the frontier model and the open-weight models widens from single-shot prompting (S1) to multi-step agentic search (S3 and S4) as stronger models plan multi-hop retrieval and recover from SQL errors. Across settings, schema-only prompting (S1) fails whenever business rules live outside DDLs. Adding a single retrieved document (S2) substantially improves accuracy on data estates where one policy memo defines the target status codes or exclusions (such as Retail-10 and Insurance), whereas data estates with multi-document rules or large schemas (such as Music store and Retail-1000) require multi-step agentic search (S3 and S4). The largest multi-step gains appear on Retail-1000, where agents navigate thousands of tables and documents and where open-weight models lag behind Opus. Comparing the two agentic interfaces, structured search tools (S3) and raw file access (S4) achieve similar overall accuracy on both Opus and DeepSeek. Direct file inspection in S4 performs well on small document stores such as Music store, whereas paged search tools in S3 raise Gemma’s accuracy across large data estates by cutting unanswered runs from 8.3% to 1.2%. Removing the pre-built glossary from S4 changes overall accuracy by less than 3 points across all models, as Opus and DeepSeek recover the same definitions from the source documents.
Cost of data-context settings. We measure cost by the input tokens, output tokens, and model calls per task run. Input tokens dominate, since output tokens, including reasoning, stay below 9K per run in every setting. Single-shot prompts grow with the schema. An S1 prompt for Opus takes 1.5K tokens on Music store and 157K tokens on Retail-1000, so schema-only prompting stops fitting in context as warehouses grow. One retrieved document in S2 adds at most 1.5K input tokens per run yet raises accuracy by 9 to 17 points, the cheapest gain across settings. Multi-step agents trade tokens for accuracy. S3 agents make 9 to 11 model calls per run and resend the growing conversation in each call, which raises input tokens over S1 by 1.8 times for Opus, 4.4 times for Gemma, and 12 times for DeepSeek. Stronger models explore more efficiently. DeepSeek issues 26.5 tool calls and 276K input tokens per S3 run, compared with 10.2 tool calls and 88K tokens for Opus, even though DeepSeek’s tokenizer counts about half as many tokens as Claude’s for the same text. Normalized by accuracy, Opus needs 102K input tokens per correct S3 answer, against 266K for Gemma and 360K for DeepSeek. File access in S4 raises cost without improving accuracy. Shell commands and file reads often return whole documents and full query results, whereas search tools return pages of ten hits, so each Opus call carries 25K input tokens in S4 compared with 10K in S3. Per correct answer, S4 consumes 226K input tokens for Opus and 934K for DeepSeek, 2.2 and 2.6 times their S3 cost.
Auditing reference answers and agent failures. In S1, most failures happen because the prompt provides only the database schema and omits the business rules in . Without those documents, over a third of S1 runs fail. The S4 failures come from two sources, namely format inconsistencies between the gold output and the agent’s prediction, and genuine reasoning failures where the agent fails to find or apply the required domain knowledge.
First, format issues cause 56% of Opus’s failed runs and 61% of DeepSeek’s failed runs in S4, where the agent computes the right numbers but formats its output differently from the reference answer (such as returning entity names in place of IDs, pivoting rows into columns, or omitting an extra column in the gold program). Counting these predictions as correct raises S4 accuracy to 94% for Opus and 90% for DeepSeek. In particular, on the three tasks where every model fails, a manual audit shows that 53 out of 54 failed runs compute the correct reference answers and fail only on format differences. Because SynthCorp generates tasks and gold programs automatically without human SQL annotation, this 90% to 94% agreement between state-of-the-art agents and the reference outputs confirms the ground-truth correctness of the generated benchmarks while motivating format-tolerant grading.
Second, the remaining failures in S4 are genuine reasoning failures where the agent fails to look up or apply the right business rules, terminology, or tables (accounting for 61% of Gemma’s failures). Across all three models, these failures follow three patterns. First, the agent fails to retrieve or apply a secondary rule in during multi-hop search, such as filtering qa-canary accounts in Music store while missing a second document that excludes a six-hour outage window, or including negative credit balances in Insurance FIFO lockbox allocation when the policy memo restricts prior dues to positive balances. Second, the agent queries a partial or stale table over the authoritative table, such as summing a five-minute sensor table in Retail-1000 over footfall_daily. Third, the agent applies incomplete date or status filters.
Verifying answers and challenging state-of-the-art agents. Pushing state-of-the-art agents beyond moderate-complexity tasks requires harder multi-event questions, where annotators who see only the final database can no longer derive reliable reference answers. On a 1K-table warehouse, when candidate gold programs differ by a narrow margin, human annotators inspecting only the final database struggle to determine or defend the reference answer. In the Retail-1000 task below, the initial candidate gold program reads current loyalty tiers from loyalty_members and makes the same mistake that Opus makes in all 12 of its runs.
Composite task (Retail-1000). “. . . as of August 21, 2026, provide an operational summary across all six market zones . . . Total Store Count, Company Staff Count, Bronze Loyalty Members, . . . and Customer Merge Rate.”
Complexities. Combines store status, company staffing, and acquired-customer deduplication (
bb_tbl_customer_merge_map, ... ) with August 21 loyalty tiers. An August 26 event overwritesloyalty_members.tier_idin place, whilesnap_dim_customer_historyretains (valid_from,valid_to) intervals.
Provenance audit (). The candidate gold program reads current
loyalty_members.tier_id. Critics trace the logged August 26 re-tiering event (where member 802 moves to Bronze) and replace it with a point-in-time join onsnap_dim_customer_history(826 versus 880 Bronze members).
Agent failure (Opus). Every run counts
loyalty_membersby currenttier_idand matches the candidate gold (880 Bronze members). Two runs seesnap_dim_customer_historyin tool output, yet no run queries it.
SynthCorp resolves such disputes because records the causal provenance of every row and schema change. Critics in the multi-agent debate trace the discrepancy directly to the logged August 26 re-tiering event and the warehouse snapshot guide in , and revise the candidate gold program to join the historical snapshot table at the target date. Conversely, when shows that a question admits two valid interpretations under the logged rules (such as per-ticket versus aggregate rounding when backing out 7.25% inclusive tax at acquired stores, shifting totals by $0.24 to $0.35), the panel adds explicit specifications to the question to eliminate the ambiguity.
Once defends the reference answer, composite tasks reliably expose reasoning limits in state-of-the-art agents. On the task above, Opus computes the other seven columns correctly in all 12 runs, yet never checks whether tier assignments changed after the target date, even when the history snapshot appears in its tool output. DeepSeek also fails all 12 runs. On the 11 multi-rule composite tasks of Retail-1000, S3 accuracy falls from 91% on Opus to 76% on DeepSeek and 33% on Gemma, showing how enables harder verified benchmarks that drive data-agent improvement.
The Boundaries of the Simulation
Pipeline correctness evaluates whether each data estate satisfies its scenario specification. We can also ask whether the data values SynthCorp generates are realistic. However, since real-world enterprises are open-ended, in practice every simulation has a boundary that delineates what is in the simulation scope and what is not.
We built SynthCorp to evaluate data agents on enterprise tasks that involve data integration and deep data research, such as discovering authoritative tables, resolving business terms, and writing SQL over a complex warehouse. As such, our goal is to develop data estates whose complexity is largely at the metadata level. The actual data values in the databases are much less important.
For data integration tasks, row-level value distributions matter very little as long as foreign keys join cleanly and column profiles match the catalog descriptions. Deep data research tasks (such as testing whether weekend discounts increased cafe visits or how weather affects daily revenue) depend on statistical relationships in the data. However, SynthCorp events encode those discount or weather effects directly in the simulation distributions, which plants the target relationship in the data for the agent to uncover. Distributional realism thus remains secondary for both task families. This would change if we expand the simulation boundary of SynthCorp to consider simulations that drive operational business decisions, such as optimizing marketing campaigns across competing business objectives, which we leave to future work.
Still, because a simulated enterprise has no row-level ground truth, we evaluate data realism with deterministic, scale-free distributional checks in two ways. Table 8 summarizes the results, and Appendix § 11 and Table 11 define the metrics and report the complete evaluation. First, because Banking reuses the schema of BIRD financial (Li et al., 2023) (1.06M real Czech bank transactions that SynthCorp never accesses), we compare simulated and real tables column by column. Two factors explain the divergences. First, an early event generates a 2026-style codebook that books cash and fee withdrawals under dedicated types and treats card payments as routine, unlike the 1990s Czech bank where card withdrawals are rare. Second, the monthly payroll event computes salary-credit balances from the account table, which lags behind the transaction ledger when payroll runs, leaving affected account-days with a stale starting balance and lowering the Banking accounting-identity score in the bottom panel.
| Banking vs. BIRD financial | BIRD | SynthCorp | ||||||
| Weekend share of transactions | 0.291 | 0.283 | ||||||
| Share of round-hundred amounts | 0.247 | 0.227 | ||||||
| Transactions per account per 30 days (median) | 5.4 | 6.6 | ||||||
| Top-20% accounts’ share of transactions | 0.37 | 0.29 | ||||||
| Amount tail, p99/p50 | 21.6 | 15.8 | ||||||
| Transaction code mix (type/operation/k_symbol), TVD | – | 0.44 / 0.45 / 0.37 | ||||||
| Account-days whose balances reconcile | 1.000 | 0.923 | ||||||
| Stylized fact | Real | Retail-10 | Retail-100 | Retail-1000 | Music store | Banking | Logistics | Insurance |
| Weekend/weekday daily volume | 0.75O / 1.03B | 0.99 | 1.02 | 1.01 | 1.11 | 0.99 | 1.17 | 1.04 |
| Top-20% customers’ share of activity | 0.73K / 0.37B | 0.29 | 0.30 | 0.34 | 0.40 | 0.29 | 0.23 | 0.37 |
| Human price endings | 0.85O / 1.00C | 1.00 | 1.00 | 1.00 | 1.00 | 0.23 | 0.63 | 0.50 |
| Accounting identities hold | 1.00B | 1.00 | 1.00 | 1.00 | 1.00 | 0.92 | 1.00 | 1.00 |
| Amount tail, p99/p50 | 10.0O / 21.6B | 3.5 | 3.2 | 2.7 | 7.5 | 15.8 | 16.9 | 6.3 |
Table 8. Data realism. The top panel compares Banking with the real Czech bank data of BIRD financial. The bottom panel tests five stylized facts across all data estates against real references. Shading follows close to real departs from real. Notes. TVD denotes total variation distance. Superscripts mark real references, with B for BIRD financial (0.25 round-hundred share on Banking price endings), O for Olist orders, K for consumer-goods panels, and C for Chinook.
| Metric | Unit | Real reference | Retail-10 | Retail-100 | Retail-1000 | Music store | Banking | Logistics | Insurance | ||
| Banking vs. BIRD financial | |||||||||||
| Weekday mix, TVD | transactions | – | 0.029 | ||||||||
| Amount log-shape, KS / | transactions | – | 0.236 / 0.401 | ||||||||
| Amount median (CZK) | transactions | 2,100 | 934 | ||||||||
| Loan amount log-shape, KS / | loans | – | 0.212 / 0.122 | ||||||||
| Loan duration / card type / statement frequency mix, TVD | rows | – | 0.104 / 0.128 / 0.176 | ||||||||
| Loan payment relative to amount/duration (median) | loans | 1.000 | 1.264 | ||||||||
| Benford MAD of amounts | transactions | 0.024 | 0.012 | ||||||||
| Final balance equals sum of transactions | accounts | – | 180 / 180 | ||||||||
| Balance chain holds in insertion / timestamp order | consecutive rows | – | 0.950 / 0.475 | ||||||||
| Stylized facts | |||||||||||
| Weekend/weekday daily volume | events | 5 (98,202) | 3 (1,056,320) | 0.99 (2,906) | 1.02 (2,991) | 1.01 (21,553) | 1.11 (871) | 0.99 (21,500) | 1.17 (1,650) | 1.04 (3,591) | |
| Peak 3-hour share | events | 5 | 6 (1,000) | 0.42 | 0.61 | 0.79 | 0.25 | – | – | 1.00 | |
| largest single-hour share | events | 5 | 6 | 0.17 | 0.24 | 0.74 | 0.17 | – | – | 1.00 | |
| Top-20% items’ share of revenue | items | 5 (32,729) | 6 (28) | 0.23 (16) | 0.25 (16) | 0.25 (16) | 0.36 (680) | – | 0.58 (5) | 0.38 (6) | |
| Top-20% customers’ share of activity | customers | 3 (4,500) | 6 (30,545) | 0.29 (100) | 0.30 (100) | 0.34 (827) | 0.40 (94) | 0.29 (180) | 0.23 (50) | 0.37 (1,099) | |
| Gini of activity per customer | customers | 3 | 6 | 0.17 | 0.19 | 0.26 | 0.35 | 0.18 | 0.06 | 0.24 | |
| Share of one-line baskets / mean lines | baskets | 0.90 / 1.145 | 0.34 / 2.10 | 0.37 / 1.99 | 0.26 / 2.63 | 0.37 / 3.23 | – | 0.10 / 2.61 | 0.65 / 1.44 | ||
| Human price endings | prices | 5 (112,101) | 4 (3,503) | 1.00 (16) | 1.00 (16) | 1.00 (16) | 1.00 (762) | 0.23 (21,500) | 0.63 (4,312) | 0.50 (6,738) | |
| Accounting identities hold | rows | 3 (810,268) | 1.00 (2,906) | 1.00 (2,991) | 1.00 (21,553)7 | 1.00 (871) | 0.92 (13,915) | 1.00 (1,650) | 1.00 (7,715) | ||
| Amount tail, p99/p50 | amounts | 5 | 3 | 6 | 3.5 | 3.2 | 2.7 | 7.5 | 15.8 | 16.9 | 6.3 |
| Domain-specific facts | |||||||||||
| Track duration p99/p50 | tracks | 4 | 1.7 | ||||||||
| Tracks per album, p90 | albums | 4 | 13 | ||||||||
| Track price mix ( / ) | tracks | 0.94 / 0.064 | 0.93 / 0.07 | ||||||||
| Days to pay against 30-day terms (median / mean / share late) | payments | – | 15 / 40 / 0.41 | ||||||||
| Invoices storing the VAT rate as a fraction (0.19) / as a percentage (19.0) | invoices | – | 450 / 1,200 | ||||||||
| Claims per policy-year | claims | – | 1.24 | ||||||||
| Share of policies at the two modal premiums | policies | – | 0.43 |
Table 11. Full data-realism results extending Table 8. Each cell reports the metric value and, in parentheses, its sample size. The top block compares Banking against BIRD financial, the middle block reports stylized facts across all seven estates, and the bottom block reports domain-specific facts.
Second, following standard simulation validation (Windrum et al., [47]), we test five stylized facts across all seven data estates against four real reference datasets, namely BIRD financial (Li et al., 2023), Olist e-commerce orders (Olist and Sionek, [39]), the Chinook media catalog, and consumer-goods purchase panels (Kim et al., [25]). Deterministic scripts compute all metrics over SQLite, where top-20% share is the activity share of the top fifth of customers and amount tail is the p99/p50 ratio of absolute amounts. SynthCorp reproduces facts stated in event programs and schema rules. LLM-generated price lists follow human price endings, and SQL line-item rollups preserve accounting identities by construction. Weekly seasonality and customer concentration (Kim et al., [25]) appear when requested in the scenario prompt, whereas unprompted scenarios draw daily counts from fixed ranges and sample accounts uniformly, and 16-item cafe menus bound Retail receipt tails.
Conclusion and Future Work
We presented SynthCorp, a platform that creates customizable data estates and benchmarks for data agents by simulating how business events produce and modify corporate data over time. By compiling reusable event types into programs over simulation primitives and scheduling routine and disruption events on a shared virtual calendar, SynthCorp keeps relational tables, policy documents, and catalog entries mutually consistent while recording the complete provenance of the data estate in a simulation log. Our evaluation across seven data estates and 256 tasks in five domains shows that SynthCorp reliably materializes data estates up to 1K operational tables, derives accurate gold programs from the simulation log without manual annotation, and produces benchmarks that differentiate both data-context settings and model tiers.
The current benchmark generator represents a first step. Although many of the generated tasks are relatively simple for frontier models, the benchmarks already contain multi-event composite tasks that cause state-of-the-art agents to fail while the simulation log verifies the reference answers. We will continue iterating on the benchmark generator to produce more challenging tasks by composing longer chains of business events, deeper multi-document rules, and point-in-time state changes, and by using agent failure patterns to steer task synthesis. On the simulation side, we plan to add compiler guardrails against cross-column and cross-row dependency violations and expand our complexity library across new enterprise domains. Looking ahead, SynthCorp enables benchmarks that co-evolve with data agents, simulated data estates that provide verifiable rewards for agent training, and simulations where LLM agents act as employees and drive business events.
Scenario Descriptions and Simulation Instructions
This appendix summarizes the seven data estates across the five domains of § 5.2 and Table 4.
Retail at three scales. Retail-10, Retail-100, and Retail-1000 model a specialty coffee business across three operational scales.
Retail-10 covers counter sales, register reconciliation, loyalty discounts, staff shifts, suppliers, and a daily sales summary.
Retail-100 keeps the single store and its guest traffic while adding 14 back-office subsystems and recurring departmental reports, including multi-tender POS, online and catering orders, recipe-driven stock depletion over 40 ingredients, three-way-matched procurement, roasting, maintenance, HACCP logs, payroll, and a 30-account general ledger.
Retail-1000 scales to a regional chain with eight company-owned stores, 12 franchised stores, a central roastery, an e-commerce storefront, a distribution center, and an acquired six-store competitor whose tax-inclusive POS and weekly payroll tables remain unintegrated. Vendor landing zones, a multi-layer analytics warehouse, and surrounding shards, exports, and analyst sandboxes account for the remaining tables.
Music store. Chinook Digital Media sells digital music tracks on the public Chinook schema (https://github.com/lerocha/chinook-database). Policy documents state three implicit business rules. Revenue excludes nightly checkouts by QA canary accounts, the store anonymizes closed accounts in place while keeping their rows in the table, and the store issues off-database refunds for orders placed during a flash-sale outage.
Banking. Bohemia Commercial Bank, built on the Czech bank schema ([4]) in BIRD financial ((Li et al., 2023)), serves 200 clients across 12 districts. Transaction types, payment symbols, statement frequencies, and employment statuses use Czech codes defined in the bank codebook. The codebook also defines two KPIs and the statement-fee schedule. On Day 45, a steelworks closure leaves about 40% of one district’s employed clients unemployed and pushes their loans into arrears.
Logistics. The scenario adapts the ERP payment-to-invoice reconciliation task of Bodensohn et al. [5]. GlobalLogistics AG bills about 40 shipments per day, ingests statements from three house banks, and matches incoming payments to invoices. An auditor freezes a snapshot of the invoice table on Day 12, and a nightly reporting replica of bank transactions stops refreshing on Day 18. Treasury posts daily cash positions and monthly regional targets at coarser grains than invoices.
Insurance. Cascadia Mutual insures about 3,000 customers under auto and homeowners policies. Biweekly QA audits insert canary claims into the production database, lockbox remittances settle multiple invoices in a single lump sum, and a Day 48 telematics rating migration adds two unbackfilled columns to the insured-asset table for post-migration vehicles.
Data Estate Composition
Table 9 breaks down the tables and documents of each data estate. We separate report snapshots, which a Query operator materializes once per event instance (such as a weekly Insurance renewal audit), from base tables, which CreateSchema or AlterSchema creates. We then group base tables into five roles by row grain.
Reference. One row per business entity, catalog item, contract, or code, such as customers, menu items, accounts, policies, and
dim_*tables.Transaction. One row per business transaction or line item, such as receipts, invoice lines, payments, shifts, claims, and stock movements, including staged and snapshot copies.
Pipeline Correctness Checks
Log. Machine- or system-generated append-only records, such as sensor readings, device heartbeats, web sessions, webhook and tracking events, audit trails, and pipeline runs.
Aggregate. Precomputed rollups at a coarser grain, such as daily or weekly store summaries, report marts, KPIs, budgets and forecasts, aging snapshots, and slowly changing dimension history.
Metadata. Data about data, such as lineage, dataset and model registries, identifier crosswalks, merge maps, and data-quality rules.
An LLM labels every base table from its name, columns, and row count, and a deterministic name-based classifier cross-checks the labels. The two classifiers agree on 79% of the 1,176 base tables, with disagreements concentrated on the boundary between reference and aggregate tables (such as int_customer_ltv) or between reference and transaction tables (such as inventory exports).
Retail-1000 features a multi-layer warehouse architecture. Of its 1,004 base tables, 357 are operational source tables, 346 are vendor and acquired-system feeds (covering the acquired competitor’s POS and payroll, accounting, e-commerce, delivery marketplaces, customer service, marketing, scheduling, IoT, and weather), 235 are warehouse tables across staging, intermediate, dimension, fact, aggregate, report, and snapshot layers, and 66 are frozen snapshots or sandbox copies (such as _old, _v1, and _bak tables, analyst sandboxes, temporary tables, and external extracts). The six smaller estates consist of operational tables plus at most two frozen snapshots from schema migrations or auditor freezes.
We group documents into five types: policy and reference documents (charters, policies, SOPs, glossaries, codebooks, handbooks, and terms), data documentation (data dictionaries, catalogs, schema specifications, migration notes, and warehouse model guides), recurring reports (daily, weekly, and monthly flashes, reviews, scorecards, digests, minutes, and checklists), event memos (incident and inspection reports, launch memos, bulletins, directives, and proposals), and transcripts of stakeholder meetings. The 1,562 documents instantiate 228 distinct templates, and recurring reports account for most dated copies.
Pipeline Correctness Checks
This appendix details the automated pipeline evaluator of § 5.3. Table 10 defines the detection criterion and counting unit for each of the 14 error types in Table 5.
Origin of the error types. Each error type tests one stage guarantee of § 3. For compiled SP programs, four error types test program validity (cross-column/row dependency violation, missing required output, missing stochastic sampling, and unbound variable), unintended output overwrites test single-program parameterization across recurring instances, and foreign key violations test referential integrity. For simulation primitives, undeclared writes and operator contract violations test that each operator stays within its declared operands below the boundary of trust, and placeholder values test that primitive execution produces no generator filler. For the calendar, unscheduled event types and recurrence violations test adherence to declared recurrence rules and temporal constraints, and instruction mismatches test adherence to the user’s simulation instructions. For execution, database execution failures and unexpectedly empty tables test runtime execution and write targets. We do not score Stage 1 because users review and approve the event set during human-in-the-loop (HITL) review before compilation.
Rule engine and LLM judge. The evaluator inspects the scenario description, event specifications, compiled SP programs, calendar , simulation log , database , and document store , assigning each error type to one of two modules. A deterministic rule engine checks the nine error types whose criteria are formal properties of program structure, calendar timestamps, execution records, or database contents. Rule checks require no LLM calls and evaluate every applicable unit. A two-pass LLM judge (Claude Opus 5.5) evaluates the five semantic error types, whose requirements appear in natural language. For each event type, the first pass inspects the event specification, compiled SP program, calendar, and runtime evidence to propose candidate defects with verbatim evidence and specification quotes. The second pass verifies each candidate defect against four criteria: whether the cited evidence exists verbatim, whether the quoted specification requires the claimed behavior, whether the defect matches the error type’s definition, and whether the defect alters analytical query answers or breaks a specified dependency.
Counting units and metrics. Because pipeline stages operate at different granularities, the evaluator counts each error type at the unit where the error arises. For cross-column/row dependency violations and missing required outputs, an LLM enumerates the specified dependencies and required outputs from each event specification and matches verified judge findings against them. Operator-level checks count value-producing operators (for missing stochastic sampling) or all operators in compiled SP programs (for unintended output overwrites, undeclared writes, and operator contract violations), and variable checks count declared output variables. Counting an operator defect once per compiled operator avoids inflating the rate when a recurring event executes the same operator across many calendar instances. Calendar checks count event types. Data checks count tables with foreign keys, text columns in , or declared write-target tables. Runtime execution checks count operator invocations because runtime failures depend on per-invocation state and loop iterations. For each error type and estate, Table 5 reports the number of affected units over the total checked units.
Data Realism Checks
This appendix defines the distributional metrics of § 6 and describes the reference datasets. Table 11 reports the complete results, extending Table 8 with additional stylized facts and domain-specific checks. Deterministic scripts compute all metrics over the materialized SQLite databases.
Reference datasets. BIRD financial is the PKDD’99 Discovery Challenge dataset of a Czech bank (Berka and Sochorová, [4]), redistributed in BIRD (Li et al., 2023), containing 4,500 accounts, 5,369 clients, and 1,056,320 transactions from 1993 to 1998 with running balances. Because the Banking scenario reuses this schema, we compare the simulated and real databases column by column. SynthCorp simulated the 200 Banking clients for 120 days without accessing the real rows. BIRD debit_card_specializing holds fuel-card transactions from a petrol-station chain, comprising 1,000 sampled transactions with timestamps and 383,282 monthly consumption rows across 30,545 customers. Olist (Olist and Sionek, [39]) holds 98,202 non-cancelled orders from a Brazilian e-commerce marketplace from 2016 to 2018 with purchase timestamps, item prices, and products. Chinook8 is the sample database whose schema the Music store scenario reuses. Its media catalog (3,503 tracks and 347 albums) contains real iTunes metadata, while a script generated its customers and invoices, so we use it as a reference for catalog metadata. We inspected each reference dataset for artifacts before selecting stylized facts. The real Czech bank books transactions on all seven weekdays, its loan payments omit interest (payments equals amount/duration on every loan), and its transaction amounts depart from Benford’s law (against a conformity threshold of 0.015). In addition, 97% of Olist customers place a single order, and the 1,000 fuel-card transactions span four days, so Olist does not measure repeat-customer concentration and the fuel-card sample does not measure weekly seasonality.
Metrics. Weekend/weekday daily volume is the mean number of events per weekend day divided by the mean per weekday, where a value near 1 indicates a flat week. Peak 3-hour share is the largest share of events falling within any window of three consecutive hours. Top-20% share sorts items by revenue or customers by activity and reports the share held by the top fifth, which the Pareto benchmark (Kim et al., [25]) places around 0.7–0.8. Human price endings is the share of list prices whose cents end in .00, .25, .50, .75, .95, or .99 (including .90 for Olist, round-hundred amounts for Banking, and rates or premiums ending in .00 or .50 for Logistics and Insurance). Accounting identities test schema-implied equations: subtotal + tax = total and sum of lines = subtotal for receipts and invoices, net + VAT = gross for Logistics invoices, amount due = paid + outstanding for Insurance invoices, and, for Banking, that an end-of-day balance of each account-day equals a balance of the previous account-day plus the signed net flow of the day. Amount tail is the ratio of the 99th to the 50th percentile of absolute amounts. Domain-specific facts evaluate track durations, album sizes, and track prices on Music store, payment delays and VAT-rate conventions on Logistics, and claim frequency and premium concentration on Insurance. For the Banking comparison, we measure categorical mixes via total variation distance (TVD) and compare amount distribution shapes via Kolmogorov–Smirnov (KS) and Wasserstein-1 () distances over median-normalized amounts.
Findings across domains. Banking. Beyond the transaction-code mix and intra-day timestamp ordering discussed in § 6, generated loans follow a 16% annuity schedule while the 1990s reference dataset omits interest. Generated transaction amounts conform more closely to Benford’s law than the real amounts, and the median-normalized log-amount distributions match within a
KS distance of 0.236 on transactions and 0.212 on loans. Card type, loan duration, and statement frequency mixes match the reference within 0.104 to 0.176 TVD. Music store. Nearly half of the generated track titles (260 of 558 distinct titles) and 23 of 40 artists appear in the real Chinook catalog. Generated track durations have a narrower tail than the real catalog, which includes full-length television episodes and classical works, and the composer field is empty on 2% of generated tracks compared with 28% in Chinook. Logistics. The Logistics data estate records bank transactions and invoices across all seven days of the week at a constant rate (35 bank transactions per day) and bills customers at near-uniform frequencies. Customer payments arrive with realistic delays against 30-day terms (median 15 days, mean 40 days, 41% late). Every invoice’s VAT amount equals 19% of its net total, while vat_rate stores a fraction (0.19) on pre-simulation invoices and a percentage (19.0) on simulated invoices. Insurance. The Insurance data estate records 1.24 claims per policy-year, above typical personal-lines frequencies, and concentrates 43% of policies on two modal premiums ($900 and $1,450). Loss dates spread across the day, while premium payments share an 11:00 timestamp. Retail. The three Retail data estates agree closely on counter-sales distributions because they share the counter-sales core. Retail-10 and Retail-100 produce a morning rush between 07:00 and 09:00 and a lunch peak, while on Retail-1000 from Day 8 onward 82–100% of daily receipts carry a 06:00 timestamp. Basket line counts peak at two to four items because the program multiplies party size by items per person.
Benchmark Quality Checks
This appendix details the benchmark quality and diversity checks of § 3.5 and § 5.4. Table 12 reports the per-estate complexity and SQL diversity metrics across all seven benchmarks.
Task validity checks. The benchmark generator runs two deterministic validity checks on every candidate task. A task is well-formed if its question and gold-program result are non-empty and no duplicate normalized question yields a different reference answer. A task satisfies no schema leakage if its question names no physical table read by its gold program (exempting single-table baseline tasks, which name their target table). All 256 benchmark tasks pass both checks.
Ground-truth audit. The ground-truth audit checks every gold program against the four criteria of § 3.5 using and , independently of the LLMs that derived the gold program.
Agreement with the write history. The audit replays the write operations in and counts the rows written to each table. Row-count answers match the logged write counts, and queries over a column added by a schema migration cover the rows written after that migration.
Authoritative tables. The audit traces the lineage of each table read by the gold program in and confirms that it reads authoritative tables, excluding deprecated tables and frozen snapshots.
Agreement with logged generation rules. records the column generators, value distributions, and conditional rules that populated each column. The audit confirms that these rules hold on the rows read by the gold program so that its filters and measures match the logged business logic.
Independence from frozen copies. On a scratch copy of , the audit inserts synthetic rows into a frozen copy of each queried table and re-executes the gold program, confirming that the reference answer remains unchanged.
The benchmark generator discards any task that violates a criterion and labels each retained task as log-verified when a criterion directly confirms the answer, corroborated when the benchmark hint agrees with the answer, or unverified when no criterion applies.
Complexity and SQL diversity metrics. Table 12 reports three task-level ratios and three SQL structural rates for each benchmark. Doc-lookup / numeric counts single-measure numeric tasks whose exact reference answer also appears in a recurring report document in (such as a weekly inventory summary or monthly commission statement). Across all seven estates, 25 of 78 single-measure numeric tasks appear in a report document, while the remaining 68.0% require querying . Requested dim. / complex tasks reports the share of the 198 complexity-bearing tasks whose target complexity comes from a requested disruption event, while the remainder arise from status codes, discount policies, and dated snapshots introduced by routine operational events. Distinct skeletons / gold counts unique normalized SQL syntax trees after replacing table, column, and literal tokens with placeholders, confirming that composing verified query fragments produces structurally diverse gold queries (235 distinct skeletons across 256 tasks, or 91.8% overall) that combine multi-table joins (59.3%), grouping and aggregation (81.0%), and nested subqueries or CTEs (57.4%).
References
- [1]M. Abdelaal, C. Hammacher, and H. Schoening. REIN: A comprehensive benchmark framework for data cleaning methods in ML pipelines. arXiv preprint arXiv:2302.04702, 2023.arxiv.org/abs/2302.04702
- [2]J. F. Allen. Maintaining knowledge about temporal intervals. Communications of the ACM, 26(11): 832–843, 1983.
- [3]P. C. Arocena, B. Glavic, G. Mecca, R. J. Miller, P. Papotti, and D. Santoro. Messing up with BART: Error generation for evaluating data-cleaning algorithms. Proceedings of the VLDB Endowment, 9 (2):36–47, 2015. URL http://www.vldb.org/pvldb/vol9/p36-arocena.pdf.
- [4]P. Berka and M. Sochorová. Guide to the financial data set. The Discovery Challenge at PKDD, 2000.
- [5]J.-M. Bodensohn, U. Brackmann, L. Vogel, A. Sanghi, and C. Binnig. Unveiling challenges for LLMs in enterprise data engineering. Proceedings of the VLDB Endowment, 19(2):196–209, 2025.DOI
- [6]A. Burattin. PLG2: Multiperspective process randomization with online and offline simulations. In Proceedings of the BPM Demo Track (CEUR Workshop Proceedings, Vol. 1789), pages 1–6, 2016. URL https://arxiv.org/abs/1506.08415.
- [7]M. Camargo, M. Dumas, and O. González-Rojas. Automated discovery of business process simulation models from event logs. Decision Support Systems, 134:113284, 2020. doi: 10.1016/j.dss.2020.113284. URL https://arxiv.org/abs/1910.05404.
- [8]S. Chang, J. Wang, M. Dong, L. Pan, H. Zhu, A. H. Li, W. Lan, S. Zhang, J. Jiang, J. Lilien, et al. Dr. Spider: A diagnostic evaluation benchmark towards text-to-SQL robustness. arXiv preprint arXiv:2301.08881, 2023.arxiv.org/abs/2301.08881
- [9]P. B. Chen, F. Wenz, Y. Zhang, D. Yang, J. Choi, N. Tatbul, M. Cafarella, Ç. Demiralp, and M. Stonebraker. BEAVER: An enterprise benchmark for text-to-SQL. arXiv preprint arXiv:2409.02038, 2024. URL https://arxiv.org/abs/2409.02038.
- [10]Z. Dai, C. Lei, A. Katsifodimos, X. Qin, C. Faloutsos, and H. Rangwala. LakeGen: A LLM-based tabular corpus generator for evaluating dataset discovery in data lakes. arXiv preprint arXiv:2507.04687, 2025. URL https://arxiv.org/abs/2507.04687.
- [11]R. Dechter, I. Meiri, and J. Pearl. Temporal constraint networks. Artificial Intelligence, 49(1–3):61–95, 1991.
- [12]A. Egg, M. I. Goyanes, F. Kingma, A. Mora, L. von Werra, and T. Wolf. DABstep: Data agent benchmark for multi-step reasoning. arXiv preprint arXiv:2506.23719, 2025.arxiv.org/abs/2506.23719
- [13]J. Flynt. OrgForge: A multi-agent simulation framework for verifiable synthetic corporate corpora. arXiv preprint arXiv:2603.14997, 2026. URL https://arxiv.org/abs/2603.14997.
- [15]J. Gray, P. Sundaresan, S. Englert, K. Baclawski, and P. J. Weinberger. Quickly generating billion-record synthetic databases. In Proceedings of the 1994 ACM SIGMOD International Conference on Management of Data, pages 243–252, 1994.
- [16]B. Gruenbaum, D. Porat, A. Natanzon, R. Zavida, C. Dinachi, and O. Itzahary. The Era by Eon benchmark: A generated enterprise estate with exact ground truth for benchmarking LLM agents. arXiv preprint arXiv:2609.09853, 2026. URL https://arxiv.org/abs/2609.09853.
- [17]M. Habibollah and D. Rafiei. SynSQL: Synthesizing relational databases for robust evaluation of text-to-SQL systems. arXiv preprint arXiv:2604.27261, 2026. URL https://arxiv.org/abs/2604.27261.
- [18]A. Halevy. The toaster problem: A north star challenge for data agents. https://alonhalevy.substack.com/p/the-toaster-problem, 2026.
- [19]S. Hao, Y. Gu, H. Ma, J. Hong, Z. Wang, D. Wang, and Z. Hu. Reasoning with language model is planning with world model. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 8154–8173, 2023. doi: 10.18653/v1/2023.emnlp-main.507. URL https://aclanthology.org/2023.emnlp-main.507/.DOI
- [20]K.-H. Huang, A. Prabhakar, O. Thorat, D. Agarwal, P. K. Choubey, Y. Mao, S. Savarese, C. Xiong, and C.-S. Wu. CRMArena-Pro: Holistic assessment of LLM agents across diverse business scenarios and interactions. arXiv preprint arXiv:2505.18878, 2025.arxiv.org/abs/2505.18878
- [21]T. Jin, Y. Zhu, and D. Kang. ELT-Bench: An end-to-end benchmark for evaluating AI agents on ELT pipelines. Proceedings of the VLDB Endowment, 19(2):84–98, 2025.arxiv.org/abs/2504.04808
- [22]T. Jin, Y. Choi, Y. Zhu, and D. Kang. Pervasive annotation errors break text-to-SQL benchmarks and leaderboards. arXiv preprint arXiv:2601.08778, 2026.arxiv.org/abs/2601.08778
- [23]L. Jing, Z. Huang, X. Wang, W. Yao, W. Yu, K. Ma, H. Zhang, X. Du, and D. Yu. DSBench: How far are data science agents from becoming data science experts? In International Conference on Learning Representations, volume 2025, pages 32597–32649, 2025.arxiv.org/abs/2409.07703
- [24]S. Kambhampati, K. Valmeekam, L. Guan, M. Verma, K. Stechly, S. Bhambri, L. P. Saldyt, and A. B Murphy. Position: LLMs can’t plan, but can help planning in LLM-modulo frameworks. In Proceedings of the 41st International Conference on Machine Learning, volume 235, pages 22895–22907, 2024. URL https://proceedings.mlr.press/v235/kambhampati24a.html.
- [25]B. J. Kim, V. Singh, and R. S. Winer. The Pareto rule for frequently purchased packaged goods: An empirical generalization. Marketing Letters, 28(4):491–507, 2017.DOI
- [26]L. Kirchdorfer, R. Blümel, T. Kampik, H. van der Aa, and H. Stuckenschmidt. AgentSimulator: An agent-based approach for data-driven business process simulation. In Proceedings of the 6th International Conference on Process Mining (ICPM), pages 97–104, 2024. doi: 10.1109/ICPM63005.2024.10680660. URL https://arxiv.org/abs/2408.08571.
- [27]E. Lai, G. Vitagliano, Z. Zhang, O. Chabra, S. Sudhir, A. Zeng, A. Zabreyko, C. Li, F. Kossmann, J. Ding, et al. KramaBench: A benchmark for AI systems on data-to-insight pipelines over data lakes. In International Conference on Learning Representations (ICLR), 2026.arxiv.org/abs/2506.06541
- [28]J. Lao, A. Zimmer, O. Ovcharenko, T. Cong, M. Russo, G. Vitagliano, M. Cochez, F. Özcan, G. Gupta, T. Hottelier, et al. SemBench: A benchmark for semantic query processing engines. Proceedings of the VLDB Endowment, 19(8):1754–1767, 2026.arxiv.org/abs/2511.01716
- [29]F. Lei, J. Chen, Y. Ye, R. Cao, D. Shin, H. Su, Z. Suo, H. Gao, W. Hu, P. Yin, et al. Spider 2.0: Evaluating language models on real-world enterprise text-to-SQL workflows. In International Conference on Learning Representations (ICLR), 2025.
- [30]F. Lei, J. Meng, Y. Huang, Y. Zhang, J. Luo, X. Zou, R. Yang, W. Shi, Y. Gao, S. He, et al. DAComp: Benchmarking data agents across the full data intelligence lifecycle. In International Conference on Learning Representations (ICLR), 2026.
- [34]L. Long, R. Wang, R. Xiao, J. Zhao, X. Ding, G. Chen, and H. Wang. On LLMs-driven synthetic data generation, curation, and evaluation: A survey. In Findings of the Association for Computational Linguistics: ACL 2024, pages 11065–11082, 2024.
- [35]K. Luoma and A. Kumar. SNAILS: Schema naming assessments for improved LLM-based SQL inference. Proceedings of the ACM on Management of Data, 3(1):1–26, 2025.
- [38]C. G. Northcutt, A. Athalye, and J. Mueller. Pervasive label errors in test sets destabilize machine learning benchmarks. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, 2021.
- [39]Olist and A. Sionek. Brazilian e-commerce public dataset by Olist. https://www.kaggle.com/datasets/olistbr/brazilian-ecommerce, 2018.
- [40]W. Pang, M. Shafieinejad, L. Liu, S. Hazlewood, and X. He. Clavaddpm: multi-relational data synthesis with cluster-guided diffusion models. In Proceedings of the 38th International Conference on Neural Information Processing Systems, 2024.
- [41]J. S. Park, J. O’Brien, C. J. Cai, M. R. Morris, P. Liang, and M. S. Bernstein. Generative agents: Interactive simulacra of human behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology (UIST), pages 1–22, 2023.
- [42]N. Patki, R. Wedge, and K. VeeramachanenI. The synthetic data vault. In IEEE International Conference on Data Science and Advanced Analytics (DSAA), pages 399–410, 2016. doi: 10.1109/DSAA.2016.49.DOI
- [43]A. Sanghi, R. Sood, D. Singh, J. R. Haritsa, and S. Tirthapura. HYDRA: A dynamic big data regenerator. Proceedings of the VLDB Endowment, 11(12):1974–1977, 2018. doi: 10.14778/3229863.3236238.DOI
- [44]H. Tang, D. Key, and K. Ellis. Worldcoder, a model-based llm agent: Building world models by writing code and interacting with the environment. Advances in Neural Information Processing Systems, 37:70148–70212, 2024.
- [46]L. Weber-Genzel, S. Peng, M.-C. De Marneffe, and B. Plank. VariErr NLI: Separating annotation error from human label variation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), pages 2256–2269, 2024.
- [47]P. Windrum, G. Fagiolo, and A. Moneta. Empirical validation of agent-based models: Alternatives and prospects. Journal of Artificial Societies and Social Simulation, 10(2):8, 2007.
- [50]J. Yang, B. Hui, M. Yang, J. Yang, J. Lin, and C. Zhou. Synthesizing text-to-SQL data from weak and strong LLMs. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 7864–7875, 2024. doi: 10.18653/v1/2024.acl-long.425. URL https://aclanthology.org/2024.acl-long.425/.DOI
- [51]J. Zeng, Z. Dai, J. Li, C. Shin, D. Zhang, Y. Lu, Q. He, D. Wang, and K.-W. Chang. MiniCorp: The last mile to an AI agent corporation. arXiv preprint arXiv:2610.05912, 2026. URL https://arxiv.org/abs/2610.05912.
- [52]H. Zhang, J. Zhang, Z. Shen, B. Srinivasan, X. Qin, C. Faloutsos, H. Rangwala, and G. Karypis. Mixed-type tabular data synthesis with score-based diffusion in latent space. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.09656
- [53]J. Zhang, S. O. Arik, C. Arad, F. Ozcan, and A. Halevy. An agentic approach to metadata reasoning. arXiv preprint arXiv:2604.20144, 2026a.arxiv.org/abs/2604.20144
- [54]T. Zhang, K. Qian, S. Sahai, Y. Tian, S. Garg, H. Sun, and Y. Li. EvoSchema: Towards text-to-SQL robustness against schema evolution. Proceedings of the VLDB Endowment, 18(10):3655–3668, 2025. doi: 10.14778/3748191.3748222. URL https://arxiv.org/abs/2603.10697.
- [55]Y. Zhang, J. Fan, M. Fan, S. Zhang, and X. Du. CODA-BENCH: Can code agents handle data-intensive tasks? arXiv preprint arXiv:2606.15300, 2026b.arxiv.org/abs/2606.15300
- [56]Y. Zhu, L. Wang, G. Yang, X. Lin, B. Li, W. Zhou, X. Liu, Z. Peng, T. Luo, Y. Li, et al. A survey of data agents: Emerging paradigm or overstated hype? arXiv preprint arXiv:2510.23587, 2025.arxiv.org/abs/2510.23587