arXiv:2610.02363cs.LGOct 2026

Manuscript Offprint

arXiv:2610.02363

ArrivalBench: Agent-Generated Data Pipelines Are Correct Once and Wrong Under Time

Pranay Kothari

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Benchmarks for agent-generated data work grade a pipeline by running it once against a fixed snapshot. ArrivalBench instead re-executes the pipeline an agent leaves behind under adversarial but replayable delivery schedules (late, duplicated, out-of-order and retried records) and requires its final state to equal a batch recomputation of the complete log. Because the oracle recomputes rather than classifies, a wrong table and a crash are distinct verdicts: a crash is visible to monitoring a team already runs, and a wrong table is not. On 40 tasks we built, our reimplementation of single-execution grading certifies 86–100% of the pipelines eleven models produce; re-executing the same artifacts finds 7.0–79.2% of the certified ones silently wrong. The gap is not produced by the repair loop: within the same model and task, pipelines repaired against the snapshot test fail replay about as often as those that passed it first time. In every model, idempotency hazards fail more often than ordering hazards. Separating a wrong answer from a crash also changes how interventions read: a hazard warning cuts one model's silent failure from 48.2% to 10.5% while raising its crash rate from 9.0% to 37.0%, so all-in failure moves only from 51.0% to 44.0%. All eleven arms were independently re-run, and rates moved by at most 5.9 points.

1 Introduction

A pipeline that computes yesterday’s revenue correctly, once, on a clean batch, establishes very little. Production data arrives late, arrives twice, arrives out of order, and arrives again after a crash. Kafka documents at-least-once delivery in which “messages are never lost but may be redelivered” [Apache Software Foundation, 2025a]; Debezium warns that consumers “may likely see at least some messages duplicated during recovery” [Debezium Community, 2025]; Spark specifies that “data later than the threshold will start getting dropped” [Apache Software Foundation, 2025b].

Handling these conditions is baseline competence, and it is also a requirement specifications omit. A production ticket asks for a daily revenue rollup; it does not ask for tolerance to at-least-once redelivery. The knowledge lives with the engineer, not in the specification, which is exactly why an evaluation must probe it deliberately: the prompts these systems receive rarely state it.

Existing evaluations do not probe it. Of nine benchmarks we audited, seven produce a stateful artifact for which running again is meaningful, and all seven grade it by executing once against a fixed snapshot (Section 2). A single execution admits no notion of again, of late, or of out of order, so a pipeline can pass such a benchmark and corrupt a warehouse on its second day. Running it a second time on the same data is the cheapest test that would catch this, and it is the one the benchmarks skip.

We ask an agent to write an incremental pipeline, then verify what it left behind rather than what it did: the artifact is re-executed, after the agent has stopped, under adversarial but replayable delivery

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Who Verifies the Agents?.

Figure

Figure 1: Overview. The agent sees only the snapshot test while it writes a pipeline. The stored artifact is then graded twice: on a fixed input, as the seven stateful benchmarks we audited do, and under schedules that deliver the same records late, twice, out of order, after a crash or as a backfill. The oracle recomputes the target from the complete log, so a wrong table and a crash are separate verdicts.

schedules of the same logical data. The oracle is deterministic:

final_state(pipeline, schedule) = batch_recompute(complete logical log)

for every schedule. The right-hand side does not depend on the schedule, so any discrepancy is a temporal defect and nothing else. The oracle is a recomputation, not a safe/unsafe classification, so a crash and a silently wrong answer receive different verdicts. That separation carries the saturation result (Section 4.2), the intervention result (Section 4.5) and the diagnosis of a failed mitigation (Section 4.6).

Contributions. ArrivalBench is 40 tasks with 42 negative controls and six documentation-grounded delivery hazards, graded by a replay-invariance oracle whose verdicts reproduce exactly and whose own verification we report (Section 4.1). With it we show that our reimplementation of snapshot evaluation certifies 86–100% of pipelines while temporal evaluation separates the same artifacts across an elevenfold range, a gap the snapshot repair loop does not produce; that the failures share a signature across eight organisations, idempotency hazards failing more often than ordering hazards in all eleven unhinted arms when group means are compared, and reversed in none of the eighteen; and that a prompt can convert silent failure into loud failure rather than remove it, a distinction visible only because FAIL and ERROR are separate verdicts. One result implicates us rather than the models: an architecture prompt of ours specified deduplication against stored history, said nothing about duplicates arriving together, and left unimproved the model that followed it most closely.

References (45)