Aditya Shukla
AI Engineer,
Georgian

ABOUT THE SPEAKER:

Aditya Shukla is an AI Engineer in Georgian’s AI Lab, where he works with portfolio companies to accelerate their AI roadmap. Prior to Georgian, he worked at PayPal as a Machine Learning Engineer on the Merchant Pricing team, building agentic tools for enterprise document mining. Aditya attended the University of Toronto as a Master of Science in Applied Computing grad, and holds a Bachelor of Technology in Computer Science from SRM IST in Chennai. He has worked deeply across problems in agent evals and benchmarking, agentic software testing, as well as test-time scaling.

TALK TITLE:

Spec-Driven PBT: Deriving Semantic Invariants from Code Specifications for Agentic Property-Based Testing

TRACK:

Coding Agents & Dev Workflows

SUB TOPIC:

TBA

ABSTRACT:

Software is increasingly written by AI agents that autonomously produce an implementation from a user’s natural-language description (the specification), a practice known as agentic coding. Code is now produced faster than it can be reviewed, and code written this way has been shown to exhibit its own characteristic failure patterns. Property-based testing (PBT), a long-standing technique in which invariant properties of a program are checked against many generated inputs, has recently been revisited with LLM agents authoring the properties, thereby removing the high-effort derivation of invariants that has long hindered its adoption. Existing agentic PBT methods, however, derive these properties from the implementation alone (Code-driven PBT). Agentic coding presents an opportunity here: a thorough specification, whether a detailed prompt or a full product requirements document (PRD), has become central to the practice, yet its role in testing the resulting code remains underexplored. In this talk, we shed light on the value of the specification as a source of properties for testing agent-written code. Our key insight is that the specification, unlike the implementation, records what the code was meant to do, and invariants derived from it are not biased by how a particular implementation happens to do it. We propose Spec-Driven PBT, an agent that first expresses invariants in natural language from the specification and only then inspects the implementation to translate them into concrete tests. Across 25 application development tasks from the ViBench dataset, we compare Spec-Driven PBT with typical Code-driven PBT, and find that the bugs found solely by Spec-Driven PBT tend to violate documented product workflows, whereas those unique to Code-driven PBT instead concentrate on implementation robustness. We present this as evidence that the two approaches provide complementary value for bug discovery in agent-written code, and should be an active part of agent-driven programming.

WHAT YOU’LL LEARN:

How Georgian’s team turned the specification, a detailed prompt or PRD, into a source of tests for agent-written code. Aditya walks through Spec-Driven PBT, an agent that first expresses invariant properties in natural language from the spec and only then inspects the implementation to translate them into concrete tests — acting as a bug-hunting agent rather than a test-writer. Comparing it against code-driven property-based testing across 25 tasks from the ViBench dataset, he shows the two are complementary: spec-driven PBT surfaces violations of documented product workflows, while code-driven PBT concentrates on implementation robustness — backed by metrics, evaluations, and case studies of the bugs each method found.