Ology

From Paper to Proof-Carrying Program

Methods for translating AI research papers into runnable, faithful, auditable code and responsibly maintaining it.

5 sessions · 15 readings · 441 views

Curated by Theo Lindqvist

The Paper Is Not the Specificationsession 1Making Ambiguity Executablesession 2Reproduction Is an Experimental Design Problemsession 3Evidence, Traces, and False Confidencesession 4From Generated Code to Scientific Infrastructuresession 5

Opening

Turning a research paper into runnable code sounds like an unusually tractable use of AI: give an agent the paper, let it write the implementation, run the experiments, and compare the results. Recent systems make parts of this workflow surprisingly plausible. PaperBench, for example, treats research replication as a structured engineering task rather than a vague coding exercise, while newer scientific-computing workflows show agents modernizing legacy research software and testing numerical implementations.

But a paper is not a complete specification. Important decisions may be distributed across prose, equations, figures, appendices, released code, undocumented conventions, and researcher intuition. An agent can produce code that runs while silently resolving ambiguity in the wrong direction. It can also optimize for a visible metric, misread an experimental setup, or express confidence despite lacking a valid scientific oracle.

The central difficulty is therefore not code generation alone. It is building a chain of evidence from claim to specification, from specification to implementation, from implementation to experiment, and from experiment to an auditable conclusion. The readings disagree, implicitly or explicitly, about how much structure should come from agents, how much should come from harnesses and tests, and where expert judgment remains irreducible.

This seminar follows that chain: how papers become executable plans, how ambiguity is managed during implementation, how reproduction becomes evidence rather than theater, how uncertainty is measured, and what responsible stewardship looks like after the first successful run.

Five questions worth arguing about

  1. 1Can an agent extract a paper’s real contribution without turning underspecified prose into unjustified assumptions?
  2. 2Should faithful implementation optimize for the paper’s written method, released code, or experimentally observed behavior?
  3. 3When does a passing reproduction demonstrate scientific validity rather than merely successful software execution?
  4. 4Can traces, rubrics, and evaluation harnesses make research code genuinely auditable?
  5. 5Who owns the maintenance, interpretation, and consequences of agent-generated scientific software?

The Sessions

1Session 1start here

The Paper Is Not the Specification

The problem

A research paper presents a compressed argument, not an executable contract. Its contribution may depend on details that are implicit, scattered across sections, or absent altogether. The first session asks whether agents can recover a usable specification without confusing interpretation with invention.

OpenAI’s PaperBench makes this problem concrete by decomposing replication into thousands of gradable outcomes, with rubrics developed alongside original paper authors. Its result is sobering: even strong agents struggle when they must understand the contribution, construct a codebase, and execute experiments from scratch. The benchmark treats faithful replication as a hierarchy of claims rather than a single pass/fail outcome.

Anthropic’s multi-agent research system approaches specification recovery through decomposition, parallel investigation, source evaluation, and citation-oriented synthesis. Hugging Face’s work on structured CodeAgents offers a different angle: if the agent’s actions are expressed as executable code, it gains flexibility and compositionality, but structure and parsing constraints become part of the reliability problem. Together, these readings raise a foundational question: does better representation solve ambiguity, or merely make assumptions easier to operationalize?

The next session moves from interpreting the paper to deciding what an implementation should actually do when the paper leaves room for judgment.

2Session 2

Making Ambiguity Executable

The problem

Once an agent has extracted a provisional specification, it must turn that specification into code, tools, state transitions, and tests. The engineering choice is not simply whether to use an agent, but how much of the workflow should be encoded in prompts, context, repositories, tool interfaces, and persistent artifacts.

Anthropic’s context-engineering essay argues that long-horizon performance depends on curating the entire context state: instructions, tools, retrieved information, memory, and prior work. Its emphasis on compaction, structured note-taking, and sub-agent architectures suggests that faithful implementation is partly a problem of preserving the right information across time. The paper-to-code task therefore becomes vulnerable not only to misunderstanding, but also to context loss.

Claude Code’s best-practices post is more operational. It recommends repository-level instructions, test-first workflows, incremental commits, constrained permissions, and explicit iteration. Hugging Face’s smolagents takes a more minimal position, treating executable code as a powerful action language and keeping the agent abstraction close to the underlying model. The tension is productive: should research implementation be governed by a rich harness that encodes process, or by a small, transparent system that leaves more responsibility visible to the operator?

