# Build-and-Find: An Effort-Aware Protocol for Evaluating Agent-Managed Codebases

*JHEN-KE LIN*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/138900) · [OpenReview](https://openreview.net/forum?id=y48mj8HiWu) · [alphaXiv](https://www.alphaxiv.org/abs/2605.06136) · [Open on the map](../papers.html#p138900)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Verified Code Synthesis and Testing](../pgroup/302.md) · Type: new method · Keywords: agent-managed codebases, artifact recovery, evaluation protocol, code repository auditing, inspection effort

Areas: [Code & Coding Agents](../areas/codegen.md) › Code Verification › Code benchmarks; [AI Agents](../areas/agents.md) › Agent Benchmarking › Repository agents; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Software Engineering Benchmarks; [Evaluation Methodology & Auditing](../areas/eval-methodology.md) › Agent and Reward Auditing › Agent evaluation; [Benchmarks for LLMs & Agents](../areas/bench-llm-agents.md) › Cross-Domain Agent Evaluation › Coding Agent Benchmarks

## Summary
Build-and-Find is a protocol for evaluating whether downstream agents can recover intended design choices from generated codebases, measuring recovery accuracy, repeatability, coverage, and inspection effort.

## Explained to a 5-year-old
Some people make a computer program that builds a whole folder of code. Later, other people need to look at that folder and understand what the original maker wanted. This paper creates a game where one person builds the code and another tries to answer questions about it using only the code. The game measures how easy it is to understand the code. It also counts how many steps are needed to find the answers.

## Explained to a 5-year-old, longer
People write computer code to make programs that do things. Sometimes they write a whole bunch of code that forms a small project, like a game or a tool. After the code is written, other people might need to look at it to see how it works. It can be hard to figure out what the original writer intended just by reading the code. This paper introduces a way to test how well the code helps others understand it. First, a person called the builder creates a code project from a secret plan they cannot see. Then, another person called the finder looks only at the code and tries to answer questions about the plan. The questions are about what the code does and why certain choices were made. The test measures whether the finder can get the right answers. It also counts how many steps the finder needs to look through the code. The test also includes simple checks where the finder only sees the questions or only sees the plan, to see how easy it is without the code. Finally, the results help designers make code that is easier for others to understand and use.

## For a technical reader
The paper presents a structured evaluation protocol for assessing how well generated codebases expose their intended behavior to subsequent agents. It defines a builder that creates a repository from a hidden spec and a finder that answers spec-traced questions using only the repository. The protocol quantifies recovery accuracy, repeatability, coverage, and the effort required to locate answers, providing controls and audit tools for rigorous comparison.

## Problem
When coding agents generate repositories, it is unclear how easily future agents can understand the intended behavior and design choices embedded in the code. Evaluating this artifact-side recovery is currently lacking.

## Method
The approach defines a Build-and-Find protocol where a builder creates a codebase from a hidden specification, and a finder attempts to answer specification-traced multiple-choice questions using only the codebase. It measures recovery accuracy, repeatability, implementation coverage, and inspection effort, with controls for question-only and spec-only baselines.

## Results
Recovery accuracy reaches near-saturation levels, while inspection effort and finder-specific variations become the primary differentiators among artifacts.

## Contributions
The paper introduces a protocol for separating behavioral correctness from artifact-side recovery, along with a suite of tasks, controls, and audit tools to measure recovery accuracy, repeatability, coverage, and effort.

## Practical relevance
The release provides a reusable evaluation framework for assessing and improving the clarity of agent-generated codebases, enabling more reliable reuse and audit in practice.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/138900)