That choice matters because the next session treats execution itself as an experiment, where environment, tooling, and intermediate checks can determine whether a reproduction means anything.

3Session 3

Reproduction Is an Experimental Design Problem

The problem

A runnable implementation is not yet a reproduction. The implementation must execute in an appropriate environment, use the intended data and controls, and produce evidence that distinguishes genuine agreement from accidental similarity. This makes reproduction partly a software-engineering problem and partly an experimental-design problem.

Meta’s reproducibility post provides the foundational warning: papers often omit code, datasets, environment details, randomization controls, and other information needed to reconstruct results. Its checklist frames reproducibility as a process of documenting how a result came to be, not merely releasing a repository. The post is older, but its concerns become more urgent when agents make it cheap to generate plausible implementations from incomplete descriptions.

Anthropic’s scientific-computing report shows what validation looks like in practice: exact output agreement, parity with an existing tool, statistical behavior on simulated data, and staged iteration against measurable targets. LangChain’s CSV question-answering case study adds a useful engineering counterexample. Its system improved through real-user data, trace inspection, custom evaluation, and an agent with both retrieval and a Python interpreter—but its authors also document dataset-specific prompting and ambiguous ground truth. Reproduction thus depends on knowing what counts as agreement before the agent starts optimizing for it.

The next session asks how those acceptance criteria become durable evaluation systems rather than one-off demonstrations.

4Session 4

Evidence, Traces, and False Confidence

The problem

Agent-generated code creates an unusual evidentiary problem: the final artifact may look correct even when the path to it was unreliable. A credible evaluation must therefore record not only the output, but also the task definition, tools, intermediate actions, environment state, grader behavior, and failure modes.

Anthropic’s guide to agent evaluations distinguishes tasks, trials, graders, transcripts, outcomes, evaluation harnesses, and agent harnesses. This vocabulary matters because a model can produce a convincing final answer while leaving the environment in the wrong state, or pass a narrow grader by exploiting an unintended shortcut. The post’s discussion of multi-turn coding evaluations makes the core point: evaluating the model alone is often impossible because the harness materially shapes what the system can accomplish.

Hamel and Shreya Shankar’s evals FAQ pushes the argument toward practice. They recommend beginning with manual error analysis, defining targeted failure modes, validating automated judges against human labels, and testing whether evaluators generalize beyond their development data. OpenAI’s third-party evaluation playbook broadens the frame further by treating harness choice, contamination, reward hacking, broken problems, and evaluation awareness as threats to validity. These readings disagree less about the need for evaluation than about how much confidence any score should support.

The final session turns from proving that an implementation works to deciding whether it should be adopted, maintained, and entrusted with future scientific work.

5Session 5finish here

From Generated Code to Scientific Infrastructure

The problem

The successful reproduction is not the end of the workflow. Research teams must decide whether the implementation belongs upstream, how it will be maintained, which claims it continues to support, and who is responsible when its behavior changes. Cheap generation can increase the amount of code in circulation while weakening the ownership structures that make scientific software dependable.

Anthropic’s property-based-testing work shows one promising validation pattern: infer general properties from code and documentation, generate tests, rank candidate bugs, and subject high-impact findings to multiple rounds of human review. It also exposes the limit of automation. When semantics are implicit or domain-specific, only maintainers may know whether a proposed property is actually valid.

OpenAI’s scientific-computing field report makes stewardship explicit. Agents can modernize packaging, migrate languages, optimize implementations, and handle repetitive maintenance, but researchers still define acceptance criteria and judge scientific validity. The report warns that parallel rewrites can fragment communities unless changes are coordinated with original maintainers or assigned a credible new owner. LangChain’s production discussion adds the systems perspective: reliable deployment requires controllable orchestration, persisted context, human intervention, and observability rather than a black-box agent loop.

The seminar ends with an unresolved responsibility question. If agents make paper-to-code translation routine, the scarce resource may no longer be implementation labor—but the expert attention required to specify, verify, maintain, and govern what has been built.

Interested in joining a reading club with top AI experts?

Small groups, great readings, real conversations. Learn faster and grow your network.

A friend that hands you reading lists, not search results.

© Ology 2026